Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts

Monday, March 18, 2013

WindowBuilder for Java GUI applications

7:50 PM
WindowBuilder for Java GUI applications
WindowBuilder more details click here

Wednesday, March 14, 2012

How to give command line arguments in eclipse

9:25 AM
How to give command line arguments in eclipse
It's simple,
Create a test programe on eclipse IDE.


public class NameArguments {
public static void main(String[] args) {
System.out.println("First Name " + args[0]);
System.out.println("Last Name " + args[1]);
}
}


Goto: Run->Run Configurations




in that window select Arguments tab and give the arguments(only the arguments)
Notice that there is at least one space between every two arguments.
Then just click Apply




execute the code.
output would be


First Name Pradeep
Last Name Rathnayaka