Week 11 challenge from Project Euler
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import javax.swing.*;
|
||||
|
||||
import java.awt.*;
|
||||
|
||||
public class Panel extends JPanel {
|
||||
private Color bg;
|
||||
private Color fg;
|
||||
|
||||
public Panel(Color bg, Color fg) {
|
||||
super();
|
||||
this.bg = bg;
|
||||
this.fg = fg;
|
||||
|
||||
init();
|
||||
}
|
||||
|
||||
private void init() {
|
||||
// TODO: Add 2 buttons to the Panel object, and set the background and foreground colors.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user