This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
i just want to know that weather the background ms-dos window when we start any application in java (by typing java "MainClassName" or by directly by doubleclicking .jar file in window explorer) can be eliminated, so that my java applicationss look like any other WINDOWS application. ------------------ Just Joined
Just Joined
Cindy Glass
"The Hood"
Sheriff
Joined: Sep 29, 2000
Posts: 8521
posted
0
If you use javaw instead of just java you don't get the window. >javaw mainclass
"JavaRanch, where the deer and the Certified play" - David O'Meara
ssk_p
Greenhorn
Joined: Jun 11, 2001
Posts: 4
posted
0
hi i used this javaw but when i click on the shortcut of my application still the dos - window visible for 1 second . I didn't get why it is happing ( i am trying it on windows 2000) do u have nay idea .. please reply . thanx -ssk_p
amol bakre
Greenhorn
Joined: May 21, 2001
Posts: 25
posted
0
hi! The jar file solution is perfect for your problem.put all the class files and icons and images etc(resources)in the jar file .Create a file in notepad name it Maifest.mtf in the file specify the following:- Main-Class: mainfile (mainfile is the entry point of your application,or simply put the class file containing public static void main) in the Manifest file ,include this file in your jar archive. make a short cut on the desktop pointing to this jar file woolah you have yourself what you wanted amol
ssk_p
Greenhorn
Joined: Jun 11, 2001
Posts: 4
posted
0
Originally posted by amol bakre: hi! The jar file solution is perfect for your problem.put all the class files and icons and images etc(resources)in the jar file .Create a file in notepad name it Maifest.mtf in the file specify the following:- Main-Class: mainfile (mainfile is the entry point of your application,or simply put the class file containing public static void main) in the Manifest file ,include this file in your jar archive. make a short cut on the desktop pointing to this jar file woolah you have yourself what you wanted amol
hi amol .. Can u please tell me what will be ythe location os mainfest.mtf file .And Do i have to add all the filenames in this mainfest.mtf ?? please reply thanx -ssk_p