Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2762 > unrolled thread
| Started by | "jonathan.markson" <jonathan.markson@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:41 +0000 |
| Last post | 2011-04-27 15:41 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.java.gui
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
| From | "jonathan.markson" <jonathan.markson@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:41 +0000 |
| Subject | drag and drop in a JMenu/ |
| Message-ID | <a4afe12c-984f-4c3e-b7d6-ce37fa467728@e23g2000prf.googlegroups.com> |
To: comp.lang.java.gui I posted this message before, but didn't get any response so I'm reposting hoping for a response. Can someone please point me to some sample code that allows drag and drop in a JMenu/JMenuItem. I know that Java doesn't support dnd in the menu stuff, but I need it anyway. 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. Just to note I'm using JDK 1.5.x if that helps for the code direction. --- * 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 | "RedGrittyBrick" <redgrittybrick@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:41 +0000 |
| Subject | Re: drag and drop in a JM |
| Message-ID | <R9GdnWdws7LTtqPanZ2dnUVZ8qWhnZ2d@bt.com> |
| In reply to | #2762 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.gui
csiph-web