SwingInspector 1.2.3 for Windows / Mac OS X / Linux. The SwingInspector is a Java Swing/AWT user interface analysis and debugging tools. It likes firebug.
I meant keyboard buttons not JButtons. In fact I am using a KeyListener not ActionListener. I am also already using a null layout for everything. In fact I have already made it so you can use keyboard buttons to move the objects but you have to keep pressing the buttons instead of holding them down then it takes forever to get it going anywhere. I do not see how the way I was using with threads does not work but it doesn't so I will try out your way and see how I can use this. Thanks I hope I can figure it out from here.
– Aug 14 '13 at 15:49. Use for moving the panel and add mouseListener to the panel and override mousePressed and mouseReleased methods. UPDATE: From Comments: The OP said I want to move the panel with Keyboard buttons.
You didn't mentioned Keyboard in the question, you just said buttons, anyway, Take this tutorial on, it'll help you for now and future. Come back if you had a question, I will post an example for moving the panel, but right now, I am not posting it because I am sure you'll not read the tutorial, you'll just copy my example and leave reading the tuts.
A major convenience upgrade would be to use a background script, automatically setting the resolution per application, while you can set different resolutions for different (multiple) applications at once. That is exactly what the script below does. An example of a default resolution of 1680x1050: Running gedit, automatically changing to 640x480: Running gnome-terminal, automatically changing to 1280x1024: When the application is closed, the resolution is automatically set back to 1680x1050 How to use.
Copy the script below into an empty file, save it as setresolution.py. In the head of the script, set your default resolution, in the line: #- set the default resolution below default = '1680x1050' #-. In the very same directory (folder), create a textfile, exactly named: procsdata.txt. In this textfile, set the desired application or process, followed by a space, followed by the desired resolution. One application or script per line, looking like: gedit 640x480 gnome-terminal 1280x1024 java 1280x1024.
Run the script by the command: python3 /path/to/setresolution.py Note The script use pgrep -f, which catches all matches, including scripts. The possible downside is that it can cause name clashes when opening a file with the same name as the process.