File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes JDesktopPane - Changes from 1.2.2 to 1.4.0? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JDesktopPane - Changes from 1.2.2 to 1.4.0?" Watch "JDesktopPane - Changes from 1.2.2 to 1.4.0?" New topic

JDesktopPane - Changes from 1.2.2 to 1.4.0?

Mark Miller

Joined: Oct 14, 2001
Posts: 5
I have a Swing based app I developed with VAJava 4.0 (uses 1.2.2 internally). The app is only happy on 1.2.2 JVM. On 1.3 and 1.4 the JFrame appears with menu and tool bar but the child JInternalFrames don't show. I have been very careful and am sure that the app is not referencing any IBM or VisualAge specific classes. I am not finding any deprecation that seems applicable to my problem. Any insights or suggestions are much appreciated. Thank-you...
Rene Liebmann
Ranch Hand

Joined: May 02, 2002
Posts: 196
Are there any exceptions? can you post a very small example (only a JFrame with a JDesktopPane and a JInternalFrame)? This would help us much, to be able to help you.
Mark Miller

Joined: Oct 14, 2001
Posts: 5
After much digging around, I can answer my own question: As of the Kestrel release, you have to explicitly call show() on the JInternalFrame. As this was not a requirement as of 1.2.2 I get the runtime behavior differences. There are no exceptions or compile time deprecation warnings to help with this. All is well...
Mula Liu

Joined: Jun 04, 2002
Posts: 2
use other compiler to recompile,maybe the 1.2 release have different specification with JInternalFrame

Java Tips Collector,Java Tips Distributor
I agree. Here's the link:
subject: JDesktopPane - Changes from 1.2.2 to 1.4.0?
Similar Threads
JRE/Applet/VM question
Problems with JRE/Applet/VM and Swing
Sun JDK/JVM with WebSphere
Applets & JRE/VM probs
How to convert a string to a float or double?