How Do I Run Multiple instances .java Files (running one of them as an Object or Method) -


i using netbeans ide java 1.8.0

what doing wrong here? want use output.java - believe - method. possible or not?

as mentioned earlier, using netbeans gui editor, automatically added main attribute.

(please keep in mind have started using java week now, concept of methods , objects.)

*edit

public class main {     output.main. = new jtextfield(); } 

and

public jtextfield getin() {     return in; } 

where

jtextfield = getin(); string out = out.settext(); 

in , out jtextfields

in java, run program, class needs have method "public static void main(string[] args)" defined. when attempt run java object compiling "javac myclass.java" , "java myclass", main method begins running.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -