File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes awt Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply 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
 
IntelliJ Java IDE
 
subject: awt
 
Threads others viewed
Scrolling a JTextPane within a JScrollPane
frame icons
How to load a Jar Library dynamically?
GridBagKLayout problem
pie chart
MyEclipse, The Clear Choice