Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.alt.net!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "Jason Cavett" Subject: Re: Windows Decoration Li Message-ID: <1166467463.565666.95890@79g2000cws.googlegroups.com> X-Comment-To: comp.lang.java.gui Newsgroups: comp.lang.java.gui In-Reply-To: References: Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] Lines: 35 Date: Wed, 27 Apr 2011 15:27:29 GMT NNTP-Posting-Host: 96.60.20.240 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1303918049 96.60.20.240 (Wed, 27 Apr 2011 10:27:29 CDT) NNTP-Posting-Date: Wed, 27 Apr 2011 10:27:29 CDT Organization: TDS.net Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.gui:429 To: comp.lang.java.gui On Dec 18, 12:59 pm, Knute Johnson 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