Significance of "You need to enable Java to see this applet"

i am a novish for applet programming.
i have written the code for drawing a spectrum.
import java.applet.*;
import java.awt.*;
public class DrawingWithColor1 extends Applet {
int width, height;
int N = 25; // the number of colors created
Color[] spectrum; // an array of elements, each of type Color
Color[] spectrum2; // another array
public void init() {
width = getSize().width;
height = getSize().height;
setBackground( Color.black );
// Allocate the arrays; make them "N" elements long
spectrum = new Color[ N ];
spectrum2 = new Color[ N ];
// Generate the colors and store them in the arrays.
for ( int i = 1; i <= N; ++i ) {
// The three numbers passed to the Color() constructor
// are RGB components in the range [0,1].
// The casting to (float) is done so that the divisions will be
// done with floating point numbers, yielding fractional quotients.
// As i goes from 1 to N, this color goes from almost black to white.
spectrum[ i-1 ] = new Color( i/(float)N, i/(float)N, i/(float)N );
// As i goes from 1 to N, this color goes from almost pure green to pure red.
spectrum2[ i-1 ] = new Color( i/(float)N, (N-i)/(float)N, 0 );
public void paint( Graphics g ) {
int step = 90 / N;
for ( int i = 0; i < N; ++i ) {
g.setColor( spectrum[ i ] );
g.fillArc( 0, 0, 2*width, 2*height, 90+i*step, step+1 );
g.setColor( spectrum2[ i ] );
g.fillArc( width/3, height/3, 4*width/3, 4*height/3, 90+i*step, step+1 );
Then it is requires to enable java to see this applet.
i went to intenet explorer->tools->internet options->advanced->enabled jre(sun)and ok
Please help me how to proceed further to view the final output

If you're using Microsoft's JVM, I think you have to restart the browser after turning the JVM on.
But it's an old, crappy JVM anyway.
Install the Java plug-in from Sun.

Similar Messages

  • ASA 5505 WebVPN - It has taken a while for SSL VPN Relay to load. You need to verify Java is enabled in your browser

    ASA 5505
    ASA Version 9.0.(2)
    Suddently on the webvpn Interface when i click on my web bookmarks (and java launches in browser) i get this fail in Chrome and FF 'It has take a while for SSL VPN Relay til load. You need to verify Java is enabled in your browser' and nothing happens...
    Java IS enabled and running. Tried this in both 7.45 and 7.51
    No problem in IE 11 and java 7.45 and 7.51
    I've googled alot but have not been able to find any suggetions
    Hope you have a solution
    Best Regards.

    Any resolution on this?  Firefox/Chrome my cifs work but smart tunnel RDP doesn't, and in IE my shares don't work but RDP smart tunnel does....
    Cisco, if you're not going to do something good, just don't do it.  The SSL VPN is a hack job.

  • You need to install Java Web Start 1.4.2

    Hi!
    I try to access the PI /rep page: http://localhost:50000/rep .
    By doing so I get the following error/warning:
    You need to install Java Web Start 1.4.2
    I am on Windows 64x Bit.
    Question:
    Where can I find and download Java Web Start for Windows 65 bit?
    Thank you very much!
    regards
    Thom

    Hi,
    here you go:
    http://java.sun.com/products/archive/index.html
    BTW I suggest version 1.4.2.9.
    Regards
    Patrick

  • You need to activate Java ....... and I have this Option ticked.

    I get the message you need to have Java activated to use this site. yet Ihave already activated java in Options .

    Can you post a link?
    Do you see the Java plugin on Tools > Add-ons > Plugins ?
    To avoid confusion: http://kb.mozillazine.org/JavaScript_is_not_Java
    See:
    * [[JavaScript]]
    * http://kb.mozillazine.org/JavaScript
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • You need to allow flash to make this a proper device. When will you allow flash?

    You need to allow flash to make this a proper surfing device. When will you allow flash or listen to those buying your product?

    This is a user-to-user help forum. We are all users here. You are not talking to Apple.
    If you wish to tell Apple your ideas go to: http://www.apple.com/feedback/ipad.html
    Perhaps reading some of the thousands of posts in this forum about Flash would have told you this. Use the forum search feature to find these.

  • Try to enter reedem code mountain lion and it says you need a payment method to access this functionality. how to solve this?

    try to enter reedem code mountain lion and it says you need a payment method to access this functionanlity

    I got it to work by using a US Apple ID.

  • Need to enable java and correct version of Java to download

    Hi!
    I need help to find the correct version of Java to download for a Safari 6.0 for my Macbook Pro. Also, how do I enable Java in Safari?

    I would recommend reaching out to one of the global partners listed here, Adobe Connect Partners, and see if they can help you.

  • Really need to show an image in this applet...

    Hi,
    I need to display an image in my applet as a sort of "Start Screen" like you get on games.
    But I'm damned if I can get it to work, my tutor provided the unifinished shell of a program, and it seems that I need to display this image before any... panels.. or whatever it is... are initiated. So I could either create a new one, just to show this image, then make it go away when the image does, or, have it popup as part of a message box, or something.
    I stumbled on a splash screen feature, found in Java 1.6, but although I'm using 1.6, my university still uses 1.5, so it's a no go.
    Ideally, it would be a popup window I think, more like a fancy about box than a title screen. But I don't know how to do that either, so any help would be greatly appreciated ^^
    Thanks

    Look into addNotify() and MediaTracker.

  • Need to enable java script to login to email

    Cannot login to email error message java script needs to be enabled; in prefernces java script is enabled but still can't login to email

    Your question is confusing. JavaScript is a web technology built into browsers; it does not need to be downloaded. Java ( not script) is a different technology which is downloaded from the Oracle website. Neither of them has anything to do with Adobe.
    Can you post exactly what you're downloading, where it's from, what install steps you take, and what messages, if any, you see?
    Thanks
    Matt

  • Why do you need to enable http communication with Basic authentication with Exchange Admin IP?

    The pre-reqs for the Exchange Admin IP say you have to make a few changes on your Exchange server (2010 on prem in my case). I have a few questions about those pre-reqs and I'm not able to find documentation online to help:
    Why does http communication with basic authentication for the powershell virtual directory in IIS need to be enabled? In the IP you still specify to connect over an SSL connection. The concern is what is being sent over unencrypted and what impacts are
    there to the security of the Exchange server.
    What role does the IP connect to (MBX/CAS/HT)? I'm not an Exchange guy so I don't know which roles install the PowerShell virtual directory.
    Are there any technet pages or white papers that talk about the MS developed IPs in any more detail than basic config?
    I appreciate any help anyone can offer. Thanks!
    -Raj

    Yeah I find this perplexing as well. I'm guessing it has something to do with Opalis origins perhaps.
    Would be good to understand why.

  • Can you share specific apps with other devices under same Apple ID?  ...or do you need to enable he sharing of all apps that have been downloaded under that ID?

    My family has multiple devices under one apple ID.  I want to share only certain apps with certain family members.  Is it possible to limit what apps are shared with which devices or do I need to share all of the apps that I download for personal use?

    Thanks.  I turned off the automatic downloads on the new devices (minis), but when I go into the app store I don't see any of the apps I have bought (for my original iPad) under "purchased".  I was thinking that this was the logical place to find those apps that I want to download to the new devices.  What am aI missing?

  • I have Numbers 2.3 installed on my IMac and have created several spreadsheets when I try to open the latest one I get a message "You need a newer version to open this spreadsheet. Do have to buy the new one and will it work with my OS - 10.8.5?

    Do I have to purchase the new Numbers to replace my version 2.3 in order to open spreadsheets already created? Will the new version work with my OS  -  10.8.5?

    If you are running Mavericks, and the Mac App store says you are up to date, then you have Numbers 3.2 as well as Numbers 2.3. You are getting the "Need a newer version message because your Mac is trying to open the document using Numbers 2.3.
    Launch Numbers 3, then open the document from within that app, or right click/control-click the document and choose Open with Numbers 3.x.
    Regards,
    Barry

  • NF980-G65 Bios update. Do you need a supported cpu to do this

    I read a post on the newegg site that this bios can be ugraded to an x6 compatabile version without a supported cpu? Can anyone clarify this? Is it true and if so what is the process?
    Thanks

    Quote from: blottom on 17-September-10, 19:47:10
    I read a post on the newegg site that this bios can be ugraded to an x6 compatabile version without a supported cpu? Can anyone clarify this? Is it true and if so what is the process?
    Thanks
     As has been said, only if it boots with the X6.
     What BIOS is on yours? Number on BIOS chip, last 3 digits BIOS version. Example: 120 would be v1.2

  • HT5559 Oracle has updated java 7 to update 13. Re-enabling java 6 failed

    Oracle has updated java 7 to update 13. Re-enabling java 6 cannot be completed with mentioned commands in artikel HR5559. Can anybody help me?

    William Lloyd wrote:
    You need to run Java 7 at this point, as Java 6 has been disabled due to security risks and there's no current version available that will run on 10.8.
    That's not true. If you already have Java SE 6 installed it will run Lion and Mountain Lion.  The latest update was provided last Tuesday Java for OS X 2013-001.
    The update disables the Java 6 applet plug-in, but does not destroy it. It can be re-enabled using Apple instructions: "Java for OS X 2013-001: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality".
    @eoever,
    The instructions you cited has worked for many others, so I'm not certain why it isn't working for you. Did you previously have Java SE 6 installed and did you update it with 2013-001?

  • "Please Enable Java" error when attempting to join GoToMeeting webinar in Firefox 4.

    Since upgrading to Firefox 4 I'm unable to join GoToMeeting webinars, such as
    https://www2.gotomeeting.com/join/298237491/106133365
    I receive a "Please Enable Java" error, see this URL for an example: https://www2.gotomeeting.com/island/joinError?e=JavaDisabled
    I double-checked and Java is enabled and updated to latest version. I also tested it on javatester.org with success.
    These types of webinar still function appropriately in Firefox 3.6.

    Thank you, nganju, for helping.
    I did the Explorer search on *.jar files with this phrase in the file:
    OracleConnectionPoolDataSource
    There were no results to display. I searched both the computer which is working and one that doesn't.
    I used printStackTrace() to get more error message. Is there a way to print the error msg to a file so I can paste it here? Among other things, it said the following:
    com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12...
    javax.naming.spi.NamingManager.getInitialContext(NamingManger...
    Does any of this help you? I have no idea what to do next except call for help.
    Help! : )

Maybe you are looking for

  • Tags not accepting hyphens (dash)

    They used to work. But now they balk at any tag with a hyphen  In-Placeness Plug-In Both gave me errors. Ben Ben Rayner I am currently active on.. MainStream Preppers Rayner's Ridge is under construction

  • I am trying to connect my HP Officejet 6500a to my Acer 3503WLMi laptop.

    I am running Windows XP and think it may work with ePrint. I can,t  find where to go to get the app for ePrint?  I,m not very switched on when it comes to this sort of thing. Somebody PLEASE help me

  • ?my apple account used an email from a previous job that i can't access now

    My apple account was my ex work email I no longer have access to I thought i had changed it but when I try and update apps my user name still comes up with the old one and won;t let me chane it help please ?

  • Project documentation through solution manager -reg

    Hi, We would like to do project documentation through solution manager we work on solution manager 2007 with ehp 1 what ever projects we handle  like packing for exports etc.. we would like to create them as projects in solution manager and maintain

  • Jdeveloper issue

    Hi, I am unable to right click and open the page and see. Please help me to solve the issue. *** Using port 7101 *** C:\Users\kbph991\AppData\Roaming\JDeveloper\system11.1.1.1.33.54.07\DefaultDomain\bin\startWebLogic.cmd [waiting for the server to co