This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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
Author

JDesktopPane - Changes from 1.2.2 to 1.4.0?

Mark Miller
Greenhorn

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...
mm
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
Greenhorn

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
Greenhorn

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
 
GeeCON Prague 2014
 
subject: JDesktopPane - Changes from 1.2.2 to 1.4.0?