Jar bookmark

Started on the old forum in August 2010 · view the original in the archive · old links redirect here

#jar-file-bookmark

No replies · 861 views · started 16 years ago · 1 min read

BioBeo Developer · 67 posts #1

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

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

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

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

No one could help you If you don't help yourself. My facebook

Attachments: biobeo.zip

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close