Results 1 to 6 of 6
  1. #1
    Java_n00b is offline Member
    Join Date
    Jan 2011
    Posts
    6
    Rep Power
    0

    Question GUI resourse book?

    Hi, does anyone know a good book on Swing or AWT which I can read? I'm getting really confused at some parts. If anyone knows a good book or a few it would be very helpful.
    Thanks

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,041
    Rep Power
    10

    Default

    The Swing tutorials are pretty helpful: Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)

    But where are you getting stuck?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Java_n00b is offline Member
    Join Date
    Jan 2011
    Posts
    6
    Rep Power
    0

    Default

    Almost everything. Like I wanted to add a few button to the interface. First i thought i would use a Jbutton. After that i thought i would try to use a Jlabel and used actionlistener to wait for a mouse click. Third i made it with just an image and used mouse listener and kind off implemented a button. I really have no idea which is a better way to implement it, except the third one which seems hard to maintain.
    I keep going back and forth in terms of what I'm going to use to design the interface.
    Thats why i thought i might as well stop working on it for 2-3 weeks and read a book on it.

  4. #4
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,041
    Rep Power
    10

    Default

    For that, you'd almost definitely want a JButton. I recommend going through the Swing tutorials, they contain pretty much everything you need to get a GUI up and running.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  5. #5
    Java_n00b is offline Member
    Join Date
    Jan 2011
    Posts
    6
    Rep Power
    0

    Default

    Awesome tutorials, at first look I thought it might be something like "this is how to add a JButton" but it also explains other aspects of it like functionality and how it works. Its exactly what I was looking for. Thanks

  6. #6
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,041
    Rep Power
    10

Similar Threads

  1. Book on EJB and JSP
    By snowpoke in forum Enterprise JavaBeans (EJB)
    Replies: 5
    Last Post: 03-30-2011, 06:56 PM
  2. read japanese word from resourse bundle
    By javastuden in forum New To Java
    Replies: 1
    Last Post: 11-11-2010, 02:35 PM
  3. Is this book enough?
    By dushmantha.e in forum Java Certification
    Replies: 3
    Last Post: 04-06-2010, 04:13 AM
  4. best book for jsf
    By raj17 in forum JavaServer Faces (JSF)
    Replies: 8
    Last Post: 08-04-2009, 09:08 AM
  5. need a book
    By hno2005 in forum NetBeans
    Replies: 2
    Last Post: 03-20-2009, 11:57 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •