Results 1 to 10 of 10

Thread: Swing?

  1. #1
    Join Date
    Nov 2011
    Posts
    47
    Rep Power
    0

    Default Swing?

    When using Swing, what is the class used to produce a window on the system the program is running on?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,585
    Rep Power
    23

    Default Re: Swing?

    Look at JFrame.

  3. #3
    Join Date
    Nov 2011
    Posts
    47
    Rep Power
    0

    Default Re: Swing?

    Oh ok, the book kept saying it was the wrapper class but I thought wrapper was something you put around an already existing class to call it something else. Is that correct?

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,585
    Rep Power
    23

    Default Re: Swing?

    Not sure what you mean by the word wrapper.

    What do you want to do?
    Have you tried writing a short program that uses the JFrame class?

  5. #5
    Join Date
    Nov 2011
    Posts
    47
    Rep Power
    0

    Default Re: Swing?

    no it's just a question in the chapter review but I don't really understand what Swing is.

  6. #6
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,585
    Rep Power
    23

    Default Re: Swing?

    Swing was the name of a "new" group of classes that do GUI.

  7. #7
    Join Date
    Nov 2011
    Posts
    47
    Rep Power
    0

    Default Re: Swing?

    Oh and they use JFrame class?

  8. #8
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,585
    Rep Power
    23

    Default Re: Swing?

    All the classes in the javax.swing package are Swing

  9. #9
    Join Date
    Nov 2011
    Posts
    47
    Rep Power
    0

    Default Re: Swing?

    So Swing is the answer to the question?

  10. #10
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,585
    Rep Power
    23

Similar Threads

  1. help with Swing (GUI)
    By Bagzli in forum New To Java
    Replies: 8
    Last Post: 04-04-2011, 12:18 AM
  2. swing.jar
    By krrishnak in forum AWT / Swing
    Replies: 2
    Last Post: 04-05-2009, 05:29 AM
  3. Swing Ide?
    By makpandian in forum AWT / Swing
    Replies: 2
    Last Post: 12-28-2008, 05:07 PM
  4. where is the swing jar?
    By katie in forum AWT / Swing
    Replies: 1
    Last Post: 08-06-2007, 10:58 PM
  5. map javax.swing.text.Element to javax.swing.text.View
    By elizabeth in forum New To Java
    Replies: 1
    Last Post: 07-30-2007, 07:02 PM

Posting Permissions

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