I can't view my JApplet in appletviewer. Why?

I tried writing a simple program on my own and i compiled them in JPadpro 3.6. there is no error. no warnings too.
but when i run the JApplet thr. appletviewer,
the comments stated in the viewer was:
Start: applet not initialized
i can't find what's the mistake i've made in my program. can u pls help me spot it and how it should be coded?
//------------------my tried out login program--------//
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class login extends JApplet
     //initialize
     JLabel loginTitle, loginLabel, passLabel;
     JTextField loginText, passText;
     JButton loginBut, cancelBut, resetBut;
     public void init()
     resize(400,300);
     Container content = getContentPane();
     content.setLayout(new FlowLayout());
     // create & add title
     loginTitle = new JLabel("Policyholder Login");
     content.add(loginTitle);
     //create & add labels and textfields
     loginLabel = new JLabel("Login name:");
     loginText = new JTextField(9);
     content.add(loginLabel);
     content.add(loginText);
     //create & add buttons
     loginBut = new JButton("Login");
     cancelBut = new JButton("Cancel");
     resetBut = new JButton("Clear All");
     content.add(loginBut);
     content.add(cancelBut);
     content.add(resetBut);
thanks in advance for your contribution of knowledge....
Canis

The error message printed to the console quite clearly states the problem: applet not public, cannot access applet with modifiers ""
change your declaration of "class login extends JApplet" to "public class login extends JApplet", and you'll find it works fine.

