Blank Frames in Legacy App
I am updating a server from Windows 2000 Server, Java SDK 1.3.1 to Windows Server 2003, Java SDK 1.5.0_06. On the old server we were running a homemade java mailer app that had been running just fine. The app functions correctly on the new server; however, some of the menu options display a blank window, instead of one populated as it should be (Text, Drop-down Menus, etc.). Also, in the main application window, the scrollbar is partially covered by a white area. Does this sound familiar to anyone, or does anyone know what may be causing this to happen?
Best Regards,
Chris Webster
[600 byte] By [
rugby7] at [2007-11-19 18:02:26]

# 1 Re: Blank Frames in Legacy App
There are some compatibility issues for Java 1.3 applications moving to a Java 1.5 platform which are described here: Java Platform Migration Guide version 1.3 to 5.0 (http://java.sun.com/j2se/JM_White_Paper_R6A.pdf).
Swing changes from 1.3 to 1.4 can be found here: Search: Swing changes 1.3 to 1.4 (http://onesearch.sun.com/search/onesearch/index.jsp?qt=swing+changes+1.3+to+1.4&x=0&y=0&charset=utf-8&rf=0&rt=1&nh=10&cs=0&y=0&x=0&col=dev-reference).
Swing changes 1.4 to 1.5 can be found here: Search: Swing changes 1.4 to 1.5 (http://onesearch.sun.com/search/onesearch/index.jsp?qt=swing+changes+1.4+to+1.5&x=0&y=0&charset=utf-8&rf=0&rt=1&nh=10&cs=0&y=0&x=0&col=dev-reference).
There may be other problems due to poor or incorrect usage that is revealed by the platform upgrade.
Some debugging is probably required...
Once a new technology starts rolling, if you're not part of the steamroller, you're part of the road...
Stewart Brand
dlorde at 2007-11-10 2:21:10 >

# 2 Re: Blank Frames in Legacy App
Some debugging is probably required...
Thanks so much for the reply, dlorde, this thing has been killing me.
rugby7 at 2007-11-10 2:22:02 >

# 3 Re: Blank Frames in Legacy App
Here's the basic source code: ...Er, yes... and?
I, for one, am not particularly interested in great blocks of unformatted and uncommented code, and I doubt many others are either. If you use the [ code ] tags to post it, it will display formatted (if it was formatted to begin with). If you expect anyone to look at it in detail, a few comments would be useful.
BTW, I'm not a free debugging service - I have a full time job, and I believe that organisations with programming problems should pay programmers to solve them.
Debugging is anticipated with distaste, performed with reluctance, and bragged about forever...
Anon.
dlorde at 2007-11-10 2:23:04 >

# 4 Re: Blank Frames in Legacy App
Dang... Didn't mean to be insulting...
rugby7 at 2007-11-10 2:24:10 >

# 5 Re: Blank Frames in Legacy App
Dang... Didn't mean to be insulting...No offence taken, and none intended.
The more experienced Java programmers here are generally happy to help people with their problems, but we all do it for free, in our spare time, and we generally don't like the idea of people trying to get a free ride - as in getting us to do their homework or assignments, or taking commercial advantage.
I apologise if this was not the case with your problem, but there's not many people running their own servers with home-grown software who can't sort out their own programs, or get close to the solution.
The other issue is that if people expect help, it is really only reasonable that they make some effort to present the problem clearly - posting full error messages, explaining the problem in detail, formatting and commenting code, etc. Why should we bother if they don't?
I have to say that I only speak for myself, but in the past the consensus has been along those lines. See the Submission Guidelines (http://www.dev-archive.com/forum/showthread.php?t=217745).
Oh yeah, and sometimes I'm more irritable than other times, so sometimes my online responses can be less tactful than at other times. Mind you, have you seen some of the bite-yer-ankles stuff on the Sun Java forums?
I have learned throughout my life as a composer chiefly through my mistakes and pursuits of false assumptions, not my exposure to founts of wisdom and knowledge...
I. Stravinsky
dlorde at 2007-11-10 2:25:13 >

