Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Create JFrame + JPanel + button: SWING/GUI in Java TUTORIAL/HELP NO visual editor

Loading...

Sign in or sign up now!
98,011
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 22, 2009

Watch in HD for clearer quality!

This video helps to explain Swing in Java. In this video, I explain how to create the frame and create labels and buttons in a panel inside the frame. Learn how to create the frame, panel and objects without a visual editor such as NetBeans!

Remember: Create the frame then create the panel. Place the panel in the frame. Then, every object (label, button, etc) goes inside the panel.

I used Eclipse to make this video. Download Eclipse here:

http://www.eclipse.org/downloads/down...

You can use any other software to program in Java such as Dr. Java or Netbeans.

In the next video, I will explain action listeners and I will show you how to arrange the objects onto the frame properly like you want.

Soon, I will get into making shapes and doing 2-D graphics in Java. Hopefully, even get into some 3-D graphics, if i can. Stay tuned



SWING/GUI in Java Help, TUTORIAL WITHOUT VE- Creating JFrame + JPanel + objects

  • likes, 9 dislikes

Link to this comment:

Share to:

Uploader Comments (MrJavaHelp)

  • Man, this tutorial helped me alot, really.

    keep going dude.

  • thanks for the comment! :)

Top Comments

  • GREAT VIDEO!!! helped me understand swing!

see all

All Comments (65)

Sign In or Sign Up now to post a comment!
  • WOW' you is my Master! My teacher! (me speak english = 7%)

  • haha, we cant afford collage so we go here

  • it says "frame" cannot be resolved :(

  • Mr. java help.... i saw ur video..... iam a new one to java and am using IDE.... am working on creating text editor.... am confused of what to use swing,awt..... help me out........ and help me on creating jframe,workspace menus etc.......

  • "Stay tuned, because I got some BIG stu-"

  • You know I think Microsoft has made programming to easy. The idea of visual basic and having windows essentially created for you is absurd. At least Java forces people to think things through and construct things step by step which is a far greater accomplishment.

  • I just wanted to thank you for taking the time to make this video:) I just started having and interest in java coding and surfed many videos and websites and stopped on your video to find it very helpful, you were very clear and easy to understand. My "Indigo Service Release 1" did NOT pick up on set.default close command. but after typing it out and " ; " it accepted it. I look forward to watching the rest of your videos and learning what i can. Thank you so much for your time:)

  • @DoctorRedstone Hmm.. what type of IDE are you using? Try right-clicking the file in the tree-like window to the left of your screen and clicking on something along the lines of "run".

  • I did everything you did, and it says I do not have a main type... help?

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more