Putting Applets Online

Hey, quick and very dumb question:
I use BlueJ, and when I compile my project, it creates a variety of different files (.java, .ctxt, .class). Which one(s) do I need to put in a directory online to be able to run that applet on an html file? I believe it's the .java one, but I'm not 100% sure. Any help would be great.

Oh, one more question:
I used keylisteners and mouselisteners in the applet.
BlueJ generated a few extra .class files for these,
, even though they're embedded in my other classes.
Do I need to include these extra files?Yes. From each .java file may get created one or more .class files - one for each actual class. Those listeners etc are actually classes in their own right (probably mainly what are called "anonymous inner classes").

Similar Messages

  • Hello is Dreamweaver program and muse  both used for making a website and putting it online ?

    Hello is Dreamweaver program and muse  both used for making a website and putting it online ?

    Muse might be all you need for now, but be prepared to keep using Muse for the life of your site.  It doesn't import well into other HTML Editors.  Keep in mind that Muse is not intended for advanced web sites. It can't support  dynamic data, shopping carts, blogs or content management systems. But it's fine for simple static HTML sites.
    Nancy O.

  • My applet can access an image in Eclipse, but not when I put it online...

    Basically, I have an applet that displays images among other things.
    I stuck the images in the bin directory, and when I run the applet from Eclipse, there's no problem.
    But when I put the applet on my webpage, it crashes with a NullPointerException because
    image = ImageIO.read( new File( imageName ) ) can't seem to get the image.
    The images are in the same directory as my class files. I tried turning on all permissions.
    My html code is very simple:
    <applet code="ImageGenerator.class" width=1000 height= 500> </applet>
    Am I missing anything?
    Any idea what the problem is?

    Meteor,
    Can you shed some light on how big these files are?
    If these images are 200K each and you have 10 of them, then you're loading 2MB across the network each time the application loads. Depending on what you are doing, that may not be a good design.
    If these slow-loading images are needed right away, then embed them with your applet (preferably a Jar) and they should load pretty fast.
    If these slow-loading images are needed later, then thread the loading of them to a background task and use some form of visual feedback (like a "please wait" image) until they're finished.
    Lastly, if these images are relatively small and you are experiencing a significant speed difference between accessing them locally (such as on the server's file system or through a mapped-drive) and accessing them through http (or url, etc) then make sure your web server is feeding them up in a timely fashion and that there's no outstanding issues with the URL loading method and the Java version you're using.
    Please read Andrew's posts closely as you should not be designing an applet that loads files as a local resource unless you really need to. Signing the applet will allow you to save them locally to the filesystem (as a "cached" version to be loaded later), but don't try to load the images as files directly from the web server's file system. The signed applet will only be able to access the local file system of the station it's being run on, hence, usually not the server!
    As far as caching the files locally, Java webstart has potentially a better ways of doing that sort of stuff for you.
    -Tres

  • Get Java Applet online

    Hello! Not sure if it's the right topic but it's a bit complicated in the main screen of the forums! I've made a game using java applet and I was wondering if it can go online. I have an freewebs.com account, I uploaded all the stuff needed but I can't see the applet. Is there something I need to change to my applet or it's just freewebs.com doesn't support *.java files? I must create a portfolio of my projects and it would be nice to include this little game...fortunately the other projects are not web based :D
    Thanks alot!

    because the assignment was an applet...besides, is it possible to "turn" it into a desktop app? I tho I should design it from the scratch. Except if you mean to just give the applet in a folder for downloading...

  • How do I put a online form on the web to be filled in and then printed out

    I created a pdf form with fields to be completed on our website.  Once the form is completed how do I get the person to print the completed form out as it looks on the website.  Also is there an option to email the completed form as it appears on the website?

    Josh,
    I started it in Forms Central and them kept updating and finalizing the form in Acrobat Pro. What I want is to put the form on our website so can be completed and either printed out by that person or sent to us just as the form appears on the website all filled in. Is that possible?
    Thanks,
    Keith

  • MX Records added to business catalyst but email not working since site was taken offline (subsequently put back online) by registrar.

    Hi.
    We've been experiencing some issues sending and receiving email since 1and1 took our domain name down. We've now got the site back live (check devonshiremarkets.com) but emails are still not being received. I have been informed the MX records have not been propagated for the domain name.
    Check MX Lookup Tool - Check your DNS MX Records online - MxToolbox and search the domain devonshiremarkets.com. You should see no MX records are associated with the domain name.
    Under the business catalyst management section the MX records have been correctly assigned to google apps MX records as follows.
    ASPMX.L.GOOGLE.COM (Priority 1, TTL 3600)
    ALT1.ASPMX.L.GOOGLE.COM (Priority 5, TTL 3600)
    ALT2.ASPMX.L.GOOGLE.COM (Priority 5, TTL 3600)
    ALT3.ASPMX.L.GOOGLE.COM (Priority 10, TTL 3600)
    ALT4.ASPMX.L.GOOGLE.COM (Priority 10, TTL 3600)
    Is there any reason why our email is still down and what do we have to do to get it fixed?

    As I checked the MX records are updated , take a look :
    Are you still facing the same issue?

  • HT201365 How to locate the iPad if it is offline? Any possibility of of putting it online remotely?

    How to locate the iPad if it is offline? Any possibility of connecting it remotely?

    Sorry, there is no way to track it without it being online. Also, there is no way to remotely activate it.

  • When i put an online repair service it says my post code is in wrong format

    when i do the online repair service(ive tried on many other comps) the postal code says incorrect format and it is making me angry

    Are you using the correct country selection when you start? If you are call Apple explain the problem and they should be able to help you get a ticket started.
    Mort

  • Spy Collapsible Pane Works in Preview, but not when I put it online

    Hello,
    I am trying insert collapsible panels at
    this
    site. They work fine in all the browsers when I preview them, but
    they do not work online. I am very new to dreamweaver and could use
    any help. Thanks

    nhw1908 wrote:
    > I am trying insert collapsible panels at
    >
    http://www.udel.edu/History/testgrad/prospective/prostud.html
    site. They work
    > fine in all the browsers when I preview them, but they
    do not work online.
    You haven't uploaded SpryCollapsiblePanel.js.
    Another problem with your page is that you have applied
    styles to your
    library items. This results in style blocks being embedded in
    the body
    of the page, which creates invalid code. You should use
    Design Time
    Style Sheets to apply styles to library items (press F1 and
    search the
    help system to find out how to use them).
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • *trouble putting applet up on browser*  help!!!

    Hi everyone-
    i've converted my application to a JApplet and it works fine in applet viewer. however, it will not work when I try to open up my html file with any browser. It won't work on my machine or on teh server. I have in one folder my html file, all of the needed class files, and even a jar file. I took care of any security issues and such too. However, when i open my applet in netscape, a dialog pops up which says that either the class or filename of my html file [or one of its components] is wrong, or i don't have all of the required libraries.
    I cilcked on the java console tool in netscape and it wrote:
    # Applet exception: error: java.lang.ClassFormatError: Bad major version number
    java.lang.ClassFormatError: Bad major version number
    at java.lang.ClassLoader.defineClass(Compiled Code)
    at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
    at netscape.applet.AppletClassLoader.findClass(Compiled Code)
    at netscape.applet.AppletClassLoader.loadClass1(Compiled Code)
    * at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
    at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
    at netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled Code)
    at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
    at java.awt.EventDispatchThread.run(Compiled Code)
    at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code)
    In internet explorer, it shows a grey screen which has the line: java.lang.ClassNotFoundException: myApplet.class
    myApplet.class is my main class file, and that is definitely located in that folder and it was transferred binary.
    please please help! I would greatly appreciate it.
    Thanks :)

    If you want your applet to run on IE & Netscape, make sure you use APIs that are on JDKs 1.1 and not 1.2,1.3 or 1.4. If you require the new classes (for example Swing), your best bet is to install the Java Plugin and use that instead.
    Assuming you want to run without the plugin and you are sticking to 1.1, if you are compiling with the JDK 1.4 compiler add this argument to your compile;
    javac -target 1.1 YourClass.java
    Where -target means the class version you want to run in.

  • Some weird errors when i put flex online

    I made my first flex project off the demo from adobe's
    site.....
    you can go here and look at it but when you click one of the
    phones it gives you an AS error...cuz im new i have no clue what
    this means....
    http://24.180.92.58:2000/flex/phones/bin/phones.html
    And to get it online i just copied my bin folder to my
    webserver....im not even sure if thats right...my server is only
    running apache on it and php does it need something more

    Hi. The links works for me also. the reason clicking on a
    phone does nothing is that you are missing the 'Show Details'
    button that should be on the lower left (it's a 'details' state) in
    main.mxml.
    The app works fine - if you want to see it online, go here:
    http://www.timos.com/PhoneSelector/flex/main.html.
    Have fun
    Carlos

  • Officejet Pro L7780 Offline, can't figure out how to put back online??

    Hi, My power went out a couple of days ago and my printer wasn't on when I came to use it. I unplugged and replugged in and now it is on but won't print. It says it is offline. I have re-configured the network and it show on my computer but won't print still says offline. Please help. I have things I need to print asap;!!

    Please describe your system:
    What computer operating system?
    What router, encryption and ISP?
    Did you have a static IP address set for the printer?
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Putting images in an applet - java.security.AccessControlException

    So I made this Blackjack game using many many classes and a GUI and it worked fine. I then decided to put it online and turned it into an applet. This isn't my first applet that i've put online, so I know that I did all the syntax in the code right. On the other hand, this is the first applet i've put online that includes pictures. The game has a Card class with an ImageIcon variable for the image of the card. The problem is that the applet won't run in a browser, and I receive the follow exception:
    java.security.AccessControlException: access denied (java.io.FilePermission Back.png read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkRead(Unknown Source)
         at sun.awt.SunToolkit.getImageFromHash(Unknown Source)
         at sun.awt.SunToolkit.getImage(Unknown Source)
         at javax.swing.ImageIcon.<init>(Unknown Source)
         at javax.swing.ImageIcon.<init>(Unknown Source)
         at CardPanel.<init>(CardPanel.java:34)
         at Dealer.<init>(Dealer.java:75)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    "Back.png" refers to a picture of the back of the card. I have this picture, along with the other 52 card pictures uploaded to the website (i'm hosting on Netfirms). Please help me. I'm willing to share any necessary source code if the need arises.

    You're trying to read the images off the local hard drive or from a server other than the one the applet came from.
    That's normally not allowed.
    Use Class.getResource and/or getResourceAsStream, and javax.imageio.ImageIO.read, to read the images. You specify the image paths as relative to the applet (e.g., don't start them with "C:\").

  • How do you put an iCloud calendar online so that people can see it like you can a Google calendar?

    I manage the calendar solution for the school I work at.  We all, teachers and students, will get iPads about a month from now, and I'm trying to set up calendars for when those show up.  Since every person has different needs, I'm in the process of creating a different calendar for each discrete activity, and the people in charge of the activities will have access to edit the events on those calendars.  Our website has links for students to subscribe to calendars that relate to the events they are involved in, which is good, but I also need all the events to be visible on a calendar so that people outside the school can see what is going on without subscribing to every single calendar.  I tried using Google calendar, but they are pretty rubbish when it comes to syncing with Apple's calendars on iCloud.  While iCloud does a good job of reading calendars hosted on Google, I really need the calendars to be hosted on iCloud so that teachers can share authoring privileges on their iPads.  Initially I couldn't even get Google calendar to read my calendars, and had to use this website to even get my calendars into Google calendar in the first place.  Now that it's connected, the Google calendar won't update the school calendars when I update them, leading to an outdated calendar showing up on the website.  The whole point of putting calendars online is that we have seamless instant communication, and Google's bungling it up. 
    In short, is there another website I could use to display my calendars from iCloud Calendar in an iframe on the school's website?
    You can take a look at the Google calendar embedded on the website here.
    The subscriptions to the iCloud calendars can be found here.
    Please help. 

    henrikda wrote:
    The link sent in the e-mail doesn't correspond to a public webpage ...
    Ah, I see what you mean. My apologies for the RTFM response without testing it myself first.
    I think iCloud shares calendars using the CalDAV standard. This means that you'll have to open the link using a client that can understand this. I just tested it with Novell GroupWise at work and it worked fine. I suspect it might also work with Outlook. I tried to add the calendar in Google Calendar by clicking under Other Calendars, Add by URL, but that did not work, so Google Calendar may not be a CalDAV client. For more information see
    http://en.wikipedia.org/wiki/MobileMe#MobileMe_Mail_Beta
    http://en.wikipedia.org/wiki/CalDAV
    http://wiki.davical.org/w/CalDAV_Clients
    http://caldav.calconnect.org/implementations/clients.html
    If anyone is aware of a website that allows you to see public CalDAV calendars, please let us know. That would be useful information. I tried briefly looking at http://www.icalshare.com, since that site seems to be somehow related to how Apple shares the public calendars, but I was not able to figure out how to view my public calendar there. I think perhaps you need to create an account there and then it might let you. But even then the views they have of public calendars at that site at static views updated once per day. For a live view of the calendar you'll still need to use a proper CalDAV client, I think. So, once again, are there any CalDAV web clients?

  • How to put disable ipad online

    I have put incorrect password in too many times and has now been disabled for over a day. I have attempted to erase ipad through icloud but i have to be online. how to i get online without buying data?

    If it's disabled then you can't put it online. Cancel the icloud.com remote wipe and reset the iPad by connecting it to your computer's iTunes : Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support - you may have to use the recovery mode instructions half-way down that page

Maybe you are looking for

  • HT1918 How do I take credit card off my iTunes account

    How do I erase a credit card off my account

  • It's happening to me too...

    Hi All, I've run into problems with  Flash Player 10,0,45,2. In IE 8, FF 3.6.3 and Google Chrome (which I  downloaded as a last ditch measure), some websites (such as youtube)  work fine. Other sites such as wimp.com I get an empty box. I've  reinsta

  • Business content activation problem ?

    Hello , I am trying to activate material movement multiprovider with data flow before and after option . Logically with this option , all infoobject should also get activated which is related to this multiprovider , but in my case it is not happening

  • I used to love my AppleTV, now I hate it :(

    This new update is horrible! I have had my AppleTV since August and had zero problems with it until the new update. In the past week I've updated the AppleTV, my iPhone 4s, and the Remote app and now nothing works like it should. Homesharing has been

  • Where is the choice for EX 2010 ???

    so i added a disclaimer to all outgoing emails, but the problem is everytime a reply to an email is made the disclaimer text adds itslf to the previous one,,so if you reply 3 times,,3 disclaimers will be there one after another.... Thx Steven J Einho