mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-13 23:06:22 -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 Preferences PREFS = Preferences.userRoot().node("dig").node("generator");
|
||||
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<>();
|
||||
|
||||
static {
|
||||
@ -850,8 +851,12 @@ public class TableDialog extends JDialog {
|
||||
label.setFont(font);
|
||||
if (column < undoManager.getActual().getVars().size())
|
||||
label.setBackground(MYGRAY);
|
||||
else
|
||||
label.setBackground(Color.WHITE);
|
||||
else {
|
||||
if ((row & 4) == 0)
|
||||
label.setBackground(Color.WHITE);
|
||||
else
|
||||
label.setBackground(ODDWHITE);
|
||||
}
|
||||
|
||||
if (value instanceof Integer) {
|
||||
int v = (int) value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user