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

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.

  • Beginner needs help with inserting images in applet.

    //  Name: Sachit Harish
    //  Name of Program: HorseRacing
    //  Date Started: May 15, 2003
    //  Date Finished: 2003
    //  Program Description:
    import java.awt.*;
    import java.applet.*;
    public class HorseRacing extends Applet
    //     Button startGameButton;
         InputField betAmountBox;
         Image redHorse; //<---------//
    //     Button[] drawings = new Button[4];      
    //    String[] labels =  {"Face", "Cheese", "Stick", "Mashed Potatoes"};
        //  Method Name: init()
        //  Parameters Passed: None
        //  Data Returned: None
        //  Method Purpose: Where we initialise the InputBoxes and colors.
        public void init()         
          //     startGameButton=new Button("Click to Start Game");
          //     add(startGameButton);
          /*  for(int i=0; i<drawings.length; i++)
                 drawings=new Button (labels[i]);     
         add(drawings[i]);
    inputBoxes();     
    setBackground(Color.gray); //background color
    setForeground(Color.black); //input field text color
    redHorse = getImage(getCodeBase(), "horse_red.GIF"); //<---------//
    // Method Name: paint()
    // Parameters Passed: Graphics variable screen
    // Data Returned: None
    // Method Purpose: Where the programs calls and collects all the methods.
    //                         If high and low are not integers, an error message
    //                         appears.
    public void paint(Graphics screen)
         //screen.drawString("HORSE RACES!!!!!", 40,60);
         //startGameButton.move(50,300);
         betAmountBox.setPosition(115,200);
         startGame();
         if(betAmountBox.isInt())
              int betAmount=getBetAmount();
         else
    screen.drawString("ERROR: You have not entered an Integer!", 10,110);
    screen.drawString(" Please correct your mistake.", 40,125);
         /*int xPos=10;
         int yPos=10;
         for(int i=0; i<drawings.length; i++)
              drawings[i].move(xPos,yPos);
              xPos+=60;
         screen.drawString("Click each button and get a surprise!", 10,50);*/
    // Method Name: inputBoxes()
    // Parameters Passed: None
    // Data Returned: None
    // Method Purpose: Where we initialise the inputboxes, set the size of
    // the InputField and adds it to the screen. Also
    // initialises the InputField to start with 1's
    void inputBoxes()
    betAmountBox = new InputField(5);
    add(betAmountBox);
    betAmountBox.initialise(50);
    // Method Name: getBetAmount()
    // Parameters Passed: Variable number
    // Data Returned: None
    // Method Purpose: Returns the variable number back to the paint()
    int getBetAmount()
    int betAmount=betAmountBox.toInt();
    return betAmount;
    // Method Name: action()
    // Parameters Passed: Event variable evt, Object varible obj
    // Data Returned: Variable true
    // Method Purpose: This block responds when the user takes an action
    // (such as hitting the return key). It causes the paint
    // block to be done again
    public boolean action(Event evt, Object arg)
    Graphics screen=getGraphics();
    if(evt.target instanceof Button)
         if(arg=="Click to Start Game")
              screen.clearRect(0,0,600,600);
              startGame();
    /*if(evt.target instanceOf Button)
                   if(arg=="Face")
                        screen.clearRect(5,55,400,400);
                        faceDrawing();
                   else if (arg=="Cheese")
                        screen.clearRect(5,55,400,400);
                        cheeseDrawing();
                   else if (arg=="Stick")
                        screen.clearRect(5,55,400,400);
                        stickDrawing();
                   else if (arg=="Mashed Potatoes")
                        screen.clearRect(5,55,400,400);
                        potatoeDrawing();
    return true;
    void startGame()
    Graphics screen=getGraphics();
              //Horse Racing Box
              screen.drawRect(10,10,505,120);
              screen.drawLine(60,10,60,130);
              screen.drawLine(10,40,515,40);
              screen.drawLine(10,70,515,70);
              screen.drawLine(10,100,515,100);               
              screen.setColor(Color.red);
              screen.fillRect(11,11,49,29);
              screen.setColor(Color.yellow);
              screen.fillRect(11,41,49,29);
              screen.setColor(Color.blue);
              screen.fillRect(11,71,49,29);
              screen.setColor(Color.orange);
              screen.fillRect(11,101,49,29);
              screen.setColor(Color.black);
              //Betting Box          
              screen.drawRect(10,150,280,100);     
              screen.drawLine(10,185,290,185);
              screen.drawLine(80,150,80,185);
              screen.drawLine(150,150,150,185);
              screen.drawLine(220,150,220,185);
              screen.setColor(Color.red);
              screen.fillRect(11,151,69,34);
              screen.setColor(Color.yellow);
              screen.fillRect(81,151,69,34);
              screen.setColor(Color.blue);
              screen.fillRect(151,151,69,34);
              screen.setColor(Color.orange);
              screen.fillRect(221,151,69,34);
              screen.setColor(Color.black);
              screen.drawString("BET = ", 40,230);
    screen.drawImage(redHorse, 200,200,300,300,this); //<---------//      
    The picture an't showing up... why? First time trying to insert images. (I made arrows where I did stuff with the image.)
    -sachit

    BTW, ignore the buttons and stuff. I just quickly grabbed this file from an earlier button program. :p
    -sachit

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Need help with adding images option

    I was using the add images option a few weeks ago just fine.. using my tablet and uploading the images via usb. then all of the sudden it stopped working.
    please help with this issue.
    Danny

    A few questions. What result are you experiencing? Did PS Touch crash? Have you tried to force quit-and restart PS Touch? -Guido

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

  • New to AI and need help with individual images

    Hi,
    A client sent me her website mock up as an .eps file.  I can open that in Illustrator but I'm having a hard time "grabbing" the individual images and putting them into Fireworks and then ultimately they need to make their way to Dreamweaver (I know how to do that part!)
    Can I get some help on saving the individual images in the design so that I can use them again?
    Thanks
    Debi

    It's important to note you don't have to use any other app. But if you're unfamiliar with Ai, it may be easier.
    If you've got an item you can't seem to select in Ai you need to check if it's locked, the layer's panel should show a little lock next to any locked object. That's another one of those questions that's practically impossible to answer effectively without seeing the file.

  • Need help with Rollover Image cross browser problem

    Hello,
    I am having a cross browser problem with my websites rollover nav links.  The trouble is, while they work perfectly fine in IE8 and IE9, I’ve also attempted to use them through Opera, and they simply don’t work.  They don’t link nor do they do their rollover effect.  And I was trying to figure out what I have done wrong.  Currently the site is not completed, but the first two pages are, the “news” and “about me” pages are currently (as of right now) working.  The address to the site is below.
    http://maxmetal.xsustudios.com/index.html
    I hope that someone can help me with this, if needs be I can put the code for the CSS and HTML into this part if it will save some time for everyone.  Sorry too about the PNG images, I have to change those over to semi-transparent GIF’s yet so the site does take a while to load…
    Hope someone can help me with this!
    PALADIN

    When I disable CSS in my browser, the rollover buttons work just fine.  This tells me your CSS is messed up and you've layered something over your menus which is making them inaccessible to users.
    I noticed you've applied relative positioning to just about everything on your page.  Why?   Default CSS positioning (unspecified or static) is all you need for 98% of layouts.
         Learn CSS positioning in 10 Steps
         http://www.barelyfitz.com/screencast/html-training/css/positioning/
    My advice would be to start over using a pre-built CSS Template with all the divisions and columns you're likely to need for this project.  Below are some good links to get you on the right track.
    For professional CSS Templates that are rock solid & perform well in all browsers, visit Project Seven:
    http://www.projectseven.com/products/index.htm
    Ultimate Multi-Column Layouts
    http://matthewjamestaylor.com/blog/ultimate-multi-column-liquid-layouts-em-and-pixel-width s
    Not Just a Grid CSS Framework
    http://www.notjustagrid.com/demo.asp
    EZ-CSS Templates (watch the screencast to see how it works)
    http://www.ez-css.org/css_templates
    Dreamweaver CSS Templates for beginners
    http://www.adobe.com/devnet/dreamweaver/articles/dreamweaver_custom_templates.html
    New DW Starter Pages
    http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html
    Good luck with your project!
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Need help with my image filter

    hi guys,
    so i'm making this image filter for school in Labview but can't get it to work properly, to do the filtering i'm using a formula node, which in my eyes is easier then with only labview functions.
    for the C code i'm following this website: http://lodev.org/cgtutor/filtering.html
    i don't copy exact every line, i'm only copying the lines i need. note that i don't use the "ColorRGB" class because it doesn't exist in a formula node, i do the filtering on a black and white image so don't really need it.
    I adjusted to code so that it would work in my formula node.
    if i run the vi and select the attached image file (can't attach .bmp files so i included a link for the img file) for input then it just returns the original image, which is good and also bad, good because the code works in some way but bad because it doesn't do any filtering or such.
    Could anyone please look into this and give me some tips or tell me what i'm doing wrong?
    and if anyone knows how to do this in RGB you are always welcome to give me tips.  
    used image file: http://www13.zippyshare.com/v/74810991/file.html  (can't attach bmp files so i uploaded it quickly)
    (btw i know there is this toolkit called vision which has many functions that could help me, but the teacher already said we can't use that)
    i hope somebody can assist me in this and willing to give me some help.
    Grtz Stino
    Attachments:
    filter.vi ‏22 KB

    Darin.K wrote:
    Yes there are two bugs, I found the other one first but figured if you fixed the result the other would be obvious.  This is homework so only a hint:
    look at what happens (and does not happen) to pixel. 
    the first bug was that i had to use the 'result[][]' array instead of the 'image[][]' array in my last loop, right?
    the 2nd bug I really can't find :s been lookin at it for almost an hour now and trying new stuff but nothing works, 
    first i thought i had to put this line " result[x][y] = min(max(int((factor2 * pixel) + bias2), 0), 255);"  inside the for loop above but that didn't fix my problem,
    maybe the problem is in my 'imageX' and 'imageY' variable, i don't know? any more tips?
    I'm sorry for being such a newb but programming isn't my strongest quality.
    cedhoc wrote:
    Just one more advice:
    Look at the format of the "image" array. The way how to use the values from this array depends on the "image depth" parameter. 
    In your case, because the image is 8bit, you need to use the "colors" array containing the real RGB value.
    Look at the Help for the "Read BMP File VI", you should be able to properly handle your pixels from there.
     thanks for pointing that out for me, so I connect the 'totalpix' array with the 'colors' array from the image data instead of the 'image' array, that's correct right?

  • 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 getting images to look smooth (without the bitmap squares) around the edges. When I transfer the image from pictures, it sets itself into the InDesign layout, but with square edges. I need to find out how to get it to look smooth?

    Need to find out how to get my images transferred into an InDesign layout without the rough edges, as with a bit map image, but to appear with smooth edges in the layout. I can notice it more when I enlarge the file (pic). How can I get it to appear smooth in the finished layout. Another thing too that I noticed; it seems to have effected the other photos in the layout. They seem to be
    pixelated too after I import the illustration (hand drawn artwork...)? Any assistance with this issue will be greatly appreciated. Thanks in advance.

    No Clipboard, no copy & paste, as you would not get the full information of the image.
    When you paste you can't get the image info from the Links panel, but you can get resolution and color info either via the Preflight panel or by exporting to PDF and checking the image in Acrobat.
    Here I've pasted a 300ppi image, scaled it, and made a Preflight rule that catches any image under 1200ppi. The panel gives me the effective resolution of the pasted image as 556ppi. There are other workflow reasons not to paste—you loose the ability to easily edit the original and large file sizes—but pasting wouldn't cause a loss in effective resolution or change in color mode.

  • 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 with flash images

    i have been all over forums asking this question. i hope someone helps me here.
    okay i purchased a template to make a website for a book.
    in the unedited purchased template, on the products page, there is an image gallery.
    there are four thumbnails that are just default for the template.
    when i open flash cs4, and open the library panel, and scroll to where these thumbnails are located, i am having trouble replacing the images with my own.
    i use photoshop to resize my images to the EXACT same size as the images that came with the template.
    okay. i double click the thumbnail in the library and a window pops up that shows the thumbnail with buttons like update, import, etc.
    well i click "import" so that i can replace the image with my own.
    it seems to work at first. BUT....
    when i click "save" in cs4 and then test movie and go to the products page, it was there and replaced, but it all acted CRAZY!! like the image would jump to the other thumbnails, or it would blink in and out and sometimes it would effect the entire template!!! what am i doing wrong? how can replace those thumbnails with my own and have it work correctly?
    here is the link:
    http://www.charrleslieministries.com/projects/main_v8.html    then click on the products button. thanks for any help.     michael

    it's not likely you're going to get much help in a forum.  you're problem is related to the specifics of your template and you probably don't understand how the template works.
    you're best bet is to see if you can get someone to download your fla and fix it for you.

  • Need Help with swap image

    I've got this page with a Spry collapsible panel in
    it. No problems getting that to work, but I'd like to be able to
    use an image in the tab and have that image 1) change on click to
    expand text and then 2) change back again on collapse text. I've
    got #1 figured out but can't get the image to return back to its
    original state on collapse. Basically, I'm using the image as a
    "show detail" "hide detail" function. HELP! I know there must be a
    way to do it. Or maybe a different way than Spry. You can view the
    page at
    http://www.ivy-design.com/tip/people.html

    ivydesign123 wrote:
    >
    I've got this page with a Spry collapsible panel in
    it. No problems
    > getting that to work, but I'd like to be able to use an
    image in the tab and
    > have that image 1) change on click to expand text and
    then 2) change back again
    > on collapse text. I've got #1 figured out but can't get
    the image to return
    > back to its original state on collapse. Basically, I'm
    using the image as a
    > "show detail" "hide detail" function. HELP! I know there
    must be a way to do
    > it. Or maybe a different way than Spry. You can view the
    page at
    >
    http://www.ivy-design.com/tip/people.html
    Looks like you want to use a toggle image. Try adding this to
    the script block at the top of the page:
    function toggleShowHideImages(imgID, personName){
    var img = MM_findObj(imgID);
    if(img.src.indexOf('-hide') > -1){ // if showing the
    hidden image
    MM_swapImage(imgID,'','images/bio-'+ personName
    +'-show.jpg',1);
    else{ // if showing the show image
    MM_swapImage(imgID,'','images/bio-'+ personName
    +'-hide.jpg',1);
    Then replace the current onmousedown with:
    onmousedown="toggleShowHideImages('tmShow', 'mccleary');"
    Also to get better/quicker responses, you should probably
    post questions that have to to with Dreamweaver and general web
    issues in the Dreamweaver group:
    http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=12&catid=189&entercat= y
    And ask questions that are specific to Spry in the Spry
    forums:
    http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=602
    Danilo Celic
    |
    http://blog.extensioneering.com/
    | Adobe Community Expert

  • Need help with loading images in executable Jar

    Hi,
    I've developed an application using netbeans that needs to load and display images.
    I use netbeans Clean and Build function to create an executable Jar file. When I run the executable Jar file it runs fine but when I come to a section of the application that needs images it freezes and can't load the images.
    When I then return to netbeans the part of the program that did successfully run before Clean and Build doesn't work anymore and I get an error message saying Uncaught error fetching image:
    I use,
    URL url = getClass().getResource("images/image1.png");
    Image image1 = Toolkit.getDefaultToolkit().getImage(url);to load an image.
    Can someone tell me why, when I clean and build my project to create a JAR, my images fail to load.
    Should I be storing the images in a specific folder or something??
    Thanks

    I've opened the JAR using winzip and, for some reason, the JAR hasn't preserved my file structure. So, when I try to look for an image as follows:
    URL url = getClass().getResource("images/file1.png");
    Image img= Toolkit.getDefaultToolkit().getImage(url);The folder doesn't exist and so it can't find the image.
    Can someone tell me how to keep my file structure when I create the JAR or an alternative way to find the images within the JAR file.
    Cheers

Maybe you are looking for