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 5 of 5

Thread: Is Java Swing a good choice for these three things?

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    1
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Is Java Swing a good choice for these three things?

    I've developed a Java program that analyzes data I'm working with. I'd really like to make a slick looking GUI that allows other users to work with the software I made, but I'm new to GUI design. Ideally my GUI would include the following features:

    1) A simple animation at launch
    2) A custom 'theme' rather than the grey background and bland (but effective) default features... so I'd need painting and things like that. I have used Swing's painting tools to some extent so I know this one is possible, but is the overhead very high?
    3) Ideally, the GUI would have smaller widgets that analyze certain parts of certain data, and I'd like for users to be able to place these widgets where they feel is best.

    I'm pretty sure Swing can handle these three things; my question is mainly 'how feasible is it?' Thanks for any help!

    (PS - if you know of any non-basic custom-themed Java apps that really illustrate what can be done, I'd love to see examples!)


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Is Java Swing a good choice for these three things?

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

  3. #3
    Senior Member
    Join Date
    Jul 2013
    Location
    Europe
    Posts
    666
    Thanks
    0
    Thanked 121 Times in 105 Posts

    Default Re: Is Java Swing a good choice for these three things?

    Swings custom component system works very well if you know what you are doing.
    It feels a little bit outdated, and there are many deprecated methods. You really need to learn a lot of things first before jumping into the action because its easy to make mistakes.
    But once you know what to do and how to do it it goes relatively smooth and fast.

  4. The Following User Says Thank You to Cornix For This Useful Post:

    growling_egg (August 12th, 2014)

  5. #4
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Is Java Swing a good choice for these three things?

    All of these things are possible, and note that you don't have to do any manual painting or anything- Swing components have background colors, foreground colors, font sizes, etc that you can set to anything you want. Even if you do need to do custom painting, the overhead is relatively low.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  6. The Following 2 Users Say Thank You to KevinWorkman For This Useful Post:

    GregBrannon (August 12th, 2014), growling_egg (August 12th, 2014)

  7. #5

    Default Re: Is Java Swing a good choice for these three things?

    java swing is used to create windows based application. It also provides lightweight components. Hence it is useful for above three things.

Similar Threads

  1. How to make a good looking game grid in swing?
    By Matthieu105 in forum AWT / Java Swing
    Replies: 1
    Last Post: March 7th, 2013, 11:22 AM
  2. How to make a good looking game grid in swing?
    By Matthieu105 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 7th, 2013, 07:46 AM
  3. Good Swing Tutorial
    By NastyPasty in forum AWT / Java Swing
    Replies: 2
    Last Post: June 12th, 2012, 02:25 PM
  4. Java, A good choice?
    By BillnTexas in forum Java Theory & Questions
    Replies: 7
    Last Post: November 16th, 2010, 11:05 AM
  5. Java is resetting my variables to zero, and other mysterious things
    By schcrosby in forum What's Wrong With My Code?
    Replies: 3
    Last Post: January 12th, 2010, 09:50 PM

Tags for this Thread