Click here to Skip to main content
15,891,033 members
Home / Discussions / Java
   

Java

 
GeneralRe: Custom Design Surface (Hosting a Designer) possible Pin
David Skelly9-Mar-10 2:04
David Skelly9-Mar-10 2:04 
QuestionStreaming data through Website Pin
KenKen Wong7-Mar-10 13:11
KenKen Wong7-Mar-10 13:11 
AnswerRe: Streaming data through Website Pin
Nagy Vilmos7-Mar-10 21:47
professionalNagy Vilmos7-Mar-10 21:47 
GeneralRe: Streaming data through Website Pin
KenKen Wong8-Mar-10 18:50
KenKen Wong8-Mar-10 18:50 
GeneralRe: Streaming data through Website Pin
Richard MacCutchan8-Mar-10 22:32
mveRichard MacCutchan8-Mar-10 22:32 
AnswerRe: Streaming data through Website Pin
Richard MacCutchan7-Mar-10 22:51
mveRichard MacCutchan7-Mar-10 22:51 
QuestionCalling main() in Java??? Pin
AmbiguousName5-Mar-10 9:12
AmbiguousName5-Mar-10 9:12 
AnswerRe: Calling main() in Java??? Pin
Richard MacCutchan5-Mar-10 9:49
mveRichard MacCutchan5-Mar-10 9:49 
This is the wrong way to do it. Use your main() method to drive the application. If you need some function to execute repeatedly then either call it (if static) direct from main, or create a new object of the class and call its method(s) within some control loop. So in your sample above main() should create a new object of class A and repeatedly call someMethod().
txtspeak is the realm of 9 year old children, not developers. Christian Graus

GeneralRe: Calling main() in Java??? Pin
TorstenH.7-Mar-10 22:54
TorstenH.7-Mar-10 22:54 
GeneralRe: Calling main() in Java??? Pin
Richard MacCutchan7-Mar-10 23:56
mveRichard MacCutchan7-Mar-10 23:56 
AnswerRe: Calling main() in Java??? Pin
David Skelly7-Mar-10 22:27
David Skelly7-Mar-10 22:27 
GeneralRe: Calling main() in Java??? Pin
AmbiguousName8-Mar-10 1:36
AmbiguousName8-Mar-10 1:36 
QuestionCommand Line Interface in JAVA?? Pin
AmbiguousName4-Mar-10 5:56
AmbiguousName4-Mar-10 5:56 
AnswerRe: Command Line Interface in JAVA?? Pin
Richard MacCutchan4-Mar-10 21:24
mveRichard MacCutchan4-Mar-10 21:24 
AnswerRe: Command Line Interface in JAVA?? Pin
Nagy Vilmos4-Mar-10 22:16
professionalNagy Vilmos4-Mar-10 22:16 
QuestionHow to zip a text file in gzip format Pin
msubbaraodba25-Feb-10 0:51
msubbaraodba25-Feb-10 0:51 
AnswerRe: How to zip a text file in gzip format Pin
David Skelly25-Feb-10 1:16
David Skelly25-Feb-10 1:16 
QuestionVector3d with floating values. Pin
002comp24-Feb-10 19:28
002comp24-Feb-10 19:28 
AnswerRe: Vector3d with floating values. Pin
Cedric Moonen24-Feb-10 20:32
Cedric Moonen24-Feb-10 20:32 
GeneralRe: Vector3d with floating values.(Solved) Pin
002comp24-Feb-10 22:20
002comp24-Feb-10 22:20 
GeneralRe: Vector3d with floating values.(Solved) Pin
Nagy Vilmos25-Feb-10 1:34
professionalNagy Vilmos25-Feb-10 1:34 
AnswerRe: Vector3d with floating values. Pin
Arun Reginald Zaheeruddin1-Mar-10 0:11
Arun Reginald Zaheeruddin1-Mar-10 0:11 
QuestionJava Concurrent Programming guidance Pin
deed.indeed24-Feb-10 12:27
deed.indeed24-Feb-10 12:27 
AnswerRe: Java Concurrent Programming guidance Pin
Nagy Vilmos24-Feb-10 21:57
professionalNagy Vilmos24-Feb-10 21:57 
GeneralRe: Java Concurrent Programming guidance Pin
deed.indeed25-Feb-10 3:46
deed.indeed25-Feb-10 3:46 

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.