This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

awt

 
Osama Hasan
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://javaalmanac.com/egs/java.awt/frame_FrameNoDecor.html?l=rel
The above URL contains an example which removes the title bar of a frame.It uses a method known as "setUndecorated()" but the compiler fails in finding such a method.
Can any one tell me what is the problem?
Thanks in advance.
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
setUndecorated has been introduced in 1.4. Are you compiling the code with the 1.4 compiler? Is your classpath correct?
Moving this thread to Java in General (Beginner)... Please continue the discussion there.
[ December 01, 2002: Message edited by: Valentin Crettaz ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic