Week 11 challenge from Project Euler

This commit is contained in:
Josh Ashton
2023-11-15 11:26:23 -07:00
parent 1d457612ec
commit 6a177a60d6
7 changed files with 78 additions and 1 deletions
+20
View File
@@ -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.
}
}