Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #4105
| From | "Larry A Barowski" <larry.a.barowski@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: JInternalFrame - Titl |
| Message-ID | <SP2dndbkLIbkwyjVnZ2dnUVZ_vednZ2d@comcast.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <wNZsk.31521$IK1.21675@news-server.bigpond.net.au> |
| Date | 2011-04-27 15:48 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui
"Ian Semmel" <isemmelNOJUNK@NOJUNKrocketcomp.com.au> wrote in message
news:wNZsk.31521$IK1.21675@news-server.bigpond.net.au...
>
> That didn't seem to work. Thanks. I will try to use some other component.
What L&F are you using?
You need to do something like (code assumed to be in JInternalFrame
subclass):
javax.swing.plaf.InternalFrameUI ui = getUI();
if (ui instanceof BasicInternalFrameUI)
((BasicInternalFrameUI) ui).setNorthPane(null);
Also, if the UI updates, it will reset, so your JInternalFrame
subclass needs:
public void updateUI() {
super.updateUI();
-- call the method that nulls the title pane or duplicate
-- the code here
}
---
* 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 — Previous in thread | Next in thread | Find similar
JInternalFrame - Title Ba "Ian Semmel" <ian.semmel@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
Re: JInternalFrame - Titl "Larry A Barowski" <larry.a.barowski@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
Re: JInternalFrame - Titl "Ian Semmel" <ian.semmel@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
Re: JInternalFrame - Titl "Larry A Barowski" <larry.a.barowski@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
Re: JInternalFrame - Titl "Ian Semmel" <ian.semmel@THRWHITE.remove-dii-this> - 2011-04-27 15:48 +0000
csiph-web