a) JMenubar b;
b) mySlider = JSlider(1000,222,100,450);
c) gbc.fill =GridBagConstraints.NORTHWEST; // set fill
d) // override to paint on a customized Swing component
public voidpaintcomponent(Graphics g)
{
g.drawString("HELLO",50,50);
}
e) // create a JFrame and display it
JFrame f =newJFrame("A Window");
f.setVisible(true);
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here