Top "Awt" questions

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

Clear a transparent BufferedImage as fast as possible

I have a transparent BufferedImage created with the following code(not relevant how it is created, I think): GraphicsEnvironment ge = …

java awt bufferedimage graphics2d
Apple Retina Display Support in Java JDK 1.7 for AWT / Swing

I just became aware that AWT / Swing under Java JDK 1.7 (as of JDK 7u15) does not support Retina displays on …

java swing awt java-7 retina-display
serialVersionUID field warning in eclipse

I have just started on AWT and made a simple program in it, it works fine but it shows a …

java serialization awt serialversionuid
Copying to global clipboard does not work with Java in Ubuntu

The following code from a standalone application works in ubuntu: import java.awt.Toolkit; import java.awt.datatransfer.Clipboard; import …

java swing ubuntu awt copy-paste
SWT and AWT, what is the difference?

I understand that this question is rather general and kind of a holy war. Could you explain to me why …

java swt awt
Fastest way to create a Java message dialog (swing/awt/other)?

I'm creating a Java application that will do some processing then needs to display a message to give the user …

java user-interface swing dialog awt
Repaint frame when resized?

How would I force a Frame to repaint() immediately after it is maximized, or resized? I can't find what method …

java awt frame repaint maximize
java.lang.NoClassDefFoundError: java.awt.Container

I am trying to install Visual Paradigm for UML. During the installation it crashes. This is the stack trace: Unpacking …

java awt
Save FileDialog in Java strips initial file extension

I'm using java.awt.FileDialog to create a dialog for saving a file. The problem is that when I specify …

java awt filedialog
Custom Fonts in Java

How to fix problem with custom fonts in Java? For example, my app uses font, that isn't on all computers. …

java graphics fonts awt custom-font