• Post Reply Bookmark Topic Watch Topic
  • New Topic

why its not running or how to run it  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Bartender
Posts: 3185
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Yogesh, Welcome to JavaRanch.
What is the issue you are facing? Please check our Beginners FAQ on how to create and run java programs.
 
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nothing happens by magic - what happens when you do this
new My_form();

look at the code, where does it go from there?

degugging 101

start again, start here

now add enough code to give the frame a size and show it

when you do that part OK, add the components (a few at a time)
when the components are showing OK, add your listeners.
 
Marshal
Posts: 57276
175
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I think the biggest mistake you made is writing lots of code. you should write a few lines, compile and run it. Then write a few lines more.
You have a problem about the setVisible call; you are never using it. If you don’t call setVisible, you will never see your GUI.
 
yogesh raipure
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot... i got it.. really its coolest forum.. i really need to learn a lot from this forum...
 
It means our mission is in jeapordy! Quick, read this tiny ad!
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!