Computing.Net > Forums > Web Development > Java buttons change on second load

Java buttons change on second load

Reply to Message Icon

Original Message
Name: stroke6463
Date: November 8, 2005 at 15:54:40 Pacific
Subject: Java buttons change on second load
OS: XP Pro
CPU/Ram: idk
Comment:

I just converted some old vb6 programs to java with a program from diamondedge.com. The programs work great but I have one odd problem.

The buttons are supposed to be black but on the first web page load they look like standard gray buttons. If I refresh the page, they are black like they are supposed to be. I do not know much about Java but this does seems a little unusual.

What do I have to do to fix this problem? If I need to get a Java program could someone point me in the right direction cause I have never programmed in it before. Thanks a lot.


Report Offensive Message For Removal


Response Number 1
Name: SN
Date: November 10, 2005 at 07:25:14 Pacific
Subject: Java buttons change on second load
Reply: (edit)

It's not clear what you want here...Are you talking about java, or javascript? How did an old vb6 app have anything to do with how a web page displayed in the first place? Can you tell us a little more about what kind of app this is and what role each technology is playing?

-SN


Report Offensive Follow Up For Removal

Response Number 2
Name: stroke6463
Date: November 10, 2005 at 15:48:09 Pacific
Subject: Java buttons change on second load
Reply: (edit)

It's Java. The program I used converts the VB program to a web page with a java window where my program shows up.

http://www.diamondedge.com there is the web page for the converter if you need to see what I mean.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Java buttons change on second load

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software