aspose file tools*
The moose likes Beginning Java and the fly likes awt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "awt" Watch "awt" New topic
Author

awt

Osama Hasan
Ranch Hand

Joined: Sep 30, 2002
Posts: 53
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.


SCJP 1.4<br />SCWCD 1.4
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
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 ]

SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: awt