i creeat a jar file,i used system.out.println to display records on screen.but the problem when i click on jar file nothing is displayed.it is displayed only when i am opening command prompt and entering java name of file.so result is displayed on console
(msdos) but i want result to be shown on screen.
what is the best and easiest way to show a list of records in java??
any sugesstions
thanx

Provide simple GUI based on JFrame and panel where info is showed to user

i apreciate ur response,
but i want to know what is the problem that when click jar file console is not displayed?
maybe because jar is asociated with javaw.exe not java.exe.i made the change,so i associate jar with java.exe,but it gives me error and program exit quickly.
can anyone tell me steps to associate jar with java.exe not javaw.exe
thanx

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.