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

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,054
    My Mood
    Mellow
    Thanks
    184
    Thanked 650 Times in 637 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
    567
    Thanks
    0
    Thanked 103 Times in 88 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,342
    My Mood
    Hungover
    Thanks
    143
    Thanked 625 Times in 536 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)

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, 10: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, 06: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, 10: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, 08:50 PM

Tags for this Thread