Ok, I switched gears entirely. I have an entirely NEW window, which now has a checked listbox on it. The problem is, the background of the window isn't transparent. Can anyone help me with this? ...
Type: Posts; User: daltman1967
Ok, I switched gears entirely. I have an entirely NEW window, which now has a checked listbox on it. The problem is, the background of the window isn't transparent. Can anyone help me with this? ...
Ok, I've solved 1 problem. I now have the background image with foreground image on it. Here's my code:
class ImagePanel extends JPanel
{
private Image image;
private Image...
Well, when I do that, it seems as if the entire screen is the button. You see the button, centered in the screen (not placed as I specified), and no background whatsoever - just gray.
Argh!
Here's my current code:
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Toolkit;
import java.io.IOException;
import javax.swing.ImageIcon;
I am a complete Java newbie. I'm currently reading some books, but I'd like some help with what I thought would be simple things to do... except that they seem to be very, very hard. I've been...