how to use setLocation to move componets
问题 I'm trying to set the components of this application to a set location using setLocation so far i haven't been able to move the components. There is more code but its get calling and setting this code for the most part. any ideas? import javax.swing.*; public class HangmanPanel extends JPanel { private static final long serialVersionUID = -5793357804828609325L; public HangmanPanel(){ JLabel heading = new JLabel("Welcome to the Hangman App"); JButton Button = new JButton("Ok"); //Button