Explain steps for the creation, accessing of a package and how can you convert a package into an executable jar?
Answers
Answered by
0
Answer:
import javax.swing.*;
public class First{
First(){
JFrame f=new JFrame();
JButton b=new JButton("click");
b.setBounds(130,100,100, 40);
f.add(b);
f.setSize(300,400);
f.setLayout(null);
f.setVisible(true);
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
}
public static void main(String[] args) {
new First();
}
}
Similar questions