mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 07:20:55 +07:00
21 lines
513 B
Java
21 lines
513 B
Java
import javax.swing.*;
|
|
import java.awt.*;
|
|
|
|
class Foo {
|
|
void foo (){
|
|
ButtonWithExtension button;<caret>
|
|
button = new Foo.ButtonWithExtension("", "", "", "");
|
|
}
|
|
|
|
private abstract class MyActionButton extends JComponent{
|
|
protected MyActionButton(String s1, String s2, String s3, String s4) {
|
|
}
|
|
}
|
|
|
|
private class ButtonWithExtension extends MyActionButton {
|
|
protected ButtonWithExtension(String s1, String s2, String s3, String s4) {
|
|
super(s1, s2, s3, s4);
|
|
}
|
|
}
|
|
|
|
} |