Click here to Skip to main content
15,883,558 members
Home / Discussions / Java
   

Java

 
GeneralRe: User defined Method Pin
MallardsReach24-Mar-20 8:29
MallardsReach24-Mar-20 8:29 
GeneralRe: User defined Method Pin
Richard MacCutchan24-Mar-20 10:16
mveRichard MacCutchan24-Mar-20 10:16 
GeneralRe: User defined Method Pin
MallardsReach24-Mar-20 22:17
MallardsReach24-Mar-20 22:17 
QuestionJTextArea Pin
MallardsReach23-Mar-20 0:48
MallardsReach23-Mar-20 0:48 
AnswerRe: JTextArea Pin
Richard MacCutchan23-Mar-20 0:54
mveRichard MacCutchan23-Mar-20 0:54 
QuestionCalling a Method at run time Pin
MallardsReach21-Mar-20 22:32
MallardsReach21-Mar-20 22:32 
AnswerRe: Calling a Method at run time Pin
Richard MacCutchan21-Mar-20 23:29
mveRichard MacCutchan21-Mar-20 23:29 
GeneralRe: Calling a Method at run time Pin
MallardsReach22-Mar-20 0:38
MallardsReach22-Mar-20 0:38 
Hi Richard,
Thanks for taking the time to look and answer.
Here is the start of the code. Once I get it to work I will then read up on list. Just wanted to solve why its not working.When running the example in cmd does.
Java
public PracticeTest() {
    initComponents();
}

/**
 * This method is called from within the constructor to initialize the form.
 * WARNING: Do NOT modify this code. The content of this method is always
 * regenerated by the Form Editor.
 */
@SuppressWarnings("unchecked")


 int count=0,current=0;

/**
 *
 * @param s
 */


   set();  //set() on its own gives error, (invalid method declaration; return type required)
 {
   counter = 0
   set()  //set() like this no errors, build successful but doesn't show
 }

GeneralRe: Calling a Method at run time Pin
Richard MacCutchan22-Mar-20 0:48
mveRichard MacCutchan22-Mar-20 0:48 
GeneralRe: Calling a Method at run time Pin
MallardsReach22-Mar-20 1:08
MallardsReach22-Mar-20 1:08 
GeneralRe: Calling a Method at run time Pin
Richard MacCutchan22-Mar-20 4:08
mveRichard MacCutchan22-Mar-20 4:08 
GeneralRe: Calling a Method at run time Pin
MallardsReach22-Mar-20 6:00
MallardsReach22-Mar-20 6:00 
QuestionMouse Dragged Event Pin
MallardsReach18-Mar-20 11:15
MallardsReach18-Mar-20 11:15 
AnswerRe: Mouse Dragged Event Pin
Richard MacCutchan18-Mar-20 21:47
mveRichard MacCutchan18-Mar-20 21:47 
GeneralRe: Mouse Dragged Event Pin
MallardsReach18-Mar-20 22:07
MallardsReach18-Mar-20 22:07 
GeneralRe: Mouse Dragged Event Pin
Richard MacCutchan19-Mar-20 0:01
mveRichard MacCutchan19-Mar-20 0:01 
GeneralRe: Mouse Dragged Event Pin
Richard MacCutchan19-Mar-20 0:06
mveRichard MacCutchan19-Mar-20 0:06 
GeneralRe: Mouse Dragged Event Pin
MallardsReach19-Mar-20 0:32
MallardsReach19-Mar-20 0:32 
QuestionBest Practice? Pin
MallardsReach15-Mar-20 9:41
MallardsReach15-Mar-20 9:41 
AnswerRe: Best Practice? Pin
Eddy Vluggen15-Mar-20 13:31
professionalEddy Vluggen15-Mar-20 13:31 
GeneralRe: Best Practice? Pin
MallardsReach15-Mar-20 21:34
MallardsReach15-Mar-20 21:34 
QuestionNetbeans Pin
MallardsReach15-Mar-20 0:13
MallardsReach15-Mar-20 0:13 
AnswerRe: Netbeans Pin
Peter_in_278015-Mar-20 0:24
professionalPeter_in_278015-Mar-20 0:24 
GeneralRe: Netbeans Pin
MallardsReach15-Mar-20 1:09
MallardsReach15-Mar-20 1:09 
AnswerRe: Netbeans Pin
Richard MacCutchan15-Mar-20 2:22
mveRichard MacCutchan15-Mar-20 2:22 

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.