Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #3103 > unrolled thread
| Started by | "Chanchal" <chanchal@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:42 +0000 |
| Last post | 2011-04-27 15:42 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.java.gui
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Restricting dragging "Chanchal" <chanchal@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: Restricting dragging "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
Re: Restricting dragging "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:42 +0000
| From | "Chanchal" <chanchal@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:42 +0000 |
| Subject | Re: Restricting dragging |
| Message-ID | <e617eb4e-3b25-442d-9b0d-d704079baa75@e23g2000prf.googlegroups.com> |
To: comp.lang.java.gui Dear Mr.Thompson, Thank you very much for the help. it has been very useful. Regarding the doubt you expressed about he draggable buttons, the project i'm doing is to develop a graph creation tool. To represent the nodes in the graph i'm using button instances. These are joined with lines to create the graph. The nodes needs to be dragged around in the graph creation area so that the user can change the graph. Hope this gives you an idea of what this gives to the user. Thanks again Chanchal --- * 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
[toc] | [next] | [standalone]
| From | "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:42 +0000 |
| Message-ID | <47a736ac$0$3034$7836cce5@newsrazor.net> |
| In reply to | #3103 |
To: comp.lang.java.gui Chanchal wrote: > Dear Mr.Thompson, > > Thank you very much for the help. it has been very useful. > > Regarding the doubt you expressed about he draggable buttons, the > project i'm doing is to develop a graph creation tool. To represent > the nodes in the graph i'm using button instances. These are joined > with lines to create the graph. The nodes needs to be dragged around > in the graph creation area so that the user can change the graph. > > Hope this gives you an idea of what this gives to the user. > > Thanks again > > Chanchal Is there a reason you're not using labels instead of buttons? Buttons have a concept of triggered, which could interfere with your concept of dragging. You can attach a mouse listener to a label and simulate the dragging yourself (I've done this for graph visualizations myself). If there is a *reason* you need a button instead of a label, you might find yourself recreating the button functionality in a way that is compatible with your dragging. I shouldn't want to be the one that maintains /that/ code. -- Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/> --- * 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
[toc] | [prev] | [next] | [standalone]
| From | "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:42 +0000 |
| Message-ID | <7f31cda9-a36c-46a3-a95c-030484fd7959@i7g2000prf.googlegroups.com> |
| In reply to | #3104 |
To: comp.lang.java.gui On Feb 5, 2:01=A0am, Daniel Pitts <newsgroup.spamfil...@virtualinfinity.net> wrote: > Chanchal wrote: =2E. > > ...the > > project i'm doing is to develop a graph creation tool. To represent > > the nodes in the graph i'm using button instances. These are joined > > with lines to create the graph. The nodes needs to be dragged around > > in the graph creation area so that the user can change the graph. > > > Hope this gives you an idea of what this gives to the user. That is a good description. > Is there a reason you're not using labels instead of buttons? <snip> Yep. That para. about sums up my own thoughts on the matter, given the use. Why not use labels for the draggable nodes? -- Andrew T. PhySci.org --- * 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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.gui
csiph-web