First applet help plz

nothing shows up when i open my html file... here's my code
import java.awt.Graphics;
import java.applet.Applet;
public class applet extends Applet {
String msg;
public void init() {
msg = getParameter("jayrad");
public void paint (Graphics g) {
g.drawString(msg, 20, 30);
if there's anything wrong there plz let me know... it may be my html code too...
<html>
<applet code=applet width=300 height=200>
<param name=message value="still confused">
</applet>
</html>
thanks in advance.

This is what happens when you use the "code" tags wrong, below is the fixed "code" tags...
I could be wrong, so don't quote me on this... But, here you are calling for a Parameter named "jayrad" but >in the html portion, you called it "message"...
msg = getParameter("jayrad");
<param name=message value="still confused">so the fix should be...
msg = getParameter("jayrad");
<param name="jayrad" value="still confused">- MaxxDmg...
- ' He who never sleeps... '

Similar Messages

  • Jagged Fonts - My First Logo -Help Plz

    I've gotten my first freelance job, and I'm designing the logo.
    It came out great, but I just noticed today that when I save it as an eps or a pdf, the fonts are extremely jagged.
    I'm worried my client will be unable to successfully take this file to a printer.
    I am using Illustrator CS2, and using fonts Impact and Times New Roman.
    What could be causing this? I am getting flagged for "Only fonts with appropriate permission bits will be enabled." and "This document contains artwork that requires flattening."
    Any help is appreciated.

    I think there are settings when you go to print as a pdf where you can make it print in high resolution. I had a publication I did once and the initial pdf's were not clear for printing. NOTE - I did the publication in InDesign, NOT PhotoShop. In speaking with the printer he walked me through a way that made it come out crystal clear. Of course the file was huge (250 Megs) but not a problem because I ftp'd it up.
    In InDesign I EXPORTED the pdf, but I don't see that feature in PhotoShop. However, there is a Export Paths to Illustrator. I have not done this but you might play with it. I usually create vector logos then export to a bitmap format and get better results...not that I'm a pro like so many others on these forums, but it works for me.
    In the meantime you might want to contact a local commercial printer in your area and ask if they can help direct you. Some work with you and others shun you.
    Best of luck.

  • Help needed in doing a first applet !

    Dear People,
    My goals are humble. Only to do a first applet
    my MyFirstApplet.html and MyFirstApplet.java are below
    If I try to open the html document in the web browser
    I see a grey rectangle which indicates I think that
    the applet capability has not been enabled for the browser.
    Yet I did download the plugin .
    thank you in advance
    Stan
    import javax.swing.JApplet;
    import java.awt.Graphics;
    public classMyFirstApplet extends JApplet
    public void paint(Graphics g)
    g.drawString("To climb a ladder, start at the bottom rung",20,90);
    <html>
    <head>
    <title> MyFirstApplet
    </title>
    <body>
    <applet code = "MyFirstApplet.class" width = 300 height = 200 >
    </applet>
    </body>
    </html>

    I would try to color the background to see if it is even getting addd to the applet.
    import javax.swing.JApplet;
    import java.awt.Graphics;
    public classMyFirstApplet extends JApplet
    punlic void init(){
    this.setSize(300,300);//setst the size
    this.setbackground(Color.red);//sets the color of the background
    public void paint(Graphics g)
    g.setForeground(Color.black);//sets the color of the text
    g.drawString("To climb a ladder, start at the bottom rung",20,90);
    thy that and let me know if it worked,.
    steve

  • Ah first time here, plz help! Flash / Premiere

    Ok, I have been using Flash since way back. I'm now in CS5 and need a solution for this and since I have the CS5 master Suite I would think Premiere can do this following scenerio.
    I have a flash presentation, the client needs me to add a voiceover track to the existing animation but the voiceover needs to be edited to fit. I need a solution where I can see the swf, add the voiceover.mp3 and edit accordingly.
    Once I do this I woudl have to export the edited audio as an .mp3 and drop it in the .fla of the presentation.
    Can this be done in Premiere and is there a tute for something like this?
    any help plz?
    thx
    rd

    Very glad that all worked for you.
    Though I do not know it, it appears that Cubase probably has issues, such as I suspect with Audition. The choice of DAW is up to what the user has available.
    PrPro has pretty good Audio-editing capabilities already, and when it falls short, I just reach for Audition (have not really put the newer versions of SoundBooth to a test, so cannot comment on any limitations there), even if I do an Export for a reference file for the Video. Keeping things in one program has many benefits, and usually saves a lot of time and effort.
    Now, if SmartSound would just do their Sonicfire Pro 5 to work within PrPro CS5, like they did with FCP! That would save me a lot of reference Video file Exports, when scoring. They claim that it's in the works, but I have not seen anything new, on that front, for quite awhile.
    Good luck, and thanks for reporting your success!
    Hunt
    PS - one of the biggest issues with MP3 source material, is when there are other "things" inside the MP3's, like album art, etc. Nice that yours worked fine.

  • Help plz so my gf said she block me and we txt back to back but later on i sent her a messages and it said it was read so am I blocked  a

    help plz so my gf said she block me and we txt back to back but later on i sent her a messages and it said it was read so am I blocked 

    The proper way to close Firefox is through the File menu "Exit" or the equivalent with the Firefox button.
    More detail in item '''#38 Firefox already running '''
    of
    [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 look like 3.6) (#fx4interface)]
    Firefox already running, to properly shutdown Firefox when closing the last window use File → Exit/Quit (or Firefox button → Exit). Closing Firefox with the [X] in the upper right corner closes the window ("Ctrl+W") but that does not necessarily close Firefox if it has subtasks running. If you want to close and reopen Firefox use the "Restart" within Add-ons if you made a change requiring a restart, or install "[https://addons.mozilla.org/firefox/addon/restartless-restart/ Restartless Restart]" ("Ctrl+Alt+R") which will allow you to take Firefox down and restart without having to check the Windows Task Manager to see if Firefox first actually ended. [http://kb.mozillazine.org/Firefox_hangs Firefox hangs]

  • How to pass first applet value to second applet

    please help ,
    can anyone knows how to send first applet parameter to second applet,
    here is the code
    //<applet code="firstapplet.class" height="200" width="300"></applet>
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class firstapplet extends JApplet
    JPanel pn;JTextField txt;JButton btn;
    public void init()
    pn = new JPanel();
    getContentPane().add(pn);
    txt = new JTextField(20);
    pn.add(txt);
    btn = new JButton("submit");
    pn.add(btn);
    on the click of button i want to pass the textfield value to second applet

    I don't know what exactly you mean by "sending first
    parameter", but using Applet.getContext() you can
    gain access to the other applets on that page, if
    that's what you need. Refer to the API docs for more
    info.thanks for the reply,
    but i want to get the first applet textfield value and show on second applet
    can you help me on this

  • Hello, I'm having trouble getting to the page where I can put in my activation code for my One to One. I keep getting ID or Password error. Have already reset twice- HELP Plz.

    Hello, I'm having trouble getting to the page where I can put in my activation code for my One to One. I keep getting ID or Password error. Have already reset twice… HELP Plz.

    sashaburg wrote:
    Unfortunately Netgear's support isn't very supportive.
    Without Airport set-up, and without wireless connection, I can't talk between macs either.
    Ok, this is a mac question: With the order changed so that the ethernet comes first, why is it still showing my connection to the neighbor's wireless? Am I reading that wrong? OR am I connected to both at the same time? If so, why would it connect twice to the internet?
    Probably because you neighbor has no security on his network. Does his network show a lock like
    If it does he's got security turned on, if there is no lock showing he hasn't turned it on.

  • Videos Won't Got To i-pod... help plz.

    I just downloaded i-tunes 7, and the first time I try updating my music, more than half of my tv shows will not show up on my i-pod... Anyone else having this problem? Help plz!
    PC   Windows XP  

    I am having the same problem along with a host of others. Please help if you can.

  • My itunes won't reconise my ipod touch but does with my nano any help plz

    my itunes won't reconise my ipod touch but does with my nano any help plz

    - First see if resetting the iPod will make it visible in iTunes so you can restore the iPod.
    - Next see if placing the iPod in recovery mode will make it visible.  For recovery mode see:
    iPhone and iPod touch: Unable to update or restore

  • Im new to the 5g ipod help plz

    will the ipod turn off if i leave it on pause? i know i have a really stupid question but help plz thx

    Yes.

  • My Apple TV is not working. On tv display, I'm getting unsupported signal. Check your device output. Can anyone help plz.

    My Apple TV is not working. On tv display, I'm getting a message 'unsupported signal. Check your device output. ' Can anyone help plz.

    connect it to a tv which support full hd and go into the settings and lower the resolution as much as possible and then connect it with your tv once more

  • I have just getting a new phone and I have forgot my password an Apple ID what I made new for the new phone now I cannot get on it because asking for id and password what should I do help plz thank u

    I have just getting a new phone and I have forgot my password an Apple ID what I made new for the new phone now I cannot get on it because asking for id and password what should I do help plz thank u

    Try
    https://iforgot.apple.com

  • I lost my phone and i got an unlocked 4s from my gf she used it before an its still connected to her icloud is there a way i can restore my icloud back up to replace hers without messing up the unlock also my latest backup isnt showing on my pc help plz!!

    i lost my phone and i got an unlocked 4s from my gf she used it before an its still connected to her icloud is there a way i can restore my icloud back up to replace hers without messing up the unlock also my latest backup isnt showing on my pc help plz!!

    Please please help me, if you know how.

  • I cant get voice over to work on my 4G shuffle it clicks off every time help plz

    i need help plz it wont work

    Hello,
    Welcome to Adobe Forums.
    Try uninstalling Adobe Flash Player from Flash Player uninstaller : http://helpx.adobe.com/flash-player/kb/uninstall-flash-player-mac-os.html#main_uninstall
    Try a clean installation using this KB : http://helpx.adobe.com/content/help/en/flash-player/kb/installation-problems-flash-player- mac.html
    Thanks,
    Vikram

  • How to call an applet from a first applet

    Hi,
    I need to call an applet from a first applet, but I want that the called applet doesn't execute in the same AppletContext than the first one, is it possible?
    If it is, what is the solution?
    Thanks

    Yes, it is possible. One way would be to use static variables.
    class A1 extends Applet
       public static A2 TheOther;
       public A1()
          A2.TheOther = this;
       public void callA2()
          TheOther.doSomething();
    class A2 extends Applet
       public static A1 TheOther;
       public A2()
          A1.TheOther = this;
       public void doSomething()

Maybe you are looking for

  • How to update Seagate hard drive firmware from DVD drive in G4 Powermac DA

    Posted earlier in wrong forum. Apologies if you see this twice. Short version of story: Just put Sonnet PCI SATA card in G4 Digital Audio Powermac running Tiger. Have replaced two IDE drives with Seagate Barracuda 7200.11 1 TB hard drive. It's recogn

  • Hi8 Cam doesn't play my tape thru canopus...

    Hello all, Yes, yet another question from Benny P. My project I am working on now required me to get the Canopus ADVC product. The project I am doing is being done at different locations. It's a high school video that was shot by one of the parents,

  • IPhone 6 on iOS 8.1 no longer connects to car's bluetooth

    I got the iPhone 6 about 4 weeks ago and the weekend after getting it, I was able to get my Infiniti dealership to hook my iPhone 6 to my FX35's bluetooth system so I can make hands-free calls. I just had my FX serviced this past weekend and now my 6

  • Should I buy Aperture?

    hi all very simply question from a newbie i've been a pro photographer for many years now i went digital about 5 years ago and never looked back i've mainly edited my work in photoshop and am contemplating purchasing aperture but would like to know w

  • I have a problem,i output 3500x600 25fps targa moive inAEcs4,mix sound in PR cs4,why moive is 29.97?

    i have a problem,i output 3500x600 25fps targa moive in ae cs4,mix sound in PR cs4,why moive change to 29.97 6.40min? BUT mix sound in PR cs3 , DISPLAY IS right..3500x600 25fps targa moive ...WHY ...IS IT PR CS4 BUG?