Skip to content

donbreth/Marian-Breth-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

mport javax.swing.; import java.awt.; public class JTwoButtons extends JFrame { JButton button1 = new JButton("Enabled"); JButton button2 = new JButton("Disabled"); public JTwoButtons() { add(button1);
add(button2); button2.setEnabled(false); setLayout(new FlowLayout()); } public static void main(String[] args) { JTwoButtons frame = new JTwoButtons(); frame.setSize(150, 150); frame.setVisible(true); } }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages