Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1934
| From | theosib@gmail.com.remove-dii-this |
|---|---|
| Subject | HELP: How to change stac |
| Message-ID | <1183412962.982236.119650@q69g2000hsb.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| Date | 2011-04-27 15:36 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui I have some custom widgets (children of JPanel) that need to be dynamically restacked. The only way I have found to do that is to remove a component from its container and then re-add it at index 0. The problem is if some subcomponent of the restacked widget has focus, that focus is taken away. Is there a way to change stacking order without remove/add? If not, how can I ensure that focus is given back to the widget that had it before? Thanks. --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Next in thread | Find similar | Unroll thread
HELP: How to change stac theosib@gmail.com.remove-dii-this - 2011-04-27 15:36 +0000 Re: How to change stackin "Jason Teagle" <jason.teagle@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
csiph-web