Top "Awt" questions

The Abstract Window Toolkit (AWT) is Java's original platform-independent windowing, graphics, and user-interface widget toolkit.

How to move a mouse smoothly throughout the screen by using java?

There is a mouseMove()method that makes the pointer jump to that location. I want to be able to make …

java eclipse awt awtrobot
JFrame repaint() issues - Java

I want to be able to draw using Java's paint() on a JFrame. When I click the JFrame (anywhere for …

java awt jframe validation repaint
Java: ImageIcon vs. Image difference

Could anyone explain to me in noob way what the difference is betweeen ImageIcon and Image classes/objects in Java? …

java image swing awt imageicon
CardLayout, switch between JPanels by ButtonClick

I want to switch between JPanels by clicking buttons on the JPanels. For example: I have a JPanel sim with …

java swing awt layout-manager cardlayout
How to get the top card in Java's CardLayout

Is it possible to get the top card in Java's CardLayout? I've tried looping through each component to check for …

java layout user-interface awt cardlayout
Adding an image to a panel using Java AWT

I posted earlier about having a really messed up panel but, I fixed that by simply changing the layout (thank …

java image awt frames panels
Implementing Polygon2D in Java 2D

I'm creating a 2D game in Java using the Java2D library for drawing, and I really need a float-precision …

java awt java-2d
How to make Java look like Windows programs?

Is there a way (using Java) to make the GUIs that you create look like normal Windows programs? I don't …

java windows swing user-interface awt
Access Control Exception: access denied( "java.io.FilePermission" "[image]" "read")

I'm on my first week using Java. I don't know very much about applets, and I'm trying to learn more …

java applet awt accesscontrolexception
Disabling 'paste' in a jTextfield

I have an app that is written in Swing, awt. I want to prevent users from pasting values into the …

java swing awt jtextfield