Hopes my title explains a lot, but if it's still a little vague. I'll try to explain it a bit more. I would like to pass a variable I have in my main to my JFrame. In my main I calculate which...
Type: Posts; User: java()
Hopes my title explains a lot, but if it's still a little vague. I'll try to explain it a bit more. I would like to pass a variable I have in my main to my JFrame. In my main I calculate which...
I have a question about classes and functions. When to use which one? After some research I came to the conclusion always to use classes (OOP) except if I need to pass a parameter. Am I correct or is...
I expected to see it on my screen of course, for example it types "qwerty" in notepad. But I just managed to fix my problem. I already tried KeyPress/Release before but now I keep it pressed for a...
So I'm trying to simulate a keystroke I used the following code (see below). When I open notepad it works but when I open the game in which I want to use it, it doesn't do anything. So keystrokes...
It is working, you pointed me in the right direcition. It was the start command. for googlers who land on this page. I used the following, not sure why this is working but it does.
package...
When I change the command to: "notepad" it opened notepad as suspected.
I started this week with Java so I’m a beginner, not sure if my question is as well, so I post it here. I would like my application to execute a command in cmd. The command looks like
So my...