Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By Jakeob

Thread: JFrame Input

  1. #1
    Jakeob is offline Java Apprentice
    Join Date
    Oct 2012
    Location
    On my computer
    Posts
    10
    Rep Power
    0

    Question JFrame Input

    I've been playing around with JFrame lately and have a few questions. What are a few ways I could get input from the user? Things like putting text into a box or pressing buttons would be great.

    Also, how could I display a JPG image on the frame?

    In case it wasn't obvious, I'm new to JFrame. Thanks for any help!

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default Re: JFrame Input

    Quote Originally Posted by Jakeob View Post
    I've been playing around with JFrame lately and have a few questions. What are a few ways I could get input from the user? Things like putting text into a box or pressing buttons would be great.
    Also, how could I display a JPG image on the frame?
    Go for it. The Swing tutorials can show you how.
    I recommend that you check out:

  3. #3
    Jakeob is offline Java Apprentice
    Join Date
    Oct 2012
    Location
    On my computer
    Posts
    10
    Rep Power
    0

    Default Re: JFrame Input

    Thanks! It's perfect! I'll come back to this topic if I have any questions. :)
    Fubarable likes this.

Similar Threads

  1. jFrame to jPanel using user input and if statements
    By mstratmann in forum AWT / Swing
    Replies: 2
    Last Post: 10-05-2012, 11:16 AM
  2. Replies: 0
    Last Post: 10-14-2011, 01:33 AM
  3. how to get user input in JFrame
    By ashraf in forum JCreator
    Replies: 2
    Last Post: 09-27-2011, 05:22 PM
  4. how do i use jframe button to send input selection
    By earnest in forum New To Java
    Replies: 5
    Last Post: 04-04-2011, 09:46 PM
  5. Replies: 3
    Last Post: 08-07-2010, 06:28 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
  •