Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Visual Swing 4 Eclipse

  1. #1
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Visual Swing 4 Eclipse

    This isn't an actual code tip, but I found a Swing GUI designer for eclipse that's open source, and is actually quite promising. I believe this project is still active because there have been updates to the website recently, but the latest build was in May of 2009.

    Even still, the only issue I've been able to find after preliminary testing is that the refresh of the code isn't done "automatically" (I think you have to save the code before GUI updates are made in the code, and I haven't figured how to get code updates to show up in the GUI, if it is possible). There's also not really any documentation that I can find, but I think for the most part the design is fairly straight forward and easy to use.

    Project webpage: Visual Swing 4 Eclipse

    Note: I don't know why, but I couldn't get the update site to work with Eclipse. However, you can install this plugin by downloading the latest zip from the downloads tab, and then put all the jar files into Eclipse's plugin folder.

    A basic intro guide (what i've been able to figure out):

    To create a class that can be updated by the plugin, go to the "create new" menu, and go down to Visual Swing Class folder. Choose the type of class you want.

    To add other components to this list, go to Window > Show View > Other
    then choose Visual Swing > Palette

    This will show the palette for adding new components. The panel has most (I think all, but I'm not sure) Swing components. There's also a section for adding custom swing components. I have yet to test this feature out, but I have a feeling this feature might work.

    edit: I tested out custom components, and I don't think there's code to actually allow you add your own components to the list, or at least I can't find any.
    Last edited by helloworld922; January 30th, 2010 at 03:45 AM.

  2. The Following User Says Thank You to helloworld922 For This Useful Post:

    bluesman80 (June 23rd, 2011)


  3. #2
    Member
    Join Date
    Dec 2011
    Posts
    50
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default Re: Visual Swing 4 Eclipse

    I found WindowBuilder is better.

Similar Threads

  1. Replies: 24
    Last Post: August 4th, 2014, 12:49 PM
  2. How to add JSF libraries to eclipse?
    By tien1504 in forum Java IDEs
    Replies: 5
    Last Post: October 24th, 2012, 04:32 PM
  3. eclipse help
    By mos33 in forum Java IDEs
    Replies: 3
    Last Post: November 24th, 2009, 02:10 PM
  4. Swing Timers
    By Sterzerkmode in forum AWT / Java Swing
    Replies: 5
    Last Post: November 10th, 2009, 09:10 PM
  5. java swing help
    By JM_4ever in forum AWT / Java Swing
    Replies: 3
    Last Post: October 7th, 2009, 06:42 AM