Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1389
| From | "epicwinter" <epicwinter@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Title bar on jinternalfra |
| Message-ID | <1175709359.274404.293270@l77g2000hsb.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| Date | 2011-04-27 15:33 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui
I have a swing app where I catch mouse clicks on the frame icon of
jinternalframes. I do so using this code:
((BasicInternalFrameUI) jinternalFrame.getUI()).getNorthPane()
.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent evt) {
System.out.println("Clicked");
}
});
However this statement returns null when I run this application on a
Mac:
((BasicInternalFrameUI) jinternalFrame.getUI()).getNorthPane()
Is there another way to access the title bar for a mac or does someone
know a workaround?
---
* 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
Title bar on jinternalfra "epicwinter" <epicwinter@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000 Re: Title bar on jinterna "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> - 2011-04-27 15:33 +0000
csiph-web