Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write software for Windows using Java? [closed]

I have just learned Java in my college. However, in that I can just write programs that are run in the command line. How can I create GUI softwares using Java, something like Notepad? I'm really sorry for asking such a basic question on this forum, but I am really interested in writing real-world software. Also, I've heard a lot about Python. How can I develop similar software using Python?

like image 495
johngreen Avatar asked Sep 08 '10 19:09

johngreen


People also ask

How do I close a different program in Java?

exec("taskkill /F /IM cwserv5.exe"); This will force the process with image name cwserv5.exe to end. If you don't want to force it to end, don't use the /f tag.

Can Java be used for desktop applications?

As mentioned, Java can be used to create desktop applications. These applications can have attractive interfaces and designs, they can store and retrieve data from a database, and much more. For desktop application development, you can use Java Frameworks to build Graphical User Interfaces (GUI).


2 Answers

Java: Trail: Creating a GUI With JFC/Swing

Python: GUI Programming in Python

And since you mentioned creating a simple text editor, here's an example.

like image 156
Bart Kiers Avatar answered Sep 18 '22 13:09

Bart Kiers


You can use Eclipse to develop Java GUI/desktop applications for Windows.

http://www.eclipse.org/downloads/

NetBeans is also an option.

For Python, check these links:

GUI Programming in Python

Is Python any good for GUI development?

like image 41
Leniel Maccaferri Avatar answered Sep 19 '22 13:09

Leniel Maccaferri