Hallo! I have a Java Programm for Mobile Phones. It has a red menu and borders. I would like to change those into something else. The link to the file http://hostit.un-forum.net/new/205621 The official site: www.yapp.ru I tried to decompile it and i thought i was getting the real source code but when I try to "javac %FILEPATH%" in cmd it responds with some errors. seems that the The interface is built on java code only. Without any graphics (except some smilies and stuff). The top a the bottom panels as well as the menus are being drawn with the code. I am really a noob with Java, but I learn Delphi and have some feeling of the language. Can you find where is the code responsible for the GUI in the program? Thanks in advance. P.S. Do not be scared when you start the program. It is in russian.
i think it is something with the varianbles. After I decompiled the code i have a .java file. Then even if do not change anything I get an errors after "javac %FILEPATH%". I will post the errors in a moment
javac D:\Programming\java\yapp\a.java D:\Programming\java\yapp\a.java:275: a() is already defined in a public final int a() ^ D:\Programming\java\yapp\a.java:357: a(a) is already defined in a private int a(a a1) ^ D:\Programming\java\yapp\a.java:471: a(int[]) is already defined in a private static void a(int ai[]) ^ D:\Programming\java\yapp\a.java:669: a() is already defined in a private long a() ^ D:\Programming\java\yapp\a.java:843: a(int) is already defined in a private a a(int i) ^ D:\Programming\java\yapp\a.java:886: a(int,int[]) is already defined in a private static int[] a(int i, int ai[]) ^ D:\Programming\java\yapp\a.java:921: a(int,int[],int,int[]) is already defined i n a private static int[] a(int i, int ai[], int j, int ai1[]) ^ D:\Programming\java\yapp\a.java:980: a() is already defined in a public final byte[] a() ^ D:\Programming\java\yapp\a.java:1021: a(int) is already defined in a private String a(int i) ^ D:\Programming\java\yapp\a.java:70: incompatible types found : int required: a a a2 = a(i); ^ D:\Programming\java\yapp\a.java:72: incompatible types found : int required: a a1 = a1.d(a2).a(a(Character.digit(s.charAt(j), i))); ^ D:\Programming\java\yapp\a.java:414: incompatible types found : int required: int[] ai3 = a(i1, ai3); ^ D:\Programming\java\yapp\a.java:415: incompatible types found : int required: int[] ai5 = a(j1, ai5); ^ D:\Programming\java\yapp\a.java:448: incomparable types: a and int if(a1.a(b_a_static_fld) == 0) ^ D:\Programming\java\yapp\a.java:487: incompatible types found : a required: long l = a2.a(); ^ D:\Programming\java\yapp\a.java:489: int cannot be dereferenced if(flag = (ai = (a3 = a(32 * a2.a_int_array1d_fld.length).c(a2)).a_i nt_array1d_fld).length <= a2.a_int_array1d_fld.length) ^ D:\Programming\java\yapp\a.java:767: incompatible types found : int required: int[] ai2 = a(j1, ai2); ^ D:\Programming\java\yapp\a.java:906: incompatible types found : int required: a return a(-i); ^ D:\Programming\java\yapp\a.java:907: operator >= cannot be applied to int,a if(i >= a()) ^ D:\Programming\java\yapp\a.java:962: incompatible types found : a required: int if((i = a(a1)) == 0) ^ D:\Programming\java\yapp\a.java:977: cannot find symbol symbol : constructor a(int,int) location: class a return new a(a_int_fld * i, a(0, ai, 0, a3.a_int_array1d_fld)); ^ D:\Programming\java\yapp\a.java:983: incompatible types found : a required: int byte abyte0[] = new byte[(i = a()) / 8 + 1]; ^ D:\Programming\java\yapp\a.java:1018: incompatible types found : int required: java.lang.String return a(10); ^ D:\Programming\java\yapp\a.java:1041: cannot find symbol symbol : constructor a(int,int) location: class a for(a a2 = new a(a().a(16), 16); !a2.equals(a_a_static_fld); a2 = a2 .b(a1)) ^ Note: D:\Programming\java\yapp\a.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 24 errors Code (markup):
what is the right way to decompile a .jar program for mobile phones? Is it encoded in some way so that after decompiling I get broken code?