Java question:  Why doesn't my JButton appear?
816071
The default content pane of JFrame will have a BorderLayout manager set on it.\nWhen using this layout manager you must specify the region (north, south, center, east, west) where to fit the component.\nSo your code should look like this:\n\n        contentPane.add(stuff, BorderLayout.CENTER);\n        contentPane.add(b1, BorderLayout.SOUTH);\n\nIt's ugly but at least you'll see your two components.\nTo make it more elegant you'll have to either use another layout manager and/or possibly use some additionnal panels to hold your components.\n\nYou should learn how to use layout managers here:\nhttp://java.sun.com/docs/books/tutorial/uiswing/layout/using.html\n\nAs a side note the kind of window (error message) you are trying to create already exists in Swing.\nHave a look at the JOptionPane.showMessageDialog( ) methods:\nhttp://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JOptionPane.html\n\nRegards
855206
Hai pankaj,\nI think the problem must be in the compilation unit(i.e, the source code).\nPlease check that your main function is syntactically correct.\nor\nCheck it with the code below.\n\nclass Hello{\npublic static void main(String []arg){\nSystem.out.println("hello");\n}\n}\n\ngood luck.
1163863
Your java is to old, you must download the newest version. \n\n\n\nYou can get it here
650833
Have you downloaded the latest Java version? If not get it here:\nhttp://www.java.com/en/download/manual.jsp
186194
are you able to read what the message is?\n\nclick on yes, probably your computer is asking whether or not if you want to run the application on your computer. \n\nif not then try re-installing java and then try again. \n\nhope that helps.
3406
Probably your java software is not updated go to this site http://java.sun.com
1020345
That's probably due to the abscence of java in your computer\n\ngo to:\nhttp://www.java.com/en/download/index.jsp\n\nand download java software
58190
There is a logical way to go about debugging a program.  See the link.\n\nSince I don't know Java, this is the best I can do.
500928
go to http://www.java.com/en/download/manual.jsp \n\nSelect the 1st or 2nd option, either one, and follow the on-line instructions.
581837
go to view>>toolbars>>>and see if standard buttons is checked...if not check it
259787
Do you have Java installed?
216650
Just go to the link below and download the latest Java SDK.\nHopefully, that would help you.
25467
There are instructions at this url:\n\nhttp://my.yahoo.com/s/button.html
1087915
You are missing a script to see them. Try downloading this\nhttp://www.java.com/en/download/index.jsp\n\nThis will fix your problem...Good luck
124327
You should try downloading Java...
67281
I'm not exactly sure what you mean?\n\nAre you trying to run a Java application and the main method can not be found?\n\nIs there a specific error message you are seeing that you can add to the details of this question?
559422
well, if it cannot be displayed, then it is not there??\njoking, try emptying your cache files