Similar Messages

  • Why does my calendar shut down? I can only view January and February!, Why does my calendar shut down? I can only view January and February!

    Every time I open my calendar I can view January and February then it shuts the app!

    I'm not sure what Time Zone Support is. Time Zone is set automatically from the Time Zone page of Date&Time. There is no option for turning it off. It searches out the nearest city - it correctly guessed Perth, seeing I live less than a kilometre from the centre of the city - I don't know what to correct.

  • When I need to confirm Im not a robot I can only view a blank window. Why?

    When I'm setting up my Firefox sync in my Mac Book pro to link it with my I phone 4 after few steps, the browser asks If I'm a robot?, but no secret word is displayed on the window, instead I have a blank window.
    Whats wrong?

    Hello all, I have the answer.
    You need ADOBE SHOCKWAVE. I had the exact same issue, tried some stuff to no avail. This morning it occurred to me that one more plugin was missing. After installing Adobe Shockwave I am able to see the catchpha.
    Running: Windows 7 64-bit
    --Boss of the Interwebz out--

  • Can not view applet in browser (IE5.5)

    only my appletviewer shows my very simple applet.
    in the IE5.5 i can not view my applet... ?
    my applet just have write a string...
    any help ?

    http://forum.java.sun.com/thread.jsp?forum=31&thread=276607

  • Can we view data in Multiprovider

    Hello All
    In one of my interview he asked me can v view data in multiprovider.(Not in reporting level).
    I said no,he said yes?
    If anyone knows abt this pl let me know.
    Regards
    balaji

    Hi Balaji,
    Yes. Your are right that teh multi-provider does not store any data. It is like a view that displays the data from various data targets using union. LISTCUBE displays the data using those unions and displays the data. It is not fetching data from any underlying table of the Multi-provider. Probably if you debug then you would find the various SQL statements fetching data from the other data targets using the join conditions.
    LISTCUBE is just meant for displaying the data from an Info-provider in the backend.
    If you are familiar with R/3 then you would have noticed that you can see the data in table or view in SE11/SE16 even though a table has data where as a View does not. It is something similar to that.
    Hope this helps.
    Bye
    Dinesh

  • I downloaded 11.1 but now can't access the store, can only view my library. I've reinstalled but still get a blank, white screen when I try to go to the itunes store. How can I get to the store for purchases?

    I downloaded 11.1 but now can't access the store, can only view my library. I've reinstalled but still get a blank, white screen when I try to go to the itunes store. How can I get to the store for purchases?

    In iTunes prefs>Store - is the Store check box unchecked?
    Did you repair pemissions with Disk Utility?
    MJ

  • Is there a way to adjust the settings on launchpad so that when I swipe into it all the open apps/pages are fully separated (like in exposé) so that I can fully view all of them simultaneously?

    Hi Apple community,
    This is my first go at this so be kind,
    My question concerns launchpad. Coming from Snow Leopard I had been using spaces. I like to keep certain bundles of programs on separate desktops, for example all word processing related tasks in one place. I have set up the equivalent on Yosemite.
    My problem is concerns the loss of exposé. Now I know when you swipe into launch pad you get a very similar effect but the issue I am having concerns the "zoom out" effect when you swipe into launchpad. With exposé all open apps/pages etc would be fully exposed - in my case several (sometimes as many as 9 word documents). What I am running into is when I do this in / into launch pad the "pile" of docs is exposed but they are still overlapping so I can't get a good look at which is which and visually identify where I want to navigate to.
    My question is this; Is there a way to adjust the settings on launchpad so that when I swipe into it all the open apps/pages are fully separated (like in exposé) so that I can fully view all of them simultaneously? If so, instructions on how to do so would be greatly appreciated. Any alternative suggestions to doing this outside of launchpad are also welcome. If there is an exposé app for example, I would be quite willing to go that route.
    My main concern is being able to quickly (ie a touchpad gesture) expand all the open pages so I can bounce between them.
    Much thanks from a loyal Apple friend.

    Hey Eric,
    Thanks for taking the time. Unfortunately no that does not solve it. Same as swipe it will get me there and it will show separate programs spaced out. The issue I am having is that all my open word files are bunched up in a pile on top of each other. I can see the edges of each one but I want them to be separated from each other enough that I can visually identify what file is what.
    Again, thanks for trying, it is appreciated.

  • Can't view raw files in Adobe Bridge CS4

    Hi,
    I bought a new iMac OS X version 10.8.5 . I have a Canon 5d Mark ii and I shoot in RAW. I installed CS4.. I also downloaded the newest version of the camera raw plug-in (5.7). I placed the plug-in in applications--> adobe photoshop CS4 -->plug-ins--> file formats.
    In Bridge, I can only view the grey thumbnail that says CR2. I can click on it and it'll open up into camera raw where I can edit some and then open it into photoshop. I want to be able to view the images in bridge to know which ones I want to open up in camera raw. Also, when I right click on the thumbnail there isn't an option that says "open in camera raw".
    Should I also place the camera raw plug-in in the applications-->Adobe Bridge-->plug-ins?
    When I click on about plug-ins on photoshop, it's showing me 2 camera raw plug-ins.. version 5.0 and version 5.7. I can't find 5.0 to delete?
    Thanks

    If you just go to Help>Updates, Bridge should take care of this for you, unless you've managed to get multiple copies of the plug-in into the folder. If you manually installed things, check to see that there is only one plug-in there, then let Bridge do it for you.

  • Can't view photos in Adobe Bridge

    Hi Everyone,
    I just upgraded to a desktop, Dell Inspiron 3000 Series with Windows 7.  I uploaded my Photoshop CS6 onto my new computer, but I cant view my photos on Bridge.  No thumbnail previews, just the name of the photo.CR2.  I can however view my Tiff files
    Any idea how I can fix this?  Would greatly appreciate the help, need to be able to see my photos soon!
    Mahalo,
    Maria

    So, you can't see your RAW files.  That probably means you have not applied any updates after installing CS6.
    You have to update BOTH Photoshop and the Adobe Camera Raw plug-in.  That should work through the Help menu in Photoshop:   Help > Updates

  • Can not view all the thumbnails in version 9 adobe standard

    Hello,
    I recently installed adobe standard 9 running parallel with adobe standard 5.
    My end user is claiming of the view setting for patient data. She can not scroll all the way to the bottom
    as she could in adobe 5. She can see all the thumbnails minus the last row. I have changed the prefereces to show the same
    as adobe 5. However I can not get the correct settting to make it right for her.
    Any adivse or trouble shoot steps would be appreciated. Adobe said to update the product, I have done that last night.

    How do I do that?
    Date: Tue, 14 Dec 2010 10:10:01 -0700
    From: [email protected]
    To: [email address deleted by host]
    Subject: Acrobat Windows Can not view all the thumbnails in version 9 adobe standard
    Change the size of the thumbnails, change the size of the thumbnails window, or upgrade Acrobat X.
    >

  • Can we view Color & SIZE1 field from MARA in MM43??

    Can we view Color & SIZE1 field from MARA in MM43??

    Hi Ashish,
    In MM43 on Basic data screen scroll down to see More Basic Data push button.
    Once you enter in More Basic Data screen you have field there for size/dimension.
    I'm not sure if this is what you are looking for.
    Thanks,
    Vikrant.

  • Can we view  SH's partner functions in Sales Order?

    Hi All,
    SP has a different SH and FA is assigned to SH in master record. When we create order we can see all the partner functions of SP but we can't see partner functions of SH. User wants to see which FA is assigned to SH. We can only view partner functions of SH in delivery document. Is it possible to view partner functions of SH in sales order as well? Please suggest the ways to configure this setting.
    Thanks!!

    Hi,
    Yes, you can view . Check the Partner determination procedure, include the partner function SH to your partner determination procedure assigned for your sales order.
    Regards,
    Murali

  • Can not view video in email

    Does anyone have any idea why i cant view a video sent from a email the link doesnt even show up , i know you cant view a video in a instant message which is crazy the cheapest phones out there do it but apple dont
    Iphone 3g
    Thanks joe

    Depends on the format. You can only view mpeg4 and quicktime really. Other movie formats like wma or flash do not have a codec on the phone and would need to be viewed on a computer.
    Send feedback about what you want to be able to do with the phone http://www.apple.com/feedback/iphone.html

  • Can not view Chinese [lang pack installed]

    I have a strange problem with following PDF which is generated by TCPDF.
    I have tried with both Acrobat Reader 9 / X, installed all the language pack I can find. Also installed the 2 fonts specified in the PDF file.
    It can be viewed in Google Doc. Other people can view it with no problem on their PC. However, it only shows a blank layout in my PC (picture below)
    You can download the original file here: (try save to your pc instead of view online)
    https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B9Li-9QY85kaNjYzOTBmN2M tNTI1Zi00YjlmLTgzMzItOWE5MjFjMjM5NTAw&hl=zh_TW
    My OS is WIN7 Ultimate 64 Bit version, stuck for almost a week for me. In the beginning I thought it's the PDF generator's problem but become frustrated after know others and Google can see those Chinese.
    SOME FINDINGS: when choose save to TXT file, wow all the Chinese contents can be saved! but just can not be shown in reader.

    You can download by choosing "File" -> "Download Original File" in Google Doc. Anyway I attach it now.
    https://acrobat.com/app.html#d=tsdG33*6unYtb7IvzO375Q
    It's can be viewed in Online Adobe Reader. It ask me to download "simplified Chinese" font pack the first time I open it on my PC, but still not showing Chinese after installation.
    Can you try open it on your pc? Thanks so much!

  • Can not view primary layout

    I am using Robohelp HTML X5 build 584, with windows XP and
    IE6. I have used robohelp inthe past to generate web pages with
    help info which all worked well. I recently added new pages to the
    project and now it is not working. In the meantime I have
    transferred to a new pc and reinstalled robohelp and activated it,
    so maybe that isthe problem.
    When addinghe new web pages I can generate the primary layout
    but I can not view it. WHenj looking at the files created it is
    missing the main html page that shoudl be the ne that opens, plus
    some of the data and xdata folders inthe skins. I restored from
    backup a few thinjgs which I noticed wer missing but that does not
    seem to help.
    I created a brand new test project in case size was a
    problem, and added about 30 topics. Again it willnot view primary
    layout and does not create the main .htm page.
    Any ideas on how to fix?

    Hi Di W
    This certainly sounds as if RoboHelp isn't correctly
    installed or that you don't have sufficient permissions. I'd be
    checking with my IT staff to see if they recently changed anything
    from a security or permissions perspective. I'm not slamming IT, as
    they do have valid reasons for endlessly tweaking these settings,
    but it's quite common.
    You may also wish to review fellow Adobe Community Expert
    Peter Grainge's site by
    clicking
    this magickal link
    Cheers... Rick

Maybe you are looking for