Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2776

Re: drag and drop in a JM

From "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this>
Subject Re: drag and drop in a JM
Message-ID <R9GdnWdws7LTtqPanZ2dnUVZ8qWhnZ2d@bt.com> (permalink)
Newsgroups comp.lang.java.gui
References <a4afe12c-984f-4c3e-b7d6-ce37fa467728@e23g2000prf.googlegroups.com>
Date 2011-04-27 15:41 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
jonathan.markson@gmail.com wrote:
> I posted this message before, but didn't get any response 

What do you think were the reasons for that?


> so I'm reposting hoping for a response.

http://www.catb.org/~esr/faqs/smart-questions.html#id272290


> I know that Java doesn't support dnd in the menu stuff, but I need it
> anyway.

I find that merely *needing* the nonexistent doesn't make it exist. 
Unless my need drives me to *create* it of course.


> Technically speaking it doesn't have to be a popup menu, but would be
> nice, as long as it has the look and feel of a popup menu (i.e.
> fonts, size, etc.).  An example of what I'm talking about, via menus,
> is the start menu under Windows.  Those menus allow you to do dnd,
> but of course it's Windows and they allow anything and everything.

Try a JTree, they support drag-and-drop. They can be made to look 
something like a menu.


> Just to note I'm using JDK 1.5.x if that helps for the code
> direction.

I'd download JDK 1.6 anyway.

---
 * 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 | NextPrevious in thread | Find similar | Unroll thread


Thread

drag and drop in a JMenu/ "jonathan.markson" <jonathan.markson@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000
  Re: drag and drop in a JM "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> - 2011-04-27 15:41 +0000

csiph-web