Need to have an applet in web browser-- HELP

I have been trying to have the prefuse Graphview applet in a web browser...
The following is my HTML file
<html>
<head>
<title>Prefuse Demo</title>
</head>
<body>
<applet code="GraphView.class"
archive="demos.jar,prefuse.jar,prefuse.src.jar"
width="400" height="400">
</applet>
</body>
</html>
I am getting the following error when running on the web browser
java.lang.NoClassDefFoundError: GraphView (wrong name: demos/applets/GraphView)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(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)
I have been on this for 2 days.....really frustrated......
1)All classfiles (GraphView.class) / jar files (got using the build.bat prefuse and build.bat demos) and
the htmlfile (GraphView.html) is stored in C:\Documents and Settings\Rudolph\Desktop\prefuse-beta\demos\prefuse\demos\applets
Can u shed more light on this problem.
Thanks
---! Rudolph

Try specifying the 'code' attribute for the applet tag in the following manner:
<applet code="org/apache/maven/plugins/grafo/gui/applets/GraphViewApplet.class"
archive="maven-grafo-plugin-1.0-SNAPSHOT.jar,prefuse-beta-20060220.jar"
width="800" height="500">

Similar Messages

  • NOKIA 5800 WEB BROWSER HELP!

    My web browser on my nokia 5800 does not work anymore. I go onto the web browser and the phone freezes and stops responding until the web browser can shut it self down. I am currently using the opera web browser available on the Ovi Store. I need help to get my web browser working again. Any advise?
    thanks
    corryn x

    You can discount a virus as a cause of your issues. If it wasn't for the loss of data involved, I would have suggested restoring your 5800XM to "factory settings" and re-formatting memory card, there is obviously corrupt data on your device/memory card.
    Happy to have helped forum with a Support Ratio = 42.5

  • Phones constantly turn off in the middle of phone calls, texting or web browsing; help!

    My daughter and I both have BlackBerry Curves that are approxiamately 2 years old.  They are constantly shutting down during phone calls and web browsing even though the battery shows a full charge. When they finally finish rebooting the battery indicators show that they are completely drained and need to be recharged.  The screens freeze regularly and the little clock icon keeps spinning whenever we try to do the most basic functions.  I can't wait to upgrade to different phone but can't afford to buy four of them at once.  What can we do to get by until we upgrade?

        Wow Scotty1964. It's certainly strange that both phones are doing the same thing! Do you both share the same chargers? It may be as simple as the charger needing to be replaced if the phone is not getting the best charge to begin with. It's also possible that both devices downloaded something in common to cause the quirky behavior. Did this start after an update was installed on the phone? Or maybe an application was updated or installed? If just removing an application doesn't help, you may find a Master Reset http://bit.ly/zK7LOX may be the best way to purge the phone of the pesky trouble and have working devices in your hand until you're ready for those upgrades.
    And I know money is tight, especially when you're looking to upgrade so many devices at once. When you have a chance, visit http://bit.ly/zpAY1E to check out all the online specials for phones. An upgrade may be more affordable than you think.
    Thank you
    JenniferH_VZW
    Please follow us on Twitter @vzwsupport

  • Nokia 5500 Web browser - HELP PLZ!

    Hi ,
    I'm in india and using Nokia 5500 Black model since a month.
    I was very happy using it untill a day back the web browser in 'My Own' section suddenly stopped working. When i click the icon, NOTHING happens, no error message and absolutely nothing.
    I called up nokia customer care and they told me to reset my phone settings. i did so, and then to my surprose, not only web browser but ALL applications in 'My Own' folder stopped working with same behavior.
    Cam please someone help me out as to what i can do to make my phone work as it was before.
    Waiting for a useful reply,
    Thanks,
    Santosh

    Hey thanks for the reply, i did that, but no use.
    Now when i did it, even the web icon is disappeared.
    Is the web browser application available somewhere on net.
    Any other way to help!
    -Santosh.

  • Why do I not have any history for web browsing?

    Why when I look for my history in Google is it blank?

    Make sure you have not enabled Private Browsing.

  • *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.

  • CAN'T POST APPLET ON WEB PAGE (HELP!!)

    I've successfully made my first applet. Or should I say my .class file and i'm having some difficulties. I've posted my .class file on my web page and here's the source code:
    <html>
    <head>
    <title>
    none
    </title>
    </head>
    <body bgcolor="black">
    <applet class="attempt.class" width="600" Height="600"></applet>
    </body>
    </html>
    I'm using angelfire for posting my applet. The solution is prolbly right under my nose but I don't know where to start looking.
    any solutions are welcome
    thanks in advance George

    You need a much more complex applet tag if you build anything that uses Java2 classes. Those simple applet tags only work with the old 1.1 libraries.
    http://java.sun.com/products/plugin/1.3/docs/html_converter.html

  • Web Browsing Help

    When i first set up my N95 i was asked how to set up viewing
    web pages. I selected them to be modified not as orginally intended. When i browse the web via wi-fi it displays it as it would on a PC however when im using the phones 3g connection it modifys them as i asked for. How can i change it so it looks the same as wi-fi - viewing them as they were originally intended ?
    I cant find it anywhere

    Hi mavy06
    If a simpler solution is not forthcoming, you could always restore "factory settings" after backing up essential data as a last resort.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Database  applet error in web browser

    hi to all
    i have query in applet.
    MY APPLET IS USING ODBC AND CONNECTING TO ACCES.
    I HAVE CREATED POLICY FILE SO THAT I CAN DISPLAY APPLET IN APPLETVIEWER.
    APPLET RUNS FINE IS APPLETVIEWER WITH FOLLOWING COMMANDLINE
    Appletviewer -jDJava.security.policy = pol label.htm.
    however when i try to display applet in web browser, it display
    following error message "load-Can't instantiate class"
    any help will be welcome

    @MITZ:
    Christ, stop hijacking and multi-posting this same question all over the place!!!
    http://forum.java.sun.com/thread.jspa?threadID=707757
    http://forum.java.sun.com/thread.jspa?threadID=5186205
    http://forum.java.sun.com/thread.jspa?threadID=5190321
    http://forum.java.sun.com/thread.jspa?threadID=5187789
    http://forum.java.sun.com/thread.jspa?threadID=5190317
    @people who want to answer MITZ:
    I suggest doing so in the thread which was posted in the Signed Applets section of this forum:
    http://forum.java.sun.com/thread.jspa?threadID=5190324

  • Un-embed applet on oracle 10g forms from web browser

    Hi all,
    I want to ask how can i seperately open my applet from web browser in oracle 10g forms. To be more precise to my question, i dont want to use my applet in web browser. It should be opened in new window i.e. applet window.
    Regards,
    Qasim Javaid Malik

    If you want to run forms without the IE browser (hidden)
    Try this
    To open web forms just like client server with a hidden IE window, I have invented two methods.
    ****** make seperateFrame = True on formsweb.cfg ******
    Method 1
    <job id="SYMA">
    <script language="VBScript">
    Const SW_HIDE = 0
    Const High = 128
    strComputer = "."
    strCommand = "C:\Program Files\Internet Explorer\IEXPLORE.EXE http://symphony-devl.atradiusnet.com/forms/frmservlet?config=syma"
    Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" _
    & strComputer & "\root\cimv2")
    ' Configure the Notepad process to show a window
    Set objStartup = objWMIService.Get("Win32_ProcessStartup")
    Set objConfig = objStartup.SpawnInstance_
    ' Create Notepad process
    Set objProcess = objWMIService.Get("Win32_Process")
    intReturn = objProcess.Create _
    (strCommand,Symphony, objConfig, intProcessID)
    If intReturn <> 0 Then
    Wscript.Echo "Process could not be created." & _
    vbNewLine & "Command line: " & strCommand & _
    vbNewLine & "Return value: " & intReturn
    Else
    Wscript.Echo "Process created." & _
    vbNewLine & "Command line: " & strCommand & _
    vbNewLine & "Process ID: " & intProcessID
    End If
    </script>
    </job>
    Method 2
    <job id="SYMA">
    <script language="VBScript">
    dim objShell
    set objShell = CreateObject("InternetExplorer.Application")
    objShell.ShellExecute "C:\Program Files\Internet Explorer\IEXPLORE.EXE", "http://ws-79767.atradiusnet.com:8890/forms/frmservlet?config=localJpi", "", "open",0
    </script>
    </job>
    Change the URL as appropriate, it's fantasitic .... !!!!!!
    Any questions let me know ...... !

  • Need web browser to submit Acrobat PDF?

    I am using Acrobat 8 - Mac. I am trying to create an interactive pdf that I will  e-mail to people to fill in a field. Then I want them to save their info and e-mail the pdf form back to me.  I've gone thru the process of creating the submit button but when I click on it to try and send it says "Need to be running inside a web browser in order to submit this form". Isn't there a way to do this w/out involving the web?
    VF~

    This is not the MAC forum. However, for the file to be sent, it has to be activated with Reader Rights to allow the save (that is when you send the whole file rather than the FDF or XML data file). There is also a license restriction on the use of Reader Rights. I suspect that may be your issue. Why not just try a data submission and have the FDF or XML file sent? When received, simply open the form and go to forms menu to import the file data. You will have the same result as if the full form was sent without the need for the Reader Rights.

  • Web browser ...need help

    hello everyone..i have built a simple web browser using java..i can go to google.com or facebook.com but whenever i want to search something or want to login providing necessary information it doesnt work..can anyone tell me whats wrong here??nd how can i solve it?itz really urgent...
    here's my code :
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class Browser extends JFrame {
    private JTextField enterField;
    private JEditorPane contentsArea;
    //here's the GUI
    public Browser()
    super("MY BROWSER");
    Container container = getContentPane();
    enterField=new JTextField("enter file url here");
    enterField.addActionListener(
    new ActionListener()
    public void actionPerformed(ActionEvent event)
    getThePage(event.getActionCommand());
    container.add(enterField,BorderLayout.NORTH);
    contentsArea = new JEditorPane();
    contentsArea.setEditable(false);
    contentsArea.addHyperlinkListener
    new HyperlinkListener()
    public void hyperlinkUpdate(HyperlinkEvent event)
    if(event.getEventType()==HyperlinkEvent.EventType.ACTIVATED)
    getThePage(event.getURL().toString());
    container.add(new JScrollPane(contentsArea), BorderLayout.CENTER);
    setSize(400,300);
    setVisible(true);
    //load document;change mouse cursor to indicate status
    private void getThePage(String location)
    setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
    try
    contentsArea.setPage(location);
    enterField.setText(location);
    catch(IOException io)
    JOptionPane.showMessageDialog(this,"ERROR retrieving specified URL","Bad URL",JOptionPane.ERROR_MESSAGE);
    setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    public static void main(String args[])
    Browser application =new Browser();
    application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }

    Hello Fixxer, what did you find out from sprint?
    Nurse-Berry
    Follow NurseBerry08 on Twitter

  • Can programs run from java that is on web browser

    i have written a program and used autorun to run when a cd is put on but not every body will have java on their computer a firend told me that most people will have java on the web browser that will be able to run the cd is this true or will i have to give download instructions to download jav first. this is obviously not ideal as i want people to be able to run the program by putting the cd in and nothing else.

    1. You can create a Java applet, which is a Java program that runs
    from a web page. It will need to be a signed applet. Your autorun will start the browser with the web page carrying the Java applet.
    I don't think this is optimal.
    2. Search for "embed JRE", which describes how you can supply your
    private JRE with your program. It does not install the JRE, nor does it
    care if one is already installed. I did this many times, there is no problem
    at all, but here I have no idea whatsoever what happens if your JRE originates from write protected media. I guess it should work. Experiment or wait for others to see what they think.

  • RegisterHotKey(....) to disable hotkeys such as ALT+F4 is not working in C# Web Browser control

    Disabling hot keys like "ALT+F4" using register RegisterHotKey(..) function and wndproc(..) function in c# windows application is not working as expected in few cases. Below is the description.
    I am using C# Web Browser control in windows application to display Web Pages. We are disabling hot keys like ALT+F4 by calling the method RegisterHotKey(..) and capture the hot key message in Wndproc(..) function. Initially This is working as expected
    normally.
    But as part of new requirement, we need to set the "title of Web browser page" to its parent class(Win form) text property. when we are assigning text property of winform using below code, the hot keys could not be disabled.
    this.Text = webBrowserCustom.DocumentTitle; //this keyword refers to WinForm which loads web browser control
    If webBrowserCustom.DocumentTitle is empty then this.text is set to Empty string. In such case the hot keys are not getting disabled.
    I am not sure what is the relation between text property of winform and hot keys disabling.
    Could you please let us know why hot keys are not getting disabled when we setting empty string to Winform(which is loading Web Browser control) text property.?

    Hi,
    How did you use RegisterHotKey and winproc function in your project, could you please post the code here so that we can reproduce the problem firstly?
    If you just want to prevent the user from closing the form, you could register Form_Closing event handler, and cancel the closing behavior by the user. 
    private void Form1_FormClosing(object sender, FormClosingEventArgs e)
    e.Cancel = (e.CloseReason == CloseReason.UserClosing);
    private void btnCloseForm_Click(object sender, EventArgs e)
    this.FormClosing -= new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
    this.Close();
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to launch my java application in a web browser?

    Hi. I try to launch my java application, e.g. "HellowWorld.java", using web browser.
    1. How can I change my java application program to java applet in general way?
    I read "Java: An Introduction to Computer Science and Programming, Third Edition"
    by Walter Savitch and found page 803 - "Converting a Swing application to an applet".
    My question is how I can know which class should be removed or not such as using JApplet instead of JFrame. Are there general rules about this?
    2. I found "AWT only" tutorial had some example lauching application using "AppletButton".
    How can I use this method to launch "HelloWorld.class"?
    http://java.sun.com/docs/books/tutorial/information/download.html#OLDui
    (after extracting zip file) -> ../OLDui/layout/card.html
    3. (continued 2) Can I use above method to embed applet into web browser?
    For example, java Swing application -> applet using "AppletButton" -> web browser using "<applet></applet>" tag.
    I'd appreciate any partial anwers of these questions or other suggestions.
    Thanks.

    Thanks! Here is what I got from your help.
    * HelloWorldSwing.java is a 1.4 example that
    * requires no other files.
    import javax.swing.*;  
    import java.awt.*;                //for Container class    
    //  public class HelloWorldSwing {
       public class HelloWorldSwingToApplet extends JApplet {
         * Create the GUI and show it.  For thread safety,
         * this method should be invoked from the
         * event-dispatching thread.
    //    private static void createAndShowGUI() {
          private void createAndShowGUI() {
            //Make sure we have nice window decorations.
    //        JFrame.setDefaultLookAndFeelDecorated(true);
            //Create and set up the window.
    //        JFrame frame = new JFrame("HelloWorldSwing");
    //        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         Container frameApplet = getContentPane();
            //Add the ubiquitous "Hello World" label.
            JLabel label = new JLabel("Hello World");
    //        frame.getContentPane().add(label);
         frameApplet.add(label);
            //Display the window.
    //        frame.pack();
    //        frame.setVisible(true);
          public void init() {
           createAndShowGUI();
    /*    public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }

Maybe you are looking for