Current Position:Home > Easy Question

Easy Question

Update:11-30Source: network consolidation
Advertisement
I am new to Java and am using the Sun ONE Studio IDE. Using the IDE, I created a JApplet using a GUI interface similar to Visual Basic. I noticed that my program directory contains a variety of class files like Convert.class, Convert$1.class, and Convert$2.class. There is also a Convert.form file.
My program compiles fine and I can run it in debug mode using the Sun One Studio. The IDE runs the applet like the appletviewer w\o a html page. When I then try to run the applet from a html page, all I get is a gray area on the page where the applet is supposed to be. I am wondering if I some how need to reference all the additional class files or the form file in the html page to get it to run???
Obviously I must need all these addition class files and the form file to run the page. Is there any way to package these into one file???
<HTML>
<HEAD>
<TITLE>EOS Coordinate Conversion Page</TITLE>
</HEAD>
<BODY>
<P>
<APPLET code="Convert.class" width=365 height=400></APPLET>
</P>
</BODY>
</HTML>

The Best Answer

Advertisement
Thanks for the help but the Java plugin version 1.4.1 and the HTMLConverter are not fixing my problem. I have tried using the applet tag and object tag and neither work. For some reason IE 6 will not display the applet. All I get is a grey area.
I keep wondering if I don't somehow need to reference the form file and multiple class files created by the Sun One Studio.
It is interesting that the applet will display when I debug in the IDE but won't initialize properly using the appletviewer due to a problem locating the absolutelayout that I used in the IDE to build the GUI.
Any help would be appreciated.
  • Easy Question: Illegal Start of Expression Update:10-11

    This is a ridiculously easy question... but I am having trouble with it... Anyway, here is the line of code that is giving me trouble: jButtons = {{jButton1, jButton5, jButton9, jButton13}, {jButton2, jButton6, jButton10, jButton14}, {jButton3, jButt

  • Easy question - how to increase number of recent files in menu? Update:10-11

    This is for CS5 if it matters. I'm an infrequent Illustrator user (at best) but I have what I hope is an easy question: I want to increase number of recent files showing in the menu. I can't find a preferece to set such as in PS and almost every othe

  • Easy question I'm sure. imac hard full (500gb) mostly from iphoto. no capacity left. what are my options? I've thought of an external drive of 1tb and then a 2nd external drive of 3tb to back up both???? please help. Update:10-11

    easy question I'm sure. imac hard full (500gb) mostly from iphoto. no capacity left. what are my options? I've thought of an external drive of 1tb and then a 2nd external drive of 3tb to back up both???? please help.Those are the options - more space

  • Easy question about Reformatting Update:11-30

    Hello all, I am trying to reformat my HD after I have deleted Windows XP off of a partition. The reason for this is an upgrade to Vista and a larger allotment of HD space. My question is: I am using Backup v3.1.1. (v369) and I have FULL backup files

  • Easy question for the MODS Update:11-30

    Unlike more difficult questions like CRC problems, ps problems, etc, this is rather an easy question. The KT4V manual (page 3-8) lists the onboard NIC as a "boot device" option.  This "feature" is available in Bios 1.1, 1.2 but not ava

  • Easy question array Update:11-30

    Hello experts, i have an easy question. I need to store data in a 1D array so that the first data is written in the place of index 1 the second in index 2 aso.  I've tried it but somehow either i only had the last data in all indexes or only the last

  • I have what is hopefully a quick and easy question. I kno... Update:11-30

    I have what is hopefully a quick and easy question. I know almost nothing about this stuff so go easy on me . All I need to do is find out if my DHCP is enabled. I'm having problems with my Xbox 360 and one of the possible problems is this DHCP thing

  • Profit center field in Material MD - Easy question Update:11-30

    Hi Experts, I have an easy question.. The material master data screen have a  tab 'General Plan', and there is  the field 'Profit Center'.   a) Is this field is filled, which is the impact in the system?  b) is this value (profit center) used in othe

  • Easy Question: How to split concatenated string into multiple rows? Update:11-30

    Hi folks, this might be an easy question. How can I split a concatenated string into multiple rows using SQL query? INPUT: select 'AAA,BBB,CC,DDDD' as data from dualDelimiter = ',' Expected output: data AAA BBB CCC DDDDI'm looking for something kind

  • Hopefully easy question... Update:11-30

    I am new to TestStand and have a couple of (hopefully) easy questions.  I am using TestStand 3.5. 1)  I have written a couple of sub-sequences in another file that we use for common tasks.  Some of the parameters we pass will always be the same varia