Big Ideas, Little Knowledge
I'm new to Java (obviously), but I have big ideas. Ideas bigger than my knowledge, time, or attention span. I have some very basic programming knowledge; I I've used DarkBASIC, HampsterSpeak, and can sort of figure out what a JS is doing. That's about it. So for now, I'm going to ask some simple questions. Hopefully the answers are simple, too.
First off, is there an easy way to set up a button (the GUI was built in NetBeans) to send any arbitrary Windows command to a command prompt? For example, a button issues TRACERT command with any URL the user inputs, then the output from the command prompt is written in a separate text field within the Java program. Or a button that issues the IPCONFIG /all command, then outputs the IP address, MAC address, Subnet Mask, etc., into the aforementioned text field.