Wait, I found it. Thanks.
That was just what I needed.
User Profile
Collapse
-
No, awt.Robot was NOT in the documentation. I searched, and it was NOT thereLeave a comment:
-
-
Sorry about double post.
I tinkered with the code for a little while and got this:
...Code:open.setAccelerator( KeyStroke.getKeyStroke(KeyEvent.VK_O, Event.CTRL_MASK)); open.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { obj.setMode(FileDialog.LOAD); String filename = "Untitled";Leave a comment:
-
I took a look on the Java Documentation, and it looks like awt.robot is no longer in use. I want to make this program to type, without typing.Leave a comment:
-
Thats kind of why I posted this question-because I have no idea what to do. By telling me that I did it wrong and should do it myself, you helped me in no way. I still do not know what to do to make it work.Leave a comment:
-
Simulating Pressed Keys
I do not know how to even start with something like this. How would you make the computer think you are pressing certain keys without the user actually pressing them? -
-
I assume you mean:
I didn't work. :(Code:[B]public[/B] FileDialog obj = new FileDialog(this);
Am I doing something wrong?Leave a comment:
-
-
Adding input?
Hey Everyone!
After using Devshed (possibly the worst forum I have ever encountered) I have come here with my questions and answers about Java, Python, VB, Basic C++, HTML, Game Maker, and Uni-Gasp. So, greetings!
On to the question: I have been working on a Text editor a little bit, and hit a dead halt. I can not figure out how to import text into my program. I have what I thought would work in my code, but it just...
No activity results to display
Show More
Leave a comment: