mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-01 12:50:56 +07:00
20 lines
488 B
Java
20 lines
488 B
Java
import javax.swing.*;
|
|
import java.awt.*;
|
|
|
|
class Foo {
|
|
void foo (){
|
|
ButtonWithExtension button = new 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);
|
|
}
|
|
}
|
|
|
|
} |