Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #5241
| From | FredK <fred.l.kleinschmidt@gmail.com> |
|---|---|
| Newsgroups | comp.lang.java.gui |
| Subject | Re: How to grab pointer |
| Date | 2012-08-16 15:10 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <5cd9340a-de00-4a98-9c70-5a19e8969ab4@googlegroups.com> (permalink) |
| References | (9 earlier) <k0hdtd$qfq$1@dont-email.me> <k0hgbv$6mi$1@dont-email.me> <k0hie8$gc2$1@dont-email.me> <3748fdb7-b2ef-4361-a648-020867495202@googlegroups.com> <k0jmdc$v85$1@dont-email.me> |
On Thursday, August 16, 2012 1:54:18 PM UTC-7, Jeff Higgins wrote:
> On 08/16/2012 02:03 PM, FredK wrote: > > Using the glassPane solves most of what I wanted to do. Great. As I read your description I kept wondering if you were talking about Components in your singular application or you were asking about crossing application (JVM) barriers. This led me to wonder about discovering and communication with disparate local JVM instances. It turns out there is an Attach API just for that. Thanks for helping widen my horizons. :)
Actually, that is the part that I was referring to when I said "most of what I want to do". I would like to be able to interrogate other apps, too.
This tool ("GuiViewer") will display a tree of the JComponent hierarchy of a JFrame (or JDialog), and then if you click on a node in the tree, it will temporarily place a flashing panel over the component (set to the component's size and location) that the node represents. It's a great way to check what's wrong when your GUI doesn't come out the way you intended.
Alternately, when I show the glasspane over the app, you can click over any spot in the app and the GuiViewer will select the node that represents the component under the mouse, and will flash a panel over it.
It would be nice to be able to do that from a separate GuiViewer, without the app having to create an instance of my GuiViewer.
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
How to grab pointer FredK <fred.l.kleinschmidt@gmail.com> - 2012-08-15 10:45 -0700
Re: How to grab pointer Knute Johnson <nospam@knutejohnson.com> - 2012-08-15 12:09 -0700
Re: How to grab pointer FredK <fred.l.kleinschmidt@gmail.com> - 2012-08-15 12:45 -0700
Re: How to grab pointer markspace <-@.> - 2012-08-15 13:28 -0700
Re: How to grab pointer FredK <fred.l.kleinschmidt@gmail.com> - 2012-08-15 13:40 -0700
Re: How to grab pointer markspace <-@.> - 2012-08-15 14:30 -0700
Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-15 17:48 -0400
Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-15 18:18 -0400
Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-15 19:48 -0400
Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-15 20:03 -0400
Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-15 20:16 -0400
Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-15 20:58 -0400
Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-15 21:34 -0400
Re: How to grab pointer FredK <fred.l.kleinschmidt@gmail.com> - 2012-08-16 11:03 -0700
Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-16 16:54 -0400
Re: How to grab pointer FredK <fred.l.kleinschmidt@gmail.com> - 2012-08-16 15:10 -0700
Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-16 21:17 -0400
Re: How to grab pointer "John B. Matthews" <nospam@nospam.invalid> - 2012-08-16 20:40 -0400
Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-16 21:11 -0400
Re: How to grab pointer Knute Johnson <nospam@knutejohnson.com> - 2012-08-15 15:05 -0700
Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-22 19:54 -0400
Re: How to grab pointer Jeff Higgins <jeff@invalid.invalid> - 2012-08-22 20:45 -0400
csiph-web