Click here to Skip to main content
15,179,246 members
Home / Discussions / Java
   

Java

 
GeneralRe: Student Report Program Pin
Richard MacCutchan9-Jun-10 5:29
mveRichard MacCutchan9-Jun-10 5:29 
QuestionHow to clone(Deep clone) instance variables in a class and it to the clone object of that class? Pin
PJanaki6-Jun-10 21:48
MemberPJanaki6-Jun-10 21:48 
AnswerRe: How to clone(Deep clone) instance variables in a class and it to the clone object of that class? Pin
David Skelly6-Jun-10 23:24
MemberDavid Skelly6-Jun-10 23:24 
GeneralRe: How to clone(Deep clone) instance variables in a class and it to the clone object of that class? Pin
PJanaki7-Jun-10 0:11
MemberPJanaki7-Jun-10 0:11 
GeneralRe: How to clone(Deep clone) instance variables in a class and it to the clone object of that class? Pin
David Skelly7-Jun-10 3:41
MemberDavid Skelly7-Jun-10 3:41 
GeneralRe: How to clone(Deep clone) instance variables in a class and it to the clone object of that class? Pin
PJanaki8-Jun-10 4:48
MemberPJanaki8-Jun-10 4:48 
GeneralRe: How to clone(Deep clone) instance variables in a class and it to the clone object of that class? Pin
David Skelly8-Jun-10 6:25
MemberDavid Skelly8-Jun-10 6:25 
QuestionAltering .class files or recompiling isolated .java ones Pin
Abrojus3-Jun-10 15:38
MemberAbrojus3-Jun-10 15:38 
Hello there,

We have this module at work who nobody knows where the source code is.
It was behaving erratically on certain scenarios so i decided to decompile it (using DJ Java decompiler which btw works wonderfully) and found the problem line.

Now the how to fix it, i can think of 2 ways:
1) I decompile everything, change the line and recompile
The module is pretty large in amount of classes and submodules. I dont really feel confident that i can recompile everything right.

2) Editing the .class file somehow. Now i grabbed a class file editor that showed me bytecode, the method names and the variables declared in it, but no real way to edit a line out (or maybe hardcode a variable somehow).

So basically i am asking for advice on option #2 or maybe some other option i am unaware of. Thanks
AnswerRe: Altering .class files or recompiling isolated .java ones Pin
Richard MacCutchan3-Jun-10 23:01
mveRichard MacCutchan3-Jun-10 23:01 
AnswerRe: Altering .class files or recompiling isolated .java ones Pin
CodingLover8-Jun-10 7:29
MemberCodingLover8-Jun-10 7:29 
GeneralRe: Altering .class files or recompiling isolated .java ones Pin
Upendra Jariya28-Jul-10 5:57
MemberUpendra Jariya28-Jul-10 5:57 
QuestionI want some ideas guys Pin
B.Sudhir2-Jun-10 18:13
MemberB.Sudhir2-Jun-10 18:13 
AnswerRe: I want some ideas guys Pin
Dr.Walt Fair, PE2-Jun-10 18:35
professionalDr.Walt Fair, PE2-Jun-10 18:35 
GeneralRe: I want some ideas guys Pin
B.Sudhir2-Jun-10 19:29
MemberB.Sudhir2-Jun-10 19:29 
AnswerRe: I want some ideas guys Pin
Richard MacCutchan2-Jun-10 22:26
mveRichard MacCutchan2-Jun-10 22:26 
GeneralRe: I want some ideas guys Pin
CodingLover3-Jun-10 1:23
MemberCodingLover3-Jun-10 1:23 
GeneralRe: I want some ideas guys Pin
Richard MacCutchan3-Jun-10 3:35
mveRichard MacCutchan3-Jun-10 3:35 
QuestionJFrame backGround Color Pin
002comp1-Jun-10 3:16
Member002comp1-Jun-10 3:16 
AnswerRe: JFrame backGround Color Pin
42774801-Jun-10 10:14
Member42774801-Jun-10 10:14 
GeneralRe: JFrame backGround Color Pin
002comp7-Jun-10 20:02
Member002comp7-Jun-10 20:02 
Questionjava2d Pin
bensalah31-May-10 1:50
Memberbensalah31-May-10 1:50 
AnswerRe: java2d Pin
Richard MacCutchan31-May-10 2:11
mveRichard MacCutchan31-May-10 2:11 
AnswerRe: java2d Pin
Cedric Moonen31-May-10 2:29
MemberCedric Moonen31-May-10 2:29 
QuestionSelect All, Cut, Copy and Paste option in canvas Pin
bensalah30-May-10 14:16
Memberbensalah30-May-10 14:16 
AnswerRe: Select All, Cut, Copy and Paste option in canvas Pin
Richard MacCutchan30-May-10 22:38
mveRichard MacCutchan30-May-10 22:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.