Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / June 2006

Tip: Looking for answers? Try searching our database.

Java version problems

Thread view: 
Navodit - 19 Jun 2006 19:29 GMT
So here is the scenario:

I am working on a collaborative application which as a whole requires JDK
1.3. However one part of this application viz. a whiteboard application only
runs with JDK 1.2 ! If I run the whiteboard application in a JDK 1.3
environment then the icons for editing tools (cut, paste), figure tools
(draw line, circle, etc ) are not displayed. Instead of the image icons only
buttons are shown. The application runs well otherwise except for the
display of image icons. I looked at the Java Console but it did not show any
errors or exceptions when the whiteboard application was loaded. This seems
to indicate that the images (*.gifs etc) are being located but not being
displayed ...

Are there any special classes which are applicable only to the 1.2 version
and not to future versions ? The weblink below indicates that JDK 1.2
utilizes the capabilities of JFC . Are these available in JDK 1.3 as well ?
If anyone has a clue as to how this can be resolved it would be great !
Thanks.

The whiteboard application which I am using is based on the following :

http://www.caip.rutgers.edu/disciple/whiteboard/

I have not coded this collaborative application from scratch but have been
told that in the past this application supposedly worked ! Only I need to
get it running :)
Oliver Wong - 19 Jun 2006 22:02 GMT
> So here is the scenario:
>
[quoted text clipped - 23 lines]
> told that in the past this application supposedly worked ! Only I need to
> get it running :)

   Try to compile the code with the strictest compiler settings you can
use. Do you get any warnings about deprecated code? If so, you'll have to
rewrite those portions of the code.

   - Oliver
IchBin - 19 Jun 2006 23:39 GMT
> So here is the scenario:
>
[quoted text clipped - 22 lines]
> told that in the past this application supposedly worked ! Only I need to
> get it running :)

I use JAD that runs in a program called FrontEnd Plus 2.03. You can down
load here:

http://shareware.pcmag.com/product.download.php?id=61887&url=fep203.zip&itn=1&Si
teID=pcmag


Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)
Ike - 20 Jun 2006 00:50 GMT
Sounds like a double-buffering issue to me. Turn off double buffering on
those buttons (assuming they are JButtons) and see if that cures it. -Ike
Chris Uppal - 20 Jun 2006 12:04 GMT
> I am working on a collaborative application which as a whole requires JDK
> 1.3. However one part of this application viz. a whiteboard application
[quoted text clipped - 3 lines]
> only buttons are shown. The application runs well otherwise except for the
> display of image icons.

Probably a bug in "your" code which isn't exposed on a 1.2 platform, but is
under 1.3.  Treat it as a bug and find and fix it in the usual manner.

   -- chris
Dale King - 28 Jun 2006 02:55 GMT
> So here is the scenario:
>
[quoted text clipped - 14 lines]
> If anyone has a clue as to how this can be resolved it would be great !
> Thanks.

One possibility is the fact that the changed the behavior of
StringTokenizer between 1.2 and 1.3.

See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4377004
Signature

 Dale King



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.