Make frame abstract to avoid direct instantiation.

This commit is contained in:
Christian Rösch 2014-08-16 16:58:43 +02:00
parent 9cfb979405
commit e2e2f6388b
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import net.miginfocom.layout.AC;
import net.miginfocom.layout.LC;
import net.miginfocom.swing.MigLayout;
public class SampleFrame extends JFrame {
public abstract class SampleFrame extends JFrame {
private static final long serialVersionUID = 1L;