Floating button is AWT?
问题 So, I've always avoided using GUIs in java because, personally, I can't stand GUIs. But, I've started a project which requires me to use GUIs, and, unsurprisingly, I'm having problems.. I have this bit of code.. public class DefaultWindow extends Window { private DefaultWindow(Frame owner) { super(owner); contained = owner; } public DefaultWindow() { this(new Frame("")); contained.setBackground(Color.black); contained.setLocation(0, 0); contained.setSize(1280,720); Button comp = new Button(