File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Won't compile down to 1 error

 
Matt Mic
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I picked up Learning Java and have started going through it. I am getting really tripped up with setting a frame to true. I have done all but copy and past from the book. Could you all take a look at it please?


The problem is at "frame.setVisable( true );"

If it helps my java version is 1.6.0_17
 
david j greenfield
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey;

The issue is the spelling of frame.setVisible(), see below...

From your snippet
# frame.setSize( 300,300 );
# frame.setVisable( true );





Hope that helps,

~david
 
Matt Mic
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
david j greenfield wrote:Hey;

The issue is the spelling of frame.setVisible(), see below...


Hope that helps,

~david


Slinks away quietly.

Thanks David!
 
fred rosenberger
lowercase baba
Bartender
Pie
Posts: 12022
25
Chrome Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just a quick tip...if you're asking for help getting something to compile, it's of great help if you post the actual compiler error. You may not think so, but those few lines give you a LOT of info on what's wrong, and can greatly help folks reading your post focus in on the exact problem.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic