Jar bookmark

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Jar bookmark

    I have converted the class files into jad files but is there any ways to convert again them into class file from jad file.. heres the code



    :

    Wapday.class as Wapday.jad

    HTML Code:
    import javax.microedition.lcdui.Display;
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.midlet.MIDletStateChangeException;
    
    public class Wapday extends MIDlet
    {
    
        public Wapday()
        {
            d = "http://biobeo.com/";
            d = d.trim();
            a = Display.getDisplay(this);
            Wapday wapday;
            (wapday = this).b = new b();
            c = new a(this);
        }
    
        public void startApp()
        {
            a.setCurrent(b);
            c.start();
        }
    
        public void pauseApp()
        {
        }
    
        public void destroyApp(boolean flag)
        {
            a = null;
            b = null;
            c = null;
            d = null;
        }
    
        static String a(Wapday wapday)
        {
            return wapday.d;
        }
    
        private Display a;
        private b b;
        private a c;
        private String d;
    }
    a.class as a.jad

    HTML Code:
    import java.io.PrintStream;
    import javax.microedition.io.ConnectionNotFoundException;
    
    public final class a extends Thread
    {
    
        public a(Wapday wapday)
        {
            b = wapday;
        }
    
        public final void run()
        {
            a = Thread.currentThread();
            try
            {
                Thread.sleep(2000L);
                b.platformRequest(Wapday.a(b));
            }
            catch(InterruptedException interruptedexception)
            {
                System.out.println("Exception: \n" + interruptedexception.getMessage());
            }
            catch(ConnectionNotFoundException connectionnotfoundexception)
            {
                System.out.println(connectionnotfoundexception.getMessage());
            }
            b.destroyApp(true);
            b.notifyDestroyed();
        }
    
        private Thread a;
        private final Wapday b;
    }
    b.class as b.jad

    HTML Code:
    import java.io.PrintStream;
    import javax.microedition.lcdui.*;
    
    public final class b extends Canvas
    {
    
        public b()
        {
            a = getWidth();
            b = getHeight();
            setFullScreenMode(true);
            try
            {
                c = Image.createImage("/logo.png");
                return;
            }
            // Misplaced declaration of an exception variable
            catch(b this)
            {
                System.out.println("Unable to load image: " + getMessage());
            }
        }
    
        public final void paint(Graphics g)
        {
            g.setColor(255, 255, 255);
            g.fillRect(0, 0, a, b);
            g.setColor(0, 0, 0);
            if(a == 0 || b == 0)
            {
                g.drawImage(c, 0, 0, 20);
                return;
            } else
            {
                g.drawImage(c, a / 2, b / 2, 3);
                return;
            }
        }
    
        private int a;
        private int b;
        private Image c;
    }
    here is the file

    Added after 3 minutes:

    Here is the original file
    Attached Files
    Last edited by BioBeo; 12.08.10, 04:31.
Working...
X