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

Thread: Some help with Java theory?

  1. #1
    Junior Member
    Join Date
    May 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Unhappy Some help with Java theory?

    I know I shouldn't be putting up a homework thread but im new to Java coding and could use a little direction. Google is just a maze of information and I dont know whats relevant and whats not.

    All im asking for is links to some relevant info or a little help.


    Briefly describe each of the container components that are available in Swing?

    What advantages, from a HCI/GUI design point of view, does the Combo Box offer over similar Swing components such as Menus and Lists?


    Why are Dialogs a useful HCI component? List the main Dialogs available In Swing?

    Sorry for the trouble.


  2. #2
    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: Some help with Java theory?

    For questions like this, the API and the Swing tutorial are your best friends.

    Java Platform SE 6
    Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
    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!

  3. #3
    Junior Member
    Join Date
    May 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Some help with Java theory?

    Im still lost??

  4. #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: Some help with Java theory?

    Quote Originally Posted by Mudkipers View Post
    Im still lost??
    Geeze, that was a pretty fast read-through of the Swing tutorial!

    Seriously, everything is in there. Use the API to help fill in the blanks.

    If you have a specific question about something specific in the API or the tutorials, feel free to ask!
    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!

  5. #5
    Junior Member
    Join Date
    May 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Some help with Java theory?

    Its just so much info, it feels like a needle in a haystack trying to find the answers.

  6. #6
    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: Some help with Java theory?

    Well, I'm sure you have class notes or a book that are more specific than the API or the tutorials.

    But think about it- say a question is about dialogs. There's a section of the tutorials on dialogs. Read it. Then you can check out any classes mentioned in the tutorials in the API for even more information, about the specific item you're looking for.
    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!

  7. The Following User Says Thank You to KevinWorkman For This Useful Post:

    Mudkipers (May 11th, 2011)

  8. #7
    Junior Member
    Join Date
    May 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Some help with Java theory?

    Are container components

    Array, Arraylist, Hashtable, HashMap, HatSet, Node, NodeList, TreeNode, TreeMap etc

    or

    JApplet JButton JCheckBox etc

  9. #8
    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: Some help with Java theory?

    Quote Originally Posted by Mudkipers View Post
    Are container components

    Array, Arraylist, Hashtable, HashMap, HatSet, Node, NodeList, TreeNode, TreeMap etc

    or

    JApplet JButton JCheckBox etc
    That could be an interesting question, because it does depend on the wording of your homework- I guess technically it could be asking about collections, but I doubt it. I would bet it's asking about GUI Containers.

    Hint: There is a Container class. And all classes are listed and described (including their subclasses) in the API...
    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!

Similar Threads

  1. API singleton theory
    By dunnkers in forum Java Theory & Questions
    Replies: 10
    Last Post: February 24th, 2011, 12:57 PM
  2. Theory/Question,
    By Time in forum Java Theory & Questions
    Replies: 7
    Last Post: November 9th, 2010, 05:26 PM
  3. Theory Inquiry
    By b_jones10634 in forum JavaServer Pages: JSP & JSTL
    Replies: 2
    Last Post: August 19th, 2010, 08:21 AM
  4. advanced java networking help/theory
    By wolfgar in forum Java Theory & Questions
    Replies: 2
    Last Post: February 7th, 2010, 07:02 PM
  5. theory about serial / parallel port & java
    By wolfgar in forum Java Theory & Questions
    Replies: 5
    Last Post: January 4th, 2010, 10:08 PM