Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
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:)

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

  • Comment removed

  • Thanks! Helped a lot!

    It would be even more awesome if you could fix the sound a little bit ;)

  • thanx mr Java... :)

  • it tells me "Editor does not contain a main type"

    I did it like this:

    import javax.Swing.*;

    public class swing {

    public static void main (String[] args) { JFrame frame = new JFrame ("Test") ; frame.setVisible (true) ; frame.setSize (200,200) ; frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE) ;

    }

    }

    and I put it into a folder called "Swing" and the jar is called swing

    pls HELP

  • @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".

  • 6 people forgot to import the right package

  • Help me i have to resize the window for stuff to show.

    Any ideas!!!!

  • I am going to school for Information Technology and Networking with a focus on web development, and sometimes books just don't get through to the reader (like myself), so videos like this helps to bring information together, and also saves so much time from having to go back over already read information.

    I love your video and you explain things very well, keep of the good work.

  • Please HELP me in making an animation :( @MrJavaHelp

  • Love u! :D

  • 0:15

  • Mr Java Help ... SHABBA!

  • I am getting an error on my linux computers terminal saying main class: JFrame cannot be found.

    help?

  • @andrepowns Make sure you're running it as a Java Application.

  • Great video...Concise and to the point....

    No verbose speeches abt architecture etc make it so perfect.. Thanks...

  • hope I can get this all in 473 characters but i am about to attempt it so here goes: Assuming, correct me if I am wrong, a JPanel could have a ( what ? ) added to draw a [][] ( raw datatype of drawable image ) -- the intent being to get-going on displaying operations on 2-Dimensional Array directly on a drawing surface ~ not sure how to ask the quesiton but I want to see the effects directly of operating on a 1 X 1 Vector Space ( surface [ x ] [ y ] = datasoore [ x ] [ y ] ) to do ai

  • now you can add something else... called a 'button'...

  • @ek7x129 Panel.add( new JButton("Button");// Cool button.

  • man your voice is so hot.

  • hey, thanks so much for all these videos - THEY REALLY HELP!!!

    just one question: how do i make a label hold an int?

    JLabel label1 = new JLabel (int1);  did not work but....

    JLabel label1 = new JLabel (String1); did work.

  • @yardenarane what you see in the JLabel is always a string, many numeric types have a toString() method so you can do JLabel.setText( Integer.toString(25)); and you will get 25 showing in the label -- the text displayed can change, I used that as a "status bar" recently since I did not know how to get an actual status bar working

  • @dreamboy921 subclass JFrame, call new on the class you write in the main method of the class

  • This video shows exactly why I hate Java for GUI development. Visual Studio is so much more convenient and efficient when it comes to designing the user interface.

    btw, I like what you did with the cursor to make it more visible and to show where you're clicking.

  • @kkyt543 you can use netbeans for gui

  • @Biohazard000Labs The last time I tried NetBeans is a few years ago and it wasn't at all compatible with XP-x64. When I got it to work finally I still found it less practical for GUI design than say, MSVS98

  • STOP EATING YOUR MIC :S

  • Hi Mr java Help. Excellent tutorial it did help me to finish my project . however, i have 1 question. what if i wanted to have 3 JPanel s and each have some components on them and i wanted to have each panle with different layout? I would be grateful if you could answer my question.

  • @danny11924 I had to do that, the layout is difficult, there is a utility that will do the layout computataion

  • good stuff!

  • Thanks a lot

  • why can't all swing tutorials be this clear? It makes so much more sense now.

  • Hi

    I have a got a problem with Save button and Open button.

    save and open must work with Database. they must save/open information to Database.

    How can i do that? could plz help me?

  • hey... I`ve got a question... I inculde the panel on the frame and every object in the panel (4 Jbuttons and 2 Jlabels), but when I run the app i just shows the window and the panel doesnt show up... I am using Jcreator... it shouldnt make any difference right?

    I tried with Panel.setvisible(true); but it still doesnt work... any ideas?

  • funny thing... I tried removing the panel... (addind the buttons and the label to the frame directly) and it worked... :D

  • @awesumkid99

    It would allow you to add only one label whichever is your latest. Thus your method would only help if there is one label you are using.

  • After watching and working through several tutorials which I have to say are great apart from the only issue I am having is that at the end of the tutorial you could possibly display the full code in each class as I have 1 error and cannot locate it despite watching through the complete tutorial several times, I know this is just a typo but it is very frustrating.

  • Thanks! :D

  • Thank you for this!

  • where can i download this?

  • bitta bitta bass boost.

  • thanks a lot .... i'm learning java at school it's quite difficult there but i understood this on the first go. keep it up

  • i am doing a GUI project for my uni course...this helped me alot !!!!!!! THANX

  • thanx a lot...u helped me a lot...keep up the good work !!!!

  • GREAT VIDEO!!! helped me understand swing!

  • Awesome video!!!

    Thanks for making it!!! :)

    5 stars!!!

  • One of the greatest books to read if this is too advanced for ppl are the Deitel and Deitel Books. I believe they have set a precedence using the best standards in how to begin learning an Object Oriented Programming Language. I used to program in C++ and still prefer it sometimes, but Java is a powerful high level programming language as well that has become the language of choice for most Software Engineers.

  • yea man thanks alot. i dont know if my AP programming teacher is good or not caus i havent been paying attention the past few days. (i know a pretty good amount of java before i started the class) but this is gonna help alot. thanks so much and keep them coming.

    oh and this will work in JCreator also right?

  • yo you don't even understand how your saving MY LIFE right now. lol

    Thanks for the help. Keep them coming.

  • Well a good pre-requisite to your videos MrJavaHelp is youtube user theNewBoston. He created some really good basic tutorials.

  • Man, this tutorial helped me alot, really.

    keep going dude.

  • thanks for the comment! :)

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