Question:
I have a java program how can i make it run graphically?
Rohan
2013-04-06 11:19:43 UTC
i have a java program which i created using notepad and then compiling it with command prompt. it runs in the command prompt. i wanted it to run graphically i.e using text boxes,buttons,dialog boxes etc etc
is it possible to convert my program so that it can be run graphically . If yes how i convert it into Graphical program. Please help ASAP
Three answers:
?
2013-04-06 13:29:01 UTC
Google Java swing gui

It is a built in library for gui's. when you run it you should (if youre running from command line ) type javaw.exe etc <- other arguments to run it

javaw is a graphical java that runs without the commandline
deonejuan
2013-04-06 12:07:36 UTC
You use widgets in an Applet or a JFrame. I would tell you to try NetBeans to code with.
pulkit
2013-04-06 12:07:22 UTC
use appletviewer.

after compiling in cmd use command:-

appletviewer filename


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...