Click here to Skip to main content
15,898,766 members
Home / Discussions / Java
   

Java

 
GeneralRe: Student Report Program Pin
Richard MacCutchan9-Jun-10 4:29
mveRichard MacCutchan9-Jun-10 4:29 
QuestionHow to clone(Deep clone) instance variables in a class and it to the clone object of that class? Pin
PJanaki6-Jun-10 20:48
PJanaki6-Jun-10 20: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 22:24
David Skelly6-Jun-10 22:24 
GeneralRe: How to clone(Deep clone) instance variables in a class and it to the clone object of that class? Pin
PJanaki6-Jun-10 23:11
PJanaki6-Jun-10 23: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 2:41
David Skelly7-Jun-10 2: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 3:48
PJanaki8-Jun-10 3: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 5:25
David Skelly8-Jun-10 5:25 
QuestionAltering .class files or recompiling isolated .java ones Pin
Abrojus3-Jun-10 14:38
Abrojus3-Jun-10 14: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 22:01
mveRichard MacCutchan3-Jun-10 22:01 
AnswerRe: Altering .class files or recompiling isolated .java ones Pin
CodingLover8-Jun-10 6:29
CodingLover8-Jun-10 6:29 
GeneralRe: Altering .class files or recompiling isolated .java ones Pin
Upendra Jariya28-Jul-10 4:57
Upendra Jariya28-Jul-10 4:57 
QuestionI want some ideas guys Pin
B.Sudhir2-Jun-10 17:13
B.Sudhir2-Jun-10 17:13 
AnswerRe: I want some ideas guys Pin
Dr.Walt Fair, PE2-Jun-10 17:35
professionalDr.Walt Fair, PE2-Jun-10 17:35 
GeneralRe: I want some ideas guys Pin
B.Sudhir2-Jun-10 18:29
B.Sudhir2-Jun-10 18:29 
AnswerRe: I want some ideas guys Pin
Richard MacCutchan2-Jun-10 21:26
mveRichard MacCutchan2-Jun-10 21:26 
GeneralRe: I want some ideas guys Pin
CodingLover3-Jun-10 0:23
CodingLover3-Jun-10 0:23 
GeneralRe: I want some ideas guys Pin
Richard MacCutchan3-Jun-10 2:35
mveRichard MacCutchan3-Jun-10 2:35 
QuestionJFrame backGround Color Pin
002comp1-Jun-10 2:16
002comp1-Jun-10 2:16 
AnswerRe: JFrame backGround Color Pin
42774801-Jun-10 9:14
42774801-Jun-10 9:14 
GeneralRe: JFrame backGround Color Pin
002comp7-Jun-10 19:02
002comp7-Jun-10 19:02 
Questionjava2d Pin
bensalah31-May-10 0:50
bensalah31-May-10 0:50 
AnswerRe: java2d Pin
Richard MacCutchan31-May-10 1:11
mveRichard MacCutchan31-May-10 1:11 
AnswerRe: java2d Pin
Cedric Moonen31-May-10 1:29
Cedric Moonen31-May-10 1:29 
QuestionSelect All, Cut, Copy and Paste option in canvas Pin
bensalah30-May-10 13:16
bensalah30-May-10 13:16 
AnswerRe: Select All, Cut, Copy and Paste option in canvas Pin
Richard MacCutchan30-May-10 21:38
mveRichard MacCutchan30-May-10 21: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.