mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-14 15:26:52 -04:00
adds a guide to the eye in the table dialog
This commit is contained in:
parent
6d26d8b288
commit
8e65c893d9
@ -76,6 +76,7 @@ public class TableDialog extends JDialog {
|
|||||||
private static final Logger LOGGER = LoggerFactory.getLogger(TableDialog.class);
|
private static final Logger LOGGER = LoggerFactory.getLogger(TableDialog.class);
|
||||||
private static final Preferences PREFS = Preferences.userRoot().node("dig").node("generator");
|
private static final Preferences PREFS = Preferences.userRoot().node("dig").node("generator");
|
||||||
private static final Color MYGRAY = new Color(230, 230, 230);
|
private static final Color MYGRAY = new Color(230, 230, 230);
|
||||||
|
private static final Color ODDWHITE = new Color(255, 255, 220);
|
||||||
private static final List<Key> LIST = new ArrayList<>();
|
private static final List<Key> LIST = new ArrayList<>();
|
||||||
|
|
||||||
static {
|
static {
|
||||||
@ -850,8 +851,12 @@ public class TableDialog extends JDialog {
|
|||||||
label.setFont(font);
|
label.setFont(font);
|
||||||
if (column < undoManager.getActual().getVars().size())
|
if (column < undoManager.getActual().getVars().size())
|
||||||
label.setBackground(MYGRAY);
|
label.setBackground(MYGRAY);
|
||||||
else
|
else {
|
||||||
label.setBackground(Color.WHITE);
|
if ((row & 4) == 0)
|
||||||
|
label.setBackground(Color.WHITE);
|
||||||
|
else
|
||||||
|
label.setBackground(ODDWHITE);
|
||||||
|
}
|
||||||
|
|
||||||
if (value instanceof Integer) {
|
if (value instanceof Integer) {
|
||||||
int v = (int) value;
|
int v = (int) value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user