Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c22f892

Browse files
Action Command code
1 parent 3f90479 commit c22f892

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/com/example/hello_world_package/Set_Action_Command_For_JButton.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
import javax.swing.JButton;
88
import javax.swing.JFrame;
99

10-
public class Set_Action_Command_For_JButton extendsJFrame{
10+
public class Set_Action_Command_For_JButton {
1111

1212
public static void main(String[] args) {
1313

14-
JFrame frame = new Set_Action_Command_For_JButton();
14+
JFrame frame = new JFrame();
1515

1616
//Display the window.
1717

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /