Click here to Skip to main content
15,559,567 members
Home / Discussions / Java
   

Java

 
GeneralRe: Radio Button Selected Pin
MallardsReach26-Mar-20 3:55
MallardsReach26-Mar-20 3:55 
GeneralRe: Radio Button Selected Pin
MallardsReach26-Mar-20 5:15
MallardsReach26-Mar-20 5:15 
QuestionUser defined Method Pin
MallardsReach24-Mar-20 3:56
MallardsReach24-Mar-20 3:56 
AnswerRe: User defined Method Pin
Richard MacCutchan24-Mar-20 5:18
mveRichard MacCutchan24-Mar-20 5:18 
GeneralRe: User defined Method Pin
MallardsReach24-Mar-20 8:39
MallardsReach24-Mar-20 8:39 
GeneralRe: User defined Method Pin
Richard MacCutchan24-Mar-20 8:44
mveRichard MacCutchan24-Mar-20 8:44 
GeneralRe: User defined Method Pin
MallardsReach24-Mar-20 9:29
MallardsReach24-Mar-20 9:29 
GeneralRe: User defined Method Pin
Richard MacCutchan24-Mar-20 11:16
mveRichard MacCutchan24-Mar-20 11:16 
The thing to remember is when you start any code block is to add the braces first. You can then fill in the actual code afterwards:
Java
int someMethod(int parameter)
{
    // TODO: the details must be added here
}
int someOtherMethod(int parameter)
{
    while (some expression)
    {
         // TODO: more details required
    }
    if (some boolean expression
    {
        // TODO: check some stuff
    }
}


But always remember, making mistakes is how we all learned ...
GeneralRe: User defined Method Pin
MallardsReach24-Mar-20 23:17
MallardsReach24-Mar-20 23:17 
QuestionJTextArea Pin
MallardsReach23-Mar-20 1:48
MallardsReach23-Mar-20 1:48 
AnswerRe: JTextArea Pin
Richard MacCutchan23-Mar-20 1:54
mveRichard MacCutchan23-Mar-20 1:54 
QuestionCalling a Method at run time Pin
MallardsReach21-Mar-20 23:32
MallardsReach21-Mar-20 23:32 
AnswerRe: Calling a Method at run time Pin
Richard MacCutchan22-Mar-20 0:29
mveRichard MacCutchan22-Mar-20 0:29 
GeneralRe: Calling a Method at run time Pin
MallardsReach22-Mar-20 1:38
MallardsReach22-Mar-20 1:38 
GeneralRe: Calling a Method at run time Pin
Richard MacCutchan22-Mar-20 1:48
mveRichard MacCutchan22-Mar-20 1:48 
GeneralRe: Calling a Method at run time Pin
MallardsReach22-Mar-20 2:08
MallardsReach22-Mar-20 2:08 
GeneralRe: Calling a Method at run time Pin
Richard MacCutchan22-Mar-20 5:08
mveRichard MacCutchan22-Mar-20 5:08 
GeneralRe: Calling a Method at run time Pin
MallardsReach22-Mar-20 7:00
MallardsReach22-Mar-20 7:00 
QuestionMouse Dragged Event Pin
MallardsReach18-Mar-20 12:15
MallardsReach18-Mar-20 12:15 
AnswerRe: Mouse Dragged Event Pin
Richard MacCutchan18-Mar-20 22:47
mveRichard MacCutchan18-Mar-20 22:47 
GeneralRe: Mouse Dragged Event Pin
MallardsReach18-Mar-20 23:07
MallardsReach18-Mar-20 23:07 
GeneralRe: Mouse Dragged Event Pin
Richard MacCutchan19-Mar-20 1:01
mveRichard MacCutchan19-Mar-20 1:01 
GeneralRe: Mouse Dragged Event Pin
Richard MacCutchan19-Mar-20 1:06
mveRichard MacCutchan19-Mar-20 1:06 
GeneralRe: Mouse Dragged Event Pin
MallardsReach19-Mar-20 1:32
MallardsReach19-Mar-20 1:32 
QuestionBest Practice? Pin
MallardsReach15-Mar-20 10:41
MallardsReach15-Mar-20 10:41 

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.