Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #429
| From | "Jason Cavett" <jason.cavett@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Windows Decoration Li |
| Message-ID | <1166467463.565666.95890@79g2000cws.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <VFAhh.204014$4Z1.126550@newsfe09.phx> |
| Date | 2011-04-27 15:27 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui On Dec 18, 12:59 pm, Knute Johnson <nos...@rabbitbrush.frazmtn.com> wrote: > Jason Cavett wrote: > > What I am looking to do is be able to click via a mouse (middle click, > > but that's not really that important) on the title bar of an > > application (which is essentially part of the window decorations) and > > have the application react a certain way. When using any of the mouse > > listeners, nothing happens when I click the title bar, so I'm at a loss > > for where to go next. > > > Any help would be appreciated. Thanks.Somebody else posted a similar question the other day and I think the > general consensus is that you can't do what you want. The title bar > does not handle mouse events. > > -- > > Knute Johnson > email s/nospam/knute/ Actually, it can be done. What I forgot to mention is that the window I am referring to is a JInternalPane. Because of that, all I need to do to access the title bar is access the North Pane. I found the information in this post: http://groups-beta.google.com/group/comp.lang.java.gui/browse_frm/thread/f2a64fa719e61171/5b56aa6b744ca606?lnk=gst&q=title+bar+event&rnum=6#5b56aa6b744ca606 However, for anybody else who is looking, Knute is right in that there doesn't seem to be any way to see actions on the title bar on a JFrame. --- * 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
Windows Decoration Listen "Jason Cavett" <jason.cavett@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
Re: Windows Decoration Li "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
Re: Windows Decoration Li "Jason Cavett" <jason.cavett@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
Re: Windows Decoration Li "Jason Cavett" <jason.cavett@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
Re: Windows Decoration Li "Michael Dunn" <michael.dunn@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
Re: Windows Decoration Li "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
Re: Windows Decoration Li "Thomas Hawtin" <thomas.hawtin@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
Re: Windows Decoration Li "Michael Dunn" <michael.dunn@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
csiph-web