Need help in applet

Hi all,
I am newbie in java applet programming,
I have write a source code that have 3 button in applet. (Booking, schedule and verify)
I want to make when the user press the button it will call the other java class that contain the interface off booking Or Schedule Or Verify. I want the i nterface output add the center of parentPanel in mycode.
I did not know how to write the other java file that can be call in my java class, can anyone help me to write the simple one?
parentPanel.add(call other class that contain interface, BorderLayout.CENTER);
Below is my code:
import javax.swing.*;
import javax.swing.border.*;
import java.awt.*;
import java.awt.event.*;
import java.text.DecimalFormat;
public class Kell extends JApplet {
    private JPanel parentPanel, titlePanel, orderPanel;
    private JPanel bottomPanel, titleAndMenuPanel;
      private JPanel menuBtnPanel;
    private JLabel lblTitle, lblDesc;
      private JButton bookingBtn, scheduleBtn, verifyBtn;
    private ButtonGroup menuUtamaBtn;
     // Applet Size
     private final Dimension appletSize = new Dimension(500, 500);
    public void init()
        // set applet size
        this.setSize(appletSize);
        * Create Panels
        parentPanel = new JPanel();
            orderPanel = new JPanel();
            titlePanel = new JPanel();
            titleAndMenuPanel = new JPanel();
            menuBtnPanel = new JPanel();
        bottomPanel = new JPanel();
        * Set Panel Layouts
            titleAndMenuPanel.setLayout(new GridLayout(2,1));
        parentPanel.setLayout(new BorderLayout());
        titlePanel.setLayout(new BoxLayout(titlePanel, BoxLayout.Y_AXIS));
        orderPanel.setLayout(new BoxLayout(orderPanel, BoxLayout.Y_AXIS));
            menuBtnPanel.setLayout(new GridLayout(1,3));
        //bottomPanel.setLayout(new BorderLayout(5,5));
        // Title
        lblTitle = new JLabel("Bookiing OnnnLiine");
        lblTitle.setFont (new Font ("Book Antiqua", Font.BOLD, 18));
        lblTitle.setAlignmentX(Component.CENTER_ALIGNMENT);
        titlePanel.add(lblTitle);
        lblDesc = new JLabel("This is the online system that....");
        lblDesc.setFont (new Font ("Book Antiqua", Font.BOLD, 18));
        lblDesc.setAlignmentX(Component.CENTER_ALIGNMENT);
        orderPanel.add(lblDesc);
           // Button
            menuUtamaBtn = new ButtonGroup();
        bookingBtn = new JButton("Booking");
        scheduleBtn = new JButton("Schedule");
        verifyBtn = new JButton("Verify");
            menuUtamaBtn.add(bookingBtn);
        menuUtamaBtn.add(scheduleBtn);
        menuUtamaBtn.add(verifyBtn);
      //bookingBtn.addActionListener(new bookingBtnListener());
      //scheduleBtn.addActionListener(new scheduleBtnListener());
      //verifyBtn.addActionListener(new verifyBtnListener());
        menuBtnPanel.add(bookingBtn);
        menuBtnPanel.add(scheduleBtn);
        menuBtnPanel.add(verifyBtn);
         * Add Panels
            titleAndMenuPanel.add(titlePanel, BorderLayout.NORTH);
            titleAndMenuPanel.add(menuBtnPanel, BorderLayout.SOUTH);
        parentPanel.add(titleAndMenuPanel, BorderLayout.NORTH);
        parentPanel.add(orderPanel, BorderLayout.CENTER);
        parentPanel.add(bottomPanel, BorderLayout.SOUTH);
        add(parentPanel);
     * Listeners
      private class bookingBtnListener implements ActionListener {
        public void actionPerformed (ActionEvent event) {
               // I want it to call the other class
}thanks

I have two java file.
The main java file is Kell.java
import javax.swing.*;
import javax.swing.border.*;
import java.awt.*;
import java.awt.event.*;
import java.text.DecimalFormat;
public class Kell extends JApplet {
    private JPanel parentPanel, titlePanel, orderPanel;
    private JPanel bottomPanel, titleAndMenuPanel;
      private JPanel menuBtnPanel;
    private JLabel lblTitle, lblDesc;
      private JButton bookingBtn, scheduleBtn, verifyBtn;
    private ButtonGroup menuUtamaBtn;
     // Applet Size
     private final Dimension appletSize = new Dimension(500, 500);
    public void init()
        // set applet size
        this.setSize(appletSize);
        * Create Panels
        parentPanel = new JPanel();
            orderPanel = new JPanel();
            titlePanel = new JPanel();
            titleAndMenuPanel = new JPanel();
            menuBtnPanel = new JPanel();
        bottomPanel = new JPanel();
        * Set Panel Layouts
            titleAndMenuPanel.setLayout(new GridLayout(2,1));
        parentPanel.setLayout(new BorderLayout());
        titlePanel.setLayout(new BoxLayout(titlePanel, BoxLayout.Y_AXIS));
        orderPanel.setLayout(new BoxLayout(orderPanel, BoxLayout.Y_AXIS));
            menuBtnPanel.setLayout(new GridLayout(1,3));
        //bottomPanel.setLayout(new BorderLayout(5,5));
        // Title
        lblTitle = new JLabel("Bookiing OnnnLiine");
        lblTitle.setFont (new Font ("Book Antiqua", Font.BOLD, 18));
        lblTitle.setAlignmentX(Component.CENTER_ALIGNMENT);
        titlePanel.add(lblTitle);
        lblDesc = new JLabel("This is the online system that....");
        lblDesc.setFont (new Font ("Book Antiqua", Font.BOLD, 18));
        lblDesc.setAlignmentX(Component.CENTER_ALIGNMENT);
        orderPanel.add(lblDesc);
           // Button
            menuUtamaBtn = new ButtonGroup();
        bookingBtn = new JButton("Booking");
        scheduleBtn = new JButton("Schedule");
        verifyBtn = new JButton("Verify");
            menuUtamaBtn.add(bookingBtn);
        menuUtamaBtn.add(scheduleBtn);
        menuUtamaBtn.add(verifyBtn);
        bookingBtn.addActionListener(new bookingBtnListener());
      //scheduleBtn.addActionListener(new scheduleBtnListener());
      //verifyBtn.addActionListener(new verifyBtnListener());
        menuBtnPanel.add(bookingBtn);
        menuBtnPanel.add(scheduleBtn);
        menuBtnPanel.add(verifyBtn);
         * Add Panels
            titleAndMenuPanel.add(titlePanel, BorderLayout.NORTH);
            titleAndMenuPanel.add(menuBtnPanel, BorderLayout.SOUTH);
        parentPanel.add(titleAndMenuPanel, BorderLayout.NORTH);
        parentPanel.add(orderPanel, BorderLayout.CENTER);
        parentPanel.add(bottomPanel, BorderLayout.SOUTH);
        add(parentPanel);
     * Listeners
      private class bookingBtnListener implements ActionListener {
        public void actionPerformed (ActionEvent event) {
               // I want it to call the other class
               MyFrame booking = new MyFrame();
               parentPanel.add(booking.bookingPANEL(), BorderLayout.CENTER);
}The other file is MyFrame.java:
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class MyFrame
     public JPanel bookingPANEL()
          JPanel bookingP = new JPanel();
          bookingP.setLayout(new BoxLayout(bookingP, BoxLayout.Y_AXIS));
          JLabel lblDesc = new JLabel("Testing Booking Panel");
          lblDesc.setFont (new Font ("Book Antiqua", Font.BOLD, 18));
          lblDesc.setAlignmentX(Component.CENTER_ALIGNMENT);
          bookingP.add(lblDesc);
          return bookingP;
}How i want to call the MyFrame.java when i click at the Booking button on the Kell.java. I want the JPanel in the MyFrame.java display in
parentPanel.add(booking.bookingPANEL, BorderLayout.CENTER);Can you help me?
null

Similar Messages

  • Need help with applet servlet communication .. not able to get OutputStream

    i am facing problem with applet and servlet communication. i need to send few image files from my applet to the servlet to save those images in DB.
    i need help with sending image data to my servlet.
    below is my sample program which i am trying.
    java source code which i am using in my applet ..
    public class Test {
        public static void main(String argv[]) {
            try {
                    URL serverURL = new URL("http://localhost:8084/uploadApp/TestServlet");
                    URLConnection connection = serverURL.openConnection();
                    Intermediate value=new Intermediate();
                    value.setUserId("user123");
                    connection.setDoInput(true);
                    connection.setDoOutput(true);
                    connection.setUseCaches(false);
                    connection.setDefaultUseCaches(false);
                    // Specify the content type that we will send binary data
                    connection.setRequestProperty ("Content-Type", "application/octet-stream");
                    ObjectOutputStream outputStream = new ObjectOutputStream(connection.getOutputStream());
                    outputStream.writeObject(value);
                    outputStream.flush();
                    outputStream.close();
                } catch (MalformedURLException ex) {
                    System.out.println(ex.getMessage());
                }  catch (IOException ex) {
                        System.out.println(ex.getMessage());
    }servlet code here ..
    public class TestServlet extends HttpServlet {
         * Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
         * @param request servlet request
         * @param response servlet response
         * @throws ServletException if a servlet-specific error occurs
         * @throws IOException if an I/O error occurs
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
                throws ServletException, IOException {
             System.out.println(" in servlet -----------");
            response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
            ObjectInputStream inputFromApplet = null;
            Intermediate aStudent = null;
            BufferedReader inTest = null;
            try {         
                // get an input stream from the applet
                inputFromApplet = new ObjectInputStream(request.getInputStream());
                // read the serialized object data from applet
                data = (Intermediate) inputFromApplet.readObject();
                System.out.println("userid in servlet -----------"+ data.getUserId());
                inputFromApplet.close();
            } catch (Exception e) {
                e.printStackTrace();
                System.err.println("WARNING! filename.path JNDI not found");
            } finally {
                out.close();
        @Override
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
                throws ServletException, IOException {
            System.out.println(" in foGet -----------");
            processRequest(request, response);
         * Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
         * @throws ServletException if a servlet-specific error occurs
         * @throws IOException if an I/O error occurs
        @Override
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
                throws ServletException, IOException {
            System.out.println(" in doPost -----------");
            processRequest(request, response);
         * Returns a short description of the servlet.
         * @return a String containing servlet description
        @Override
        public String getServletInfo() {
            return "Short description";
        }// </editor-fold>
    }the Intermediate class ..
    import java.io.Serializable;
    public class Intermediate implements Serializable{
    String userId;
        public String getUserId() {
            return userId;
        public void setUserId(String userId) {
            this.userId = userId;
    }

    Hi,
    well i am not able to get any value from connection.getOutputStream() and i doubt my applet is not able to hit the servlet. could you review my code and tell me if it has some bug somewhere. and more over i want to know how to send multiple file data from applet to servlet . i want some sample or example if possible.
    do share if you have any experience of this sort..
    Thanks.

  • Need help with Applet: Images

    DUKESTARS HERE, YOU KNOW YOU WANNA
    Hi,
    I'm designing an applet for some extra credit and I need help.
    This game that i have designed is called "Digit Place Game", but there is no need for me to explain the rules.
    The problem is with images.
    When I start the game using 'appletviewer', it goes to the main menu:
    http://img243.imageshack.us/img243/946/menuhy0.png
    Which is all good.
    But I decided that when you hover your cursor over one of the options such as: Two-Digits or Three-Digits, that the words that are hovered on turn green.
    http://img131.imageshack.us/img131/6231/select1ch3.png
    So i use the mouseMoved(MouseEvent e) from awt.event;
    The problem is that when i move the mouse around the applet has thick line blotches of gray/silver demonstrated below (note: these are not exact because my print screen doesn't take a picture of the blotches)
    http://img395.imageshack.us/img395/4974/annoyingmt1.png
    It also lags a little bit.
    I have 4 images in my image folder that's in the folder of the source code
    The first one has all text blue. The second one has the first option, Two-Digits green but rest blue. The third one has the second option, Three-Digits green but rest blue, etc.
    this is my code
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.awt.event.*;
    import java.awt.*;
    public class DigitPlaceGame extends Applet implements MouseListener, MouseMotionListener {
         public boolean load = false;
         public boolean showStartUp = false;
         public boolean[] hoverButton = new boolean[3];
         Image load1;
         Image showStartUp1;
         Image showStartUp2;
         Image showStartUp3;
         Image showStartUp4;
         public void init() {
              load = true;
              this.resize(501, 501);
                   try {
                        load1 = getImage(getCodeBase(), "images/load1.gif");
                        repaint();
                   } catch (Exception e) {}
              load();
         public void start() {
         public void stop() {
         public void destroy() {
         public void paint(Graphics g) {
              if(load == true) {
                   g.drawImage(load1, 0, 0, null, this);
              } else if(showStartUp == true) {
                   if(hoverButton[0] == true) {
                        g.drawImage(showStartUp2, 0, 0, null, this);
                   } else if(hoverButton[1] == true) {
                        g.drawImage(showStartUp3, 0, 0, null, this);
                   } else if(hoverButton[2] == true) {
                        g.drawImage(showStartUp4, 0, 0, null, this);
                   } else {
                        g.drawImage(showStartUp1, 0, 0, null, this);
                        for(int i = 0; i < 3; i++) {
                             hoverButton[i] = false;
         public void load() {
              addMouseListener(this);
              addMouseMotionListener(this);
              showStartUp1 = getImage(getCodeBase(), "images/showStartUp1.gif");
              showStartUp2 = getImage(getCodeBase(), "images/showStartUp2.gif");
              showStartUp3 = getImage(getCodeBase(), "images/showStartUp3.gif");
              showStartUp4 = getImage(getCodeBase(), "images/showStartUp4.gif");
              showStartUp();
         public void showStartUp() {
              load = false;
              showStartUp = true;
         public void mouseClicked(MouseEvent e) {
              System.out.println("test");
         public void mouseMoved(MouseEvent e) {
              int x = e.getX();
              int y = e.getY();
              if(x >= 175 && x <= 330 && y >= 200 && y <= 235) {
                   hoverButton[0] = true;
                   repaint();
              } else if(x >= 175 && x <= 330 && y >= 250 && y <= 280) {
                   hoverButton[1] = true;
                   repaint();
              } else if(x >= 175 && x <= 330 && y >= 305 && y <= 335) {
                   hoverButton[2] = true;
                   repaint();
              } else {
                        for(int i = 0; i < 3; i++) {
                             hoverButton[i] = false;
                        repaint();
         public void mouseEntered(MouseEvent e) {
         public void mouseExited(MouseEvent e) {
         public void mousePressed(MouseEvent e) {
         public void mouseReleased(MouseEvent e) {
         public void mouseDragged(MouseEvent e) {
    }plox help me ploz, i need the extra credit for an A
    can you help me demolish the lag and stop the screen from flickering? thanks!!!!!
    BTW THIS IS EXTRA CREDIT NOT HOMework
    DUKESTARS HERE, YOU KNOW YOU WANNA
    Edited by: snoy on Nov 7, 2008 10:51 PM
    Edited by: snoy on Nov 7, 2008 10:53 PM

    Oh yes, I knew there could be some problem.......
    Now try this:
    boolean a,b,c;
    if((a=(x >= 175 && x <= 330 && y >= 200 && y <= 235)) && !hoverButton[0]) {
                   hoverButton[0] = true;
                   repaint();
              } else if((b=(x >= 175 && x <= 330 && y >= 250 && y <= 280)) && !hoverButton[1]) {
                   hoverButton[1] = true;
                   repaint();
              } else if((c=(x >= 175 && x <= 330 && y >= 305 && y <= 335)) && !hoverButton[2]) {
                   hoverButton[2] = true;
                   repaint();
              } else if ((!a && !b && !c)&&(hoverButton[0] || hoverButton[1] || hoverButton[2]){
                        for(int i = 0; i < 3; i++) {
                             hoverButton[i] = false;
                        repaint();
              }hope it works........
    Edited by: T.B.M on Nov 8, 2008 10:41 PM

  • Need help with applet related problems

    First of all hello to everyone. I'm new to this forum. I usually can solve my problems google-ing around, but this time I just ran out of ideas.
    I'm trying to develop a jni applet that can run native code for performance. I used netbeans so far and the applet works great when run from within the ide. At some point a managed to make the applet run inside firefox and iexplore, however somehow i screwed something up and now i can't make it run anymore. I don't really know what i did but i think it may be related to these lines in the console since everything up until awt works fine in the applet:
    basic: JNLP2ClassLoader.findLibrary: Looking up native library: jawt.dll
    network: Looking up native library in: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\jawt.dll
    basic: Native library jawt.dll not found
    Ofc i may be wrong.
    This also my be a local problem because a friend of mine tried the applet himself and said it's working.
    All the jars are selfsigned.
    below i posted the console output in case you want to take a look. Also I am interested about the "try again.." messages that seem to pop over and over again.
    Java Plug-in 1.6.0_27
    Using JRE version 1.6.0_27-b07 Java HotSpot(TM) Client VM
    User home directory = C:\Users\Gladiator
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition value null
    security: property package.definition new value com.sun.javaws
    security: property package.definition value com.sun.javaws
    security: property package.definition new value com.sun.javaws,com.sun.deploy
    security: property package.definition value com.sun.javaws,com.sun.deploy
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
    security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
    network: Created version ID: 1.6.0.27
    network: Created version ID: 1.6
    network: Created version ID: 1.6.0.27
    network: Created version ID: 1.6
    network: Created version ID: 1.6.0.27
    network: Created version ID: 1.6
    network: Created version ID: 1.6.0.27
    network: Created version ID: 1.6
    network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp, version: null]
    network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp, version: null]
    network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp, version: null]
    network: ResponseCode for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp : 200
    network: Encoding for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp : null
    network: Sever response: (length: 564, lastModified: Wed Sep 07 16:30:17 EEST 2011, downloadVersion: null, mimeType: application/x-java-jnlp-file)
    network: Downloading resource: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
         Content-Length: 564
         Content-Encoding: null
    network: Wrote URL file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp to File C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\57\7465fe39-7a36cd96-temp
    network: Cache: Enable a new CacheEntry: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
    temp: new XMLParser with source:
    temp: <?xml version="1.0" encoding="UTF-8"?>
    <jnlp href="launch.jnlp">
    <information>
    <title>test app</title>
    <vendor>Raven</vendor>
    </information>
    <resources>
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" />
    <jar href="SpaceGame.jar" main="true" />
    </resources>
    <resources os="Windows">
    <nativelib href="lib/swt.jar"/>
    </resources>
    <applet-desc
    name="test app"
    main-class="javatest.JTest"
    width="800"
    height="600">
    </applet-desc>
    <security>
    <all-permissions/>
    </security>
    </jnlp>
    temp:
    returning ROOT as follows:
    <jnlp href="launch.jnlp">
    <information>
    <title>test app</title>
    <vendor>Raven</vendor>
    </information>
    <resources>
    <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
    <jar href="SpaceGame.jar" main="true"/>
    </resources>
    <resources os="Windows">
    <nativelib href="lib/swt.jar"/>
    </resources>
    <applet-desc name="test app" main-class="javatest.JTest" width="800" height="600"/>
    <security>
    <all-permissions/>
    </security>
    </jnlp>
    temp: returning LaunchDesc from XMLFormat.parse():
    <jnlp spec="1.0+" codebase="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/" href="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp">
    <information>
    <title>test app</title>
    <vendor>Raven</vendor>
    <homepage href="null"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="timeout" policy="always"/>
    <resources>
    <java href="http://java.sun.com/products/autodl/j2se" version="1.6+"/>
    <jar href="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar" download="eager" main="true"/>
    <nativelib href="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar" download="eager" main="false"/>
    </resources>
    <applet-desc name="test app" main-class="javatest.JTest" documentbase="file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.html" width="800" height="600"/>
    </jnlp>
    network: CleanupThread used 16572 us
    basic: Plugin2ClassLoader.addURL2 called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
    basic: Plugin2ClassLoader.addURL2 called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
    basic: Plugin2ClassLoader.drainPendingURLs addURL called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
    basic: Plugin2ClassLoader.drainPendingURLs addURL called for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
    network: No Custom Progress jar
    network: LaunchDownload: concurrent downloads from LD: 4
    network: Total size to download: -1
    network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar, version: null]
    network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar, version: null]
    network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar, version: null]
    network: Cache entry not found [url: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar, version: null]
    network: ResponseCode for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar : 200
    network: ResponseCode for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar : 200
    network: Encoding for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar : null
    network: Encoding for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar : null
    network: Sever response: (length: 12948, lastModified: Tue Sep 06 22:46:50 EEST 2011, downloadVersion: null, mimeType: application/x-java-archive)
    network: Sever response: (length: 2007707, lastModified: Tue Sep 06 22:47:10 EEST 2011, downloadVersion: null, mimeType: application/x-java-archive)
    network: CleanupThread used 1 us
    network: Downloading resource: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
         Content-Length: 12,948
         Content-Encoding: null
    network: Downloading resource: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
         Content-Length: 2,007,707
         Content-Encoding: null
    network: Wrote URL file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar to File C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\5\26fb4185-10c9079c-temp
    network: Validating file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar , version null...
    security: Blacklist revocation check is enabled
    security: Trusted libraries list check is enabled
    network: Cache: Enable a new CacheEntry: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
    network: CleanupThread used 1 us
    network: Downloaded file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar: file:/C:/Users/Gladiator/AppData/LocalLow/Sun/Java/Deployment/cache/6.0/5/26fb4185-10c9079c
    network: Download Progress: jarsDone: 1
    network: Wrote URL file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar to File C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-temp
    network: Validating file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar , version null...
    network: Cache: Enable a new CacheEntry: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
    network: CleanupThread used 2 us
    network: Downloaded file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar: file:/C:/Users/Gladiator/AppData/LocalLow/Sun/Java/Deployment/cache/6.0/10/1082924a-7851bf5e
    network: Download Progress: jarsDone: 2
    network: Created version ID: 1.6+
    network: Created version ID: 1.6.0.27
    network: Created version ID: 1.6.0.27
    network: Created version ID: 1.6
    basic: LaunchDesc location: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
    network: Created version ID: 1.0+
    network: Created version ID: 6.0.18
    security: Validating signatures for file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
    security: TustedSet null
    security: Empty trusted set for [file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp]
    security: Round 1 (0 out of 2):file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
    security: Entry [file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar] is not prevalidated. Revert to full validation of this JAR.
    security: Round 2 (0 out of 2):file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
    security: Validating cached jar url=file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar ffile=C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\5\26fb4185-10c9079c com.sun.deploy.cache.CachedJarFile@698403
    security: Round 2 (1 out of 2):file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
    security: Validating cached jar url=file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar ffile=C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e com.sun.deploy.cache.CachedJarFile@e80842
    security: Have 1 common certificates after processing file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
    security: Istrusted: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp false
    security: Accessing keys and certificate in Mozilla user profile: null
    security: Loading Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
    security: Loaded Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: Start to check whether root CA is replaced
    security: The root CA hasnt been replaced
    security: No timestamping info available
    security: Found jurisdiction list file
    security: No need to checking trusted extension for this certificate
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: This OCSP End Entity validation is disabled
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    security: Checking if certificate is in Deployment session certificate store
    security: User has granted the priviledges to the code for this session only
    security: Adding certificate in Deployment session certificate store
    security: Added certificate in Deployment session certificate store
    security: Saving certificates in Deployment session certificate store
    security: Saved certificates in Deployment session certificate store
    security: Mark trusted: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
    basic: LD - All JAR files signed: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/launch.jnlp
    basic: passing security checks; secureArgs:true, allSigned:false
    basic: continuing launch in this VM
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: Start to check whether root CA is replaced
    security: The root CA hasnt been replaced
    security: No timestamping info available
    security: Found jurisdiction list file
    security: No need to checking trusted extension for this certificate
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: This OCSP End Entity validation is disabled
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    security: Checking if certificate is in Deployment session certificate store
    basic: JNLP2ClassLoader.findClass: javatest.JTest: try again ..
    basic: JNLP2ClassLoader.getPermissions() ..
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: Start to check whether root CA is replaced
    security: The root CA hasnt been replaced
    security: No timestamping info available
    security: Found jurisdiction list file
    security: No need to checking trusted extension for this certificate
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: This OCSP End Entity validation is disabled
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    security: Checking if certificate is in Deployment session certificate store
    basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
    security: JAVAWS AppPolicy Permission requested for: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/SpaceGame.jar
    basic: JNLP2ClassLoader.getPermissions() X
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: Start to check whether root CA is replaced
    security: The root CA hasnt been replaced
    security: No timestamping info available
    security: Found jurisdiction list file
    security: No need to checking trusted extension for this certificate
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: This OCSP End Entity validation is disabled
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    security: Checking if certificate is in Deployment session certificate store
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.events.PaintListener: try again ..
    basic: JNLP2ClassLoader.getPermissions() ..
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: Start to check whether root CA is replaced
    security: The root CA hasnt been replaced
    security: No timestamping info available
    security: Found jurisdiction list file
    security: No need to checking trusted extension for this certificate
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: This OCSP End Entity validation is disabled
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    security: Checking if certificate is in Deployment session certificate store
    basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
    security: JAVAWS AppPolicy Permission requested for: file:/C:/Users/Gladiator/Documents/NetBeansProjects/spacegame~svn/SpaceGame/dist/lib/swt.jar
    basic: JNLP2ClassLoader.getPermissions() X
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.SWTEventListener: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Drawable: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Layout: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.layout.FillLayout: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Composite: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Scrollable: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Control: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Widget: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Shell: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Decorations: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Canvas: try again ..
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Validate the certificate chain using CertPath API
    security: Obtain certificate collection in Root CA certificate store
    security: Obtain certificate collection in Root CA certificate store
    security: Start to check whether root CA is replaced
    security: The root CA hasnt been replaced
    security: No timestamping info available
    security: Found jurisdiction list file
    security: No need to checking trusted extension for this certificate
    security: The CRL support is disabled
    security: The OCSP support is disabled
    security: This OCSP End Entity validation is disabled
    security: Checking if certificate is in Deployment denied certificate store
    security: Checking if certificate is in Deployment permanent certificate store
    security: Checking if certificate is in Deployment session certificate store
    basic: Applet loaded.
    basic: Applet resized and added to parent container
    basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 81605 us, pluginInit dt 2397573 us, TotalTime: 2479178 us
    basic: JNLP2ClassLoader.findClass: javatest.JTest$1: try again ..
    basic: Applet initialized
    C:\Users\Gladiator\AppData\Roaming
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Display: try again ..
    basic: Removed progress listener: null
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Device: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TEXTMETRICW: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TEXTMETRIC: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TEXTMETRICA: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LOGFONTW: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LOGFONT: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LOGFONTA: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NONCLIENTMETRICSW: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NONCLIENTMETRICS: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NONCLIENTMETRICSA: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Event: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OS: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.C: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Platform: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFO: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOW: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOA: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOEXW: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOEX: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.OSVERSIONINFOEXA: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Lock: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Library: try again ..
    basic: JNLP2ClassLoader.findLibrary: Looking up native library: swt-win32-3735.dll
    network: Looking up native library in: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-win32-3735.dll
    basic: JNLP2ClassLoader.findLibrary: native library found: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-win32-3735.dll
    basic: Applet made visible
    basic: Starting applet
    basic: completed perf rollup
    basic: Applet started
    basic: Told clients applet is started
    basic: JNLP2ClassLoader.findLibrary: Looking up native library: swt-win32-3735.dll
    basic: JNLP2ClassLoader.findLibrary: native library found: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-win32-3735.dll
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.TCHAR: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.ACTCTX: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.DLLVERSIONINFO: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.STARTUPINFO: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Display$1: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Font: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Resource: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.Callback: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.WNDCLASS: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.TaskBar: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Listener: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.PAINTSTRUCT: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.GCData: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.GC: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.PROPERTYKEY: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.HIGHCONTRAST: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.MSG: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Synchronizer: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.SWT: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.SWTError: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.SWTException: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Cursor: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMHDR: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMLVDISPINFO: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.awt.SWT_AWT: try again ..
    basic: JNLP2ClassLoader.findLibrary: Looking up native library: jawt.dll
    network: Looking up native library in: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\jawt.dll
    basic: Native library jawt.dll not found
    basic: JNLP2ClassLoader.findLibrary: Looking up native library: swt-awt-win32-3735.dll
    basic: JNLP2ClassLoader.findLibrary: native library found: C:\Users\Gladiator\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\10\1082924a-7851bf5e-n\swt-awt-win32-3735.dll
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.MenuItem: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Item: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.Menu: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMTTDISPINFOA: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMTTDISPINFO: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.NMTTDISPINFOW: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.ToolTip: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.awt.SWT_AWT$11: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.awt.SWT_AWT$13: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.EventTable: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.WINDOWPOS: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.LRESULT: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.win32.RECT: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Point: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.internal.SerializableCompatibility: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.graphics.Rectangle: try again ..
    basic: JNLP2ClassLoader.findClass: javatest.JTest$3: try again ..
    basic: JNLP2ClassLoader.findClass: org.eclipse.swt.widgets.TypedListener: try again ..
    -----

    I am sorry for bold, i came here to ask for help. I used bold to differentiate output from my questions since i couldn't find tags.
    I already validated jnlp using JaNeLA and got only optimization suggestions.
    As I said in first post, this works for a friend of mine, so it's possible a local issue with my java or something ...
    Also i reinstalled jre/jdk 7.0, then uninstalled and installed latest jre/jdk 6.
    Hope I didn't leave a bad impression, i just want help.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Java noob needing help - First applet won't compile

    I'm trying to make a simple audio player applet for a web page. The basic way it works is: There are four buttons Play 1, Play 2, Play 3 and Stop, as well as a label for applet credits, a label for music credits and a label for the applet's current status.
    This is the applet so far:
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    public class wifflesaudio extends Applet implements MouseListener {
    add(new Label("(applet credits"));
    add(new Label("(music credits"));
    Label labelDoing = new Label("Stopped");
    Button buttonOne = new Button("Play 1");
    Button buttonTwo = new Button("Play 2");
    Button buttonThree = new Button("Play 3");
    Button buttonStop = new Button("Stop");
    add(buttonOne);
    add(buttonTwo);
    add(buttonThree);
    add(buttonStop);
    addMouseListener(this);
    String clipName[] = {getParameter("clipOne"),
    getParameter("clipTwo"),
    getParameter("clipThree")};
    AudioClip clipOne;
    AudioClip clipTwo;
    AudioClip clipThree;
    int whichIsPlaying = 0;
    public void loadClip(int clipNumber) {
    switch (clipNumber) {
    case 1:
    if (AudioClip.clipOne == null) {
    try {
    labelDoing = "Loading clip 1...";
    clipOne = Applet.newAudioClip(newURL(getCodeBase(), clipName[1]));
    catch (MalformedURLException e) {
    labelDoing = "WARNING: clip 1 didn't load";
    if (clipOne != null) {
    clipTwo.stop();
    clipThree.stop();
    clipOne.loop();
    whichIsPlaying = 1;
    break;
    case 2:
    if (clipTwo == null) {
    try {
    labelDoing = "Loading clip 2...";
    clipTwo = Applet.newAudioClip(newURL(getCodeBase(), clipName[2]));
    catch (MalformedURLException e) {
    labelDoing = "WARNING: clip 2 didn't load";
    if (clipTwo != null) {
    clipOne.stop();
    clipThree.stop();
    clipTwo.loop();
    whichIsPlaying = 2;
    break;
    case 3:
    if (clipThree == null) {
    try {
    labelDoing = "Loading clip 3...";
    clipThree = Applet.newAudioClip(newURL(getCodeBase(), clipName[3]));
    catch (MalformedURLException e) {
    labelDoing = "WARNING: clip 3 didn't load";
    if (clipTwo != null) {
    clipOne.stop();
    clipTwo.stop();
    clipThree.loop();
    whichIsPlaying = 3;
    break;
    public void actionPerformed(ActionEvent evt) {
    Button source = (Button)evt.getSource();
    if (source.getLabel().equals("Play 1")) {
    loadClip(1);
    if (source.getLabel().equals("Play 2")) {
    loadClip(2);
    if (source.getLabel().equals("Play 3")) {
    loadClip(3);
    if (source.getLabel().equals("Stop")) {
    clipOne.stop();
    clipTwo.stop();
    clipThree.stop();
    Naturally, it doesn't work. When I try to compile it with javac I get 21 errors thrown back at me. Being the noob that I am I have absolutely no idea why it isn't working, so I'm turning to all you clever people for some advice. :)

    Think anyone's going to copy your code into their own machine and compile it to see those messages for you? Well I did. Since there are a zillion error messages, I think it's fair to help a little bit:
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    // no need to implement MouseListener
    // see below
    public class wifflesaudio extends Applet {
        Label labelDoing = new Label("Stopped");
        Button buttonOne = new Button("Play 1");
        Button buttonTwo = new Button("Play 2");
        Button buttonThree = new Button("Play 3");
        Button buttonStop = new Button("Stop");
        String[] clipName;
        AudioClip clipOne;
        AudioClip clipTwo;
        AudioClip clipThree;
        int whichIsPlaying = 0;
        // statements in JAVA must be located with methods or constructors
        // here is the default constructor (with no param)
        wifflesaudio() {
            add(new Label("(applet credits"));
            add(new Label("(music credits"));
            add(buttonOne);
            add(buttonTwo);
            add(buttonThree);
            add(buttonStop);
            clipName = new String[3];
            clipName[0] = getParameter("clipOne");
            clipName[1] = getParameter("clipTwo");
            clipName[2] = getParameter("clipThree");
            addMouseListener(new wifflesaudioMouseListener()); // instead of addMouseListener(this)
        public void loadClip(int clipNumber) {
            switch (clipNumber) {
            case 1:
                if (clipOne == null) {
                    try {
                        // To set the text of a label, you must use setText() method.
                        labelDoing.setText("Loading clip 1...");
                        clipOne = newAudioClip(new URL(getCodeBase(), clipName[1])); // 'new URL' instead of 'newURL'
                    } catch (MalformedURLException e) {
                        // To set the text of a label, you must use setText() method.
                        labelDoing.setText("WARNING: clip 1 didn't load");
                if (clipOne != null) {
                    clipTwo.stop();
                    clipThree.stop();
                    clipOne.loop();
                    whichIsPlaying = 1;
                break;
            case 2:
                if (clipTwo == null) {
                    try {
                        // To set the text of a label, you must use setText() method.
                        labelDoing.setText("Loading clip 2...");
                        clipTwo = newAudioClip(new URL(getCodeBase(), clipName[2])); // 'new URL' instead of 'newURL'
                    } catch (MalformedURLException e) {
                        // To set the text of a label, you must use setText() method.
                        labelDoing.setText("WARNING: clip 2 didn't load");
                if (clipTwo != null) {
                    clipOne.stop();
                    clipThree.stop();
                    clipTwo.loop();
                    whichIsPlaying = 2;
                break;
            case 3:
                if (clipThree == null) {
                    try {
                        // To set the text of a label, you must use setText() method.
                        labelDoing.setText("Loading clip 3...");
                        clipThree = newAudioClip(new URL(getCodeBase(), clipName[3])); // 'new URL' instead of 'newURL'
                    } catch (MalformedURLException e) {
                        // To set the text of a label, you must use setText() method.
                        labelDoing.setText("WARNING: clip 3 didn't load");
                if (clipTwo != null) {
                    clipOne.stop();
                    clipTwo.stop();
                    clipThree.loop();
                    whichIsPlaying = 3;
                break;
        public void actionPerformed(ActionEvent evt) {
            Button source = (Button)evt.getSource();
            if (source.getLabel().equals("Play 1")) {
                loadClip(1);
            if (source.getLabel().equals("Play 2")) {
                loadClip(2);
            if (source.getLabel().equals("Play 3")) {
                loadClip(3);
            if (source.getLabel().equals("Stop")) {
                clipOne.stop();
                clipTwo.stop();
                clipThree.stop();
        // Extending MouseAdapter instead of implementing MouseListener
        // allows NOT to code ALL the methods from MouseListener
        // MouseAdapter already implements MouseListener with empty methods
        // You then just code the method(s) that is (are) needed.
        class wifflesaudioMouseListener extends MouseAdapter {
    }Please next time paste your code between code tags exactly like this:
    &#91;code&#93;
    your code
    &#91;/code&#93;
    Thank you

  • Need Help!  Applet Servlet Portlet Communication

    Hi
    My applet need to send a keyWord to let a portlet to do some operations. I know an applet can communicate with a servlet by URLConnection.But how can portlet? Can I consider a portlet as a servlet and let the applet communicate with the portlet like servlet by URLConnection? could you tell me whether this is possible?
    Thanks for your help.

    Hi
    You have a white-space in the codebase, remove it.
    If that doesn't help, make a static html page, test the Applet with it.
    /Tobias - hopes this helps

  • Really Need Help: Advanced Applet Needs

    Dear All
    I am writing a web document (HTML)
    that contains MainMenu.class
    The MainMenu.class will call the other class
    News.class when needed.
    -MainMenu.class
    (to view the main menu for my site, which directs the user to other services like News.class)
    -News.class
    (which will comunicate with the web server to retrive new data there)
    now
    News.class is heavy, so I am thinking to Install it at the client machine.
    but the News.class could be changed:
    By Me:to modify its inner methods, or add new methods
    By Client :     to hack my server, or by mistake
    so I thought that
    MainMenu.class could have a simple logic
    to check (@ machine of the client):
    =>if the News.class is there (at the client machine) and not hacked by user
    or changed for any reason,and is the same as the News.class
    at my web server ---> the News.class will run successfully
    =>if the News.class is there (at the client machine) but changed for any reason -->
    the MainMenu.class will install (DownLoad and Store) the News.class from the web server.
    =>if the News.class is there (at the client machine) and not changed,
    but differs from the one on my webserver (I modified the News.class on my web server, new version)
    -->the MainMenu.class will install (DownLoad and Store) the News.class from the web server.
    if the News.class is not there (not installed before)-->
    the MainMenu.class will install (DownLoad and Store) the News.class from the web server.
    Any Help Highly appreciated
    my question is
    How to do this ?
    Any Ideas

    I just wanted to add
    what technologies do i need
    - applet signing ?
    - access rights ?
    - how to install ????
    - how to update ????
    - how to check version ?
    what is the order of the steps ?
    Not Necesary a code ?
    THANX ALL

  • Absolute Beginner needs help with applet

    Hello folks,
    I know I have already started a topic on this, but it was getting a bit long and I wasn't getting anywhere with it. Here's my problem... first of all, I am new to Java, especially with Applets. I attempted to create the HelloWorld applet from this site's First Cup of Java tutorial. I was able to compile the java file fine, but when I attemted to add the applet to an html file, I get a message at the bottom taskbar saying "load: class HelloWorld not found". I can't figure out what is wrong with my code. I have all my files (html, java, and class files) in one folder, with no subfolders at all. In case it matters, I'm on a Windows 98 machine with IE 6.0 for my browser. Here is the code:
    First my HelloWorld.java file, which, as I said, compiles with no problems
    import java.applet.*;
    import java.awt.*;
    * The HelloWorld class implements an applet that
    * simply displays "Hello World!".
    public class HelloWorld extends Applet {
         public void paint (Graphics g) {
              //Display "Hello World!"
              g.drawString("Hello World!", 50, 25);
    }And here is the HTML file which is supposed to display the applet:
    <html>
         <head>
              <title>A Simple Program</title>
         </head>
         <body>
              Here is the output of my program:
              <applet code="HelloWorld.class" width="150" height="25">
              </applet>
         </body>
    </html>Can someone please check this and see what, if anything, is wrong?

    Hi Chris,
    This isn't going to help much. I took your Java code
    and put it in a file HelloWorld.java. I took your HTML
    code and put it in a file HelloWorld.html. I compiled
    HelloWorld.java with javac so that I had HelloWorld.class.
    I then ran the program with appletviewer by typing
    appletviewer HelloWorld.html.
    It loaded and ran fine.
    Since that sounds like exactly what you are doing,
    I'm not sure what else to suggest. (I could also
    run it by opening the HTML file with IE.)
    There are only two things that still suggest themselves,
    and they seem like long-shots:
    1) Is the file named HelloWorld.java that contains your
    code (including the capital W)? This is obviously a
    long-shot because your code shouldn't compile if this
    was set incorrectly.
    2) Is it possible that you have the CLASSPATH environmental
    variable set? Some programs (like QuickTime for Java)
    will set the CLASSPATH and then Java just stops working.
    You can find out by typing SET at the command prompt and
    looking for CLASSPATH. If you find it, then you'll probably
    need to remove it from your AUTOEXEC.BAT (in Windows 98),
    or update it to include the runtime classes for the SDK.
    --Steve                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • I need help with Applets and Multithreading

    [hello all.  first time poster. big fan of java.]
    now to the important matter: Applets and Threads
    =======================================
    1) I have an applet with that implements the runnable interface, and has one thread (and a simple animation). If I try to view this applet in the applet viewer with JGrasp, it spits an insane error telling me
    "java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)"
    but, if I run the applet through a web browser, by putting it in an html document, it runs correctly, without error
    What on earth is wrong, and how do I fix it?!?
    2) I want to put 2 threads in my applet?
    If I implement the Runnable interface, I can only have one Run() method in my applet, right?
    So how do I define behaviour for 2 threads when I only have one run method in which to define the behaviour? Can I use two threads with the runnable interface, or do I have to make objects of my own defined thread classes?
    3) I tried to make 2 threads in my applet by creating my own thread classes, and instantiating them in my applet (instead of implementing the runnable interface).
    I still get the same insane error as I mentioned in my first point (which I expected), except now, the applet won't work even when viewed through a web browser!!
    Please please help me. I am frustrated beyond belief (at what is probably a very simple problem)
    I have searched and searched all over and found no answers on this

    If I try to view this applet in the applet viewer with JGrasp, it spits an insane error telling me
    "java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)"Don't know anything about JGrasp, but it runs with pretty tight security - thats what this insane error is all about. Use the appletviewer or a browser.
    If I implement the Runnable interface, I can only have one Run() method in my applet, right?Correct
    So how do I define behaviour for 2 threads when I only have one run method in which to define the behaviour?
    Can I use two threads with the runnable interface, or do I have to make objects of my own defined thread classes?You can create two Runnable implementations (classes) in your applet.
    example (missing code)
    class MyApplet extends Applet {
      void doSomething() {
      void doSomethingElse() {
      void startThreads() {
        Thread t = new Thread(new Runnable() { public void run() { doSomething();}});
        t.start();
        t = new Thread(new Runnable2());
        t.start();
      class Runnable2 implements Runnable {
         public void run() {
           doSomethingElse();
    }If the above seems confusing, read up on anonymous and inner classes.
    3) I tried to make 2 threads in my applet by creating my own thread classesTry not subclassing thread - this causes a security check

  • NEED HELP WITH APPLETS

    I have created an applet that runs on a web page that needs to access a .csv file and read from it. When the applet runs on the web I get an error saying that "applet cant be instantaited" does this mean that there is a problem with security as mention in other topics, or is there something else wrong with it.
    Try it:
    http://www.chesterfieldac.org.uk/Results/NorthMen/2002/Match1/results.html
    Can anyone help

    Yes,
    The applet is attempting to perform an operation, i.e. read a file that is not allowed by the applet's security manager. The solution is to sign the applet. The client will then be notified the code has been verified to be from "you" and they (the client) can choose to execute outside the "sandbox" that applets default to.
    Here are a couple of links that you may find usefull:
    JDK 1.3
    http://java.sun.com/products/plugin/1.3/docs/nsobjsigning.html
    JDK 1.4
    http://java.sun.com/j2se/1.4/docs/guide/plugin/developer_guide/intranet.html
    (particularly chapters 17, 18 and 19)
    Good Luck,
    Pete

  • Need help re applet and oracle thin

    I'm having with applets when it comes to connection to the database. Here's what happened I want to integrate my Elixir report to my applet application I compiled it and I saw no error. But when I tried to run a dialog box appeared into my screen with a message
    "java.security.AccessControlException:access denied(java.util.PropertyPermission oracle.jserver.version read)"
    what's wrong with this I don't know what to do already hope you can help me figure out what's wrong with my program tnx.
    here's my html code:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="Author" content="Shem Kua">
    <meta name="GENERATOR" content="Mozilla/4.61 [en] (Win98; I) [Netscape]">
    <title>PPI Reports</title>
    </head>
    <body>
    <applet codebase="./" code="ReportApplet" archive ="report.jar,elxrt.jar, ojdbc14.jar" width=780 height=480>
    <param name=mode value="appletviewer">
    <param name=dsmfile value="sav/ppi.sav">
    <param name=template value="templates/ppi.template">
    </applet>
    </body>
    </html>

    In contrast to what many people say in this forum, it is possible to have an unsigned applet access a database. You don't even have to manipulate the client's policy-file. The requirement is that the database is located on the same machine as the applet is downloaded from.There are however other things that can break this possibility. One is the database-driver itself.
    In the case of Oracle we have tried using different versions of the driver. When using version 8.1.7 or 9.0.1 things work nicely, but when switching to version 9.2 it stops working. There is a question on OTN [1]. Let's see what Oracle has to say about it.
    [1] Problem connecting using Oracle JDBC drivers

  • Need help on Applet Programming

    Hi all,
    I have 2 java file,
    The main file is "Kell.java" and the second file is "MyFrame.java".
    I have call the Myframe.java when i pressed "Booking" button on the Kell.java, but I did know how to call the action listener for      private class searchBtnListener implements ActionListener from the Kell.java.
    Other problem is how i want to change value of lblresult in MyFrame.java when i pressed Search button.
    Can anyone help me?
    Kell.java
    import javax.swing.*;
    import javax.swing.border.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.text.DecimalFormat;
    import java.applet.*;
    public class Kell extends JApplet {
        private JPanel parentPanel, titlePanel, orderPanel;
        private JPanel bottomPanel, titleAndMenuPanel;
          private JPanel menuBtnPanel;
        private JLabel lblTitle, lblDesc;
          private JButton bookingBtn, scheduleBtn, verifyBtn;
        private ButtonGroup menuUtamaBtn;
          private CardLayout card;
    JPanel cards;
         // Applet Size
         private final Dimension appletSize = new Dimension(500, 500);
        public void init()
            // set applet size
            this.setSize(appletSize);
            * Create Panels
            parentPanel = new JPanel();
                orderPanel = new JPanel();
                titlePanel = new JPanel();
                titleAndMenuPanel = new JPanel();
                menuBtnPanel = new JPanel();
            bottomPanel = new JPanel();
            * Set Panel Layouts
                titleAndMenuPanel.setLayout(new GridLayout(2,1));
            parentPanel.setLayout(new BorderLayout());
            titlePanel.setLayout(new BoxLayout(titlePanel, BoxLayout.Y_AXIS));
            orderPanel.setLayout(new BoxLayout(orderPanel, BoxLayout.Y_AXIS));
                menuBtnPanel.setLayout(new GridLayout(1,3));
            //bottomPanel.setLayout(new BorderLayout(5,5));
            // Title
            lblTitle = new JLabel("Bookiing OnnnLiine");
            lblTitle.setFont (new Font ("Book Antiqua", Font.BOLD, 18));
            lblTitle.setAlignmentX(Component.CENTER_ALIGNMENT);
            titlePanel.add(lblTitle);
            lblDesc = new JLabel("This is the online system that....");
            lblDesc.setFont (new Font ("Book Antiqua", Font.BOLD, 18));
            lblDesc.setAlignmentX(Component.CENTER_ALIGNMENT);
            orderPanel.add(lblDesc);
               // Button
                menuUtamaBtn = new ButtonGroup();
            bookingBtn = new JButton("Booking");
            scheduleBtn = new JButton("Schedule");
            verifyBtn = new JButton("Verify");
                menuUtamaBtn.add(bookingBtn);
            menuUtamaBtn.add(scheduleBtn);
            menuUtamaBtn.add(verifyBtn);
            bookingBtn.addActionListener(new bookingBtnListener());
          //scheduleBtn.addActionListener(new scheduleBtnListener());
          //verifyBtn.addActionListener(new verifyBtnListener());
            menuBtnPanel.add(bookingBtn);
            menuBtnPanel.add(scheduleBtn);
            menuBtnPanel.add(verifyBtn);
             * Add Panels
                titleAndMenuPanel.add(titlePanel, BorderLayout.NORTH);
                titleAndMenuPanel.add(menuBtnPanel, BorderLayout.SOUTH);
            parentPanel.add(titleAndMenuPanel, BorderLayout.NORTH);
                parentPanel.add(orderPanel, BorderLayout.CENTER);
            parentPanel.add(bottomPanel, BorderLayout.SOUTH);
            add(parentPanel);
         * Listeners
          private class bookingBtnListener implements ActionListener {
            public void actionPerformed (ActionEvent event) {
                   MyFrame booking = new MyFrame();
                   parentPanel.add(booking.bookingPANEL(), BorderLayout.CENTER);
                   parentPanel.validate() ;
    }MyFrame.java
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class MyFrame
         JLabel lblresult;
         public JPanel bookingPANEL()
              JPanel bookingP = new JPanel();
              JPanel searchP = new JPanel();
              JPanel resultP = new JPanel();
              JButton searchBtn = new JButton("Search");
              bookingP.setLayout(new GridLayout(2,1));
              searchP.setLayout(new BoxLayout(searchP, BoxLayout.Y_AXIS));
              resultP.setLayout(new BorderLayout());
              JLabel lblDesc = new JLabel("Testing Booking Panel");
              lblDesc.setFont (new Font ("Book Antiqua", Font.BOLD, 18));
              lblDesc.setAlignmentX(Component.CENTER_ALIGNMENT);
              lblresult = new JLabel("Testing Search Button");
              lblresult.setFont (new Font ("Book Antiqua", Font.BOLD, 18));
              lblresult.setAlignmentX(Component.CENTER_ALIGNMENT);
              searchP.add(lblDesc);
              searchP.add(searchBtn);
              resultP.add(lblresult, BorderLayout.NORTH);
              bookingP.add(searchP, 0);
              bookingP.add(resultP, 1);
              searchBtn.addActionListener(new searchBtnListener());
              return bookingP;
         private class searchBtnListener implements ActionListener {
            public void actionPerformed (ActionEvent event) {
                   // I dont know how to change the value of lblresult     
                   //     lblresult.text = "Button has been pressed.";
    }

    Other problem is how i want to change value of
    lblresult in MyFrame.java when i pressed
    Search button.
    private class searchBtnListener implements
    s ActionListener {
    public void actionPerformed (ActionEvent
    event) {
    // I dont know how to change the value of
    of lblresult     
                   //     lblresult.text = "Button has been pressed.";
    }lblresult.setText(" new String value") ;

  • Need help on applet  chat

    Dear all,
    I need a applet chat program (source code or jar engine), including chat, voice, webcam (if possible). Please advice
    Thanks
    CAO

    Dear all,
    I need a applet chat program (source code or jar
    engine), including chat, voice, webcam (if possible).
    Please advice
    Thanks
    CAOIf you decide to do the applet yourself, to include the webcam, the JavaTwain package http://www.gnome.sk can be very usefull.
    There is an online tutorial too, where you can find an applet which uploads the image from the client's webcam (or scanner) to the server.
    If you have a camera connected to your computer, you can see how this applet works directly from the website's remote examples.
    Erika Kupkova
    Erika

  • Need help with advanced applet

    I need help with designing an applet as follows. Can someone give me a basic layout of code and material so i can fill in the rest or at leats give me some hints so i can get started since i am like no good at applets.
    Design and implement an applet that graphically displays the processing
    of a selection sort. Use bars of various heights to represent
    the values being sorted. Display the set of bars after each swap. Put
    a delay in the processing of the sort to give the human observer a
    chance to see how the order of the values changes.
    heres a website that does something similar
    http://www.cs.ubc.ca/spider/harrison/Java/sorting-demo.html

    elasolova wrote:
    i will not help you this time. but if you buy me a candy maybe i can reconsider the issue. :PI suggest an all-day sucker.

  • Need HELP with Stick Figure Applet

    I need help with this java program for college....we need to make a applet which displays a stick figure or some type of person using appleviewer..please can someone help me......
    email: [email protected]

    import java.awt.*;
    import java.applet.*;
    public class StickMan extends Applet {
         public void init() {
         public void paint(Graphics g) {
              g.drawOval(....);
              g.drawLine(....);
              g.drawLine(....);
              g.drawLine(....);
              g.drawLine(....);

Maybe you are looking for

  • Modifying existing jar file, how?

    Hi there, I have a problem trying to modify an existing jar file. When I want to create a jar file, I use something like: REM build the application on windows, assuming the java/bin REM directory is in the path environment variable REM application is

  • Photoshop CS6 has stopped opening any images

    I suddenly can't open any file type, even PSD's from Bridge or anywhere else and cant think what to do about it. Please help. Lost

  • Iphone 3g s order.

    ok i ordered my iphone 3g s on june 10th and it still has not shipped. i ordered a black 32gb iphone and it says prepared to ship. it has said that for about two days... when is it going to ship.

  • How to unselect / deselect a radio button in Reader?

    How do you unselect / deselect a radio button in Reader? Like if you have a group of radio buttons with three choices, and the end-user selects one but then wants to unselect / deselect the choice and leave that radio button group blank / unanswered.

  • Need to access settings of SF300-24p

    Hi I was just recently hired in my company, we have an sf300-24p switch but I cant find the console cable for it, I think it needs a female to female db9 serial cable, all I have is  a DB9 serial to rj45 console cable for the 2801 router, also I cant