What are Swing applications?
I mark him as brainliest
Answers
Answered by
1
Answer:
Follow me and give thanks...
Explanation:
The Swing Application Framework (JSR 296) is a Java specification for a simple application framework for Swing applications, with a graphical user interface (GUI) in computer software. It defines infrastructure common to most desktop applications, making Swing applications easier to create.
Simple example of Swing by inheritance
import javax.swing.*;
public class Simple2 extends JFrame{//inheriting JFrame.
JFrame f;
Simple2(){
JButton b=new JButton("click");//create button.
b.setBounds(130,100,100, 40);
add(b);//adding button on frame.
setSize(400,500);
Answered by
2
i
Explanation:
hope it is help you please like me pls
Attachments:
Similar questions