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?
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.
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).
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.
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With