I am trying to make a program for my brother which he should think it is a fake virus. Here is the code.

import java.awt.BorderLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.Robot;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;

public class FirstWindow extends JFrame {

private static final long serialVersionUID = 1L;

String s;

public FirstWindow() {
super("Your computer has a virus!");

s = "Good job kid, now you are being hacked. \n";

setSize(600, 400);

JPanel p2 = new JPanel(new GridBagLayout());
JPanel p = new JPanel();
JButton b = new JButton ("Remove Virus");
JLabel label = new JLabel("We have detected unwanted suspicious software.");
JLabel label2 = new JLabel("To remove this unwanted software, just click the remove button.");

GridBagConstraints gbc = new GridBagConstraints();
gbc.insets = new Insets(15, 15, 15, 15);

gbc.gridx = 0;
gbc.gridy = 5;
p2.add(label, gbc);
gbc.gridx = 0;
gbc.gridy = 6;
p2.add(label2, gbc);

add(p, BorderLayout.SOUTH);
add(p2, BorderLayout.CENTER);

b.addActionListener(new ActionListener() {

public void actionPerformed(ActionEvent e) {
// TODO Auto-generated method stub
JOptionPane.showMessageDialog(null, s);



And basicly right after JOption at the end I want a loop for the mouse to move in a circle. I am new to java and please help. It is a really awesome idea and I will disguise the program as minecraft or something because he likes that game. The reason there is no public static void main (String [] args) throws Exception { is because it is on another class which looks like this.

public class StartHere {
public static void main(String []args) throws Exception {

FirstWindow fw = new FirstWindow();