• Post Reply Bookmark Topic Watch Topic
  • New Topic

Swing in eclipse

 
Sree Kumari
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using swing with eclipse3.0.from where Shall I get a plugin to make drag-and drop possible.
 
Ken Blair
Ranch Hand
Posts: 1078
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't understand the question. Swing is part of J2SE, it's got nothing to do with Eclipse. Eclipse uses SWT, which I'm not very familiar with but I understand is based off of Swing with some native components. An Eclipse plug-in doesn't necessarily have anything to do with either of those...so what is it you're trying to do?

I'm going to guess you're wanting some DND functionality using SWT, in which case, I have no idea.
 
Cp Baherwani
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean to ask about Eclipse plugin to drag and drop Swing components for designing your GUI?

You may find open.Workbench useful.
http://www.eclipse-plugins.info/eclipse/plugin_details.jsp?id=853
http://open-source.org/openworkbench/
 
Ken Blair
Ranch Hand
Posts: 1078
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hadn't heard about that. I dislike any GUI code generation as a general rule, but I'll have to check that out. Hadn't occurred me that might be want the OP wanted because it hadn't occurred to me that even existed.
 
Cp Baherwani
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used Borland's JBuilder to design complex GUIs and like it very much. You can just drop the components on the screen and modify its layout and other properties by double-clicking on them. It gives you an idea how your screen will look at runtime and saves a lot of time. You can change the layout and positioning by clicking on the components and changing its properties.

Once I have the basic layout of components placed, I always modify the auto-generated code so that I am not too dependent on JBuilder and that I can code my GUI in text editor if such a tool is not available.

I haven't used open.Workbench a lot although I have used Symantec's VisualCafe long ago.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!