Labels

Hi, how comes when i change the background colour of the labels, the background colour doesn't change when i run the program?
[133 byte] By [djsinlesa] at [2007-11-26 16:40:44]
# 1

> Hi, how comes when i change the background colour of

> the labels, the background colour doesn't change when

> i run the program?

Either because the program didn't repaint yet or because the background color is not what you expect or because the lable is not opaque and you don't see any background.

Next time ask in the Swing forum please.

CeciNEstPasUnProgrammeura at 2007-7-8 23:07:40 > top of Java-index,Java Essentials,Java Programming...
# 2
thanks, do you know anyway of extracting java code files from jar files?
djsinlesa at 2007-7-8 23:07:40 > top of Java-index,Java Essentials,Java Programming...
# 3
> thanks, do you know anyway of extracting java code> files from jar files?jar.exe or WinZIP or any other zipping tool you like.
CeciNEstPasUnProgrammeura at 2007-7-8 23:07:40 > top of Java-index,Java Essentials,Java Programming...
# 4
But say the jar file didn't contain any java files, what then? can i still get the java files in another way?
djsinlesa at 2007-7-8 23:07:40 > top of Java-index,Java Essentials,Java Programming...
# 5
google decomplier!! the .jar file contains the .class files so you going to have to decomplie them? should you ben viewing them if they didnt come with the source any way?
Nibura at 2007-7-8 23:07:40 > top of Java-index,Java Essentials,Java Programming...
# 6
so, first i have to decompile jar file to get to the class files, then convert class files to java files, right?
djsinlesa at 2007-7-8 23:07:40 > top of Java-index,Java Essentials,Java Programming...
# 7
> so, first i have to decompile jar file to get to the> class files, then convert class files to java files,> right?Wrong. You have to decompile the .class files. Please note that you're often enough not allowed to.
CeciNEstPasUnProgrammeura at 2007-7-8 23:07:40 > top of Java-index,Java Essentials,Java Programming...
# 8
what do u mean not allowed to?
djsinlesa at 2007-7-8 23:07:40 > top of Java-index,Java Essentials,Java Programming...
# 9
> what do u mean not allowed to?Decompilation is sometimes prohibited by law. Check the license agreement for the software you want to decompile.
CeciNEstPasUnProgrammeura at 2007-7-8 23:07:40 > top of Java-index,Java Essentials,Java Programming...
# 10
ok Firstly the reason that you dont have the code is that they didnt want you do have it! secondly if they didnt want t you to have it that badly they would have obfuscatated the code
Nibura at 2007-7-8 23:07:40 > top of Java-index,Java Essentials,Java Programming...
# 11
ok, im using a mac, i have a jar file, what's the best software to use to extract the files from the jar file? Can you send me a link?
djsinlesa at 2007-7-8 23:07:40 > top of Java-index,Java Essentials,Java Programming...
# 12
> secondly if they didnt want t you to have it that> badly they would have obfuscatated the codeWhat do you mean by that?
djsinlesa at 2007-7-8 23:07:40 > top of Java-index,Java Essentials,Java Programming...