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: Learning Graphical user interface in java

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

    Default Learning Graphical user interface in java

    Hi,

    I have learned the basics of java in my first year of uni. I was wanting to learn some graphical user interface now during my vacations although they are almost over now.

    Could someone suggest me an online book ?
    Also, which is better to learn, Swing or the SWT? And whats the difference between the two ? I would be grateful if somebody could answer my questions.

    Thanks


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

    Default Re: Learning Graphical user interface in java

    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.

    The Oracle Tutorials are a great place to start, but ignore the part about using the Netbeans GUIBuilder and learn to code the basics by hand.

    As for whether to learn AWT or Swing, Swing is built on top of AWT, improves upon it, and solves many of the problems with it. Start with Swing. You might also consider starting with JavaFX.

    Update: If you want to give JavaFX a try, work through the JavaFX Getting Started Guide. There's also a .pdf version at that link.

  3. #3
    Junior Member
    Join Date
    Aug 2014
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Learning Graphical user interface in java

    Quote Originally Posted by GregBrannon View Post
    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.

    The Oracle Tutorials are a great place to start, but ignore the part about using the Netbeans GUIBuilder and learn to code the basics by hand.

    As for whether to learn AWT or Swing, Swing is built on top of AWT, improves upon it, and solves many of the problems with it. Start with Swing. You might also consider starting with JavaFX.
    Btw, I'm using eclipse

    Update: If you want to give JavaFX a try, work through the JavaFX Getting Started Guide. There's also a .pdf version at that link.
    Yes, I want to learn to code by hand but in the oracle tutorials their teaching by drag and drop. That is why i posted here, I am not sure where I should start to learn graphical user interface

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

    Default Re: Learning Graphical user interface in java

    I agree that it gets harder and harder to pull the "do it by hand" portions out of Oracle's Swing tutorials, so I understand your frustration. Fortunately, there are literally hundreds of Swing tutorials, downloadable books/pdfs, and online references available. Search for them using your favorite search engine and pick one or several that suit you. I had to do a dozen or so of them before I started getting it. Try to find references that use Java 1.5 or later.

Similar Threads

  1. java graphical interface game
    By msa969 in forum AWT / Java Swing
    Replies: 5
    Last Post: April 21st, 2014, 02:29 PM
  2. please assist me to run this code in a java Graphical User Interface
    By Mikonkidial in forum What's Wrong With My Code?
    Replies: 3
    Last Post: November 15th, 2013, 07:17 AM
  3. Please, help with OOP program with graphical interface
    By tavicz in forum Object Oriented Programming
    Replies: 1
    Last Post: April 29th, 2012, 02:56 PM
  4. User Interface Problems
    By pmg in forum What's Wrong With My Code?
    Replies: 6
    Last Post: April 4th, 2011, 07:32 AM
  5. Problem while implementing a basic user interface menu
    By Rastabot in forum File I/O & Other I/O Streams
    Replies: 3
    Last Post: April 3rd, 2009, 04:38 PM

Tags for this Thread