• Post Reply Bookmark Topic Watch Topic
  • New Topic

Whats wrong?  RSS feed

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just made a simple GUI, a button.
but this isn't working.. anyone can help me?

 
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ItDoesntWorkIsUseless
Please TellTheDetails What is the expected behavior and how does it compare to the observed behavior?
 
Andy Richard
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my first GUI build in Java
I just want a button to be displayed.
what's wring with this code?
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you don't want to take the efforts to tell us the details?
Let me rephrase. Why do you think there is anything wrong with this code?
 
Andy Richard
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's just a simple button i'm trying to make.
at run-time i'm getting an error.
what's wrong here?
 
Andy Richard
Ranch Hand
Posts: 47
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
okay, sorry.
there's an error in line 9.
i wrote Jframe instead of JFrame
-_-
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done on figuring out the error yourself, and sharing the solution!
 
Andy Richard
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks.
:P
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!