[Defaults] // we define these as shortcuts for the view foreground, background color.bg = [color]system.color.bg.view color.fg = [color]system.color.fg.view color.fg.error = color.palette.red color.fg.disabled = color.palette.lightgray color.bg.uneditable = [color]system.color.bg.control color.fg.messages.hint = color.palette.hint color.fg.messages.alert = color.palette.orange color.fg.messages.error = color.fg.error color.fg.messages.normal = color.palette.blue color.fg.messages.warning = color.palette.saddlebrown color.cursor.focused = color.palette.red color.cursor.unfocused = color.palette.pink color.bg.table.grid = color.palette.gray color.bg.table.row.drag = color.palette.lavender color.bg.table.row = color.bg color.bg.table.row.alt = color.palette.aliceblue color.fg.table.uneditable.selected = color.palette.yellow color.fg.table.uneditable.unselected = color.palette.lightgray color.fg.error.table.unselected = color.fg.error color.fg.error.table.selected = color.palette.lightpink // allow list and combobox renderers to vary independently of tables, which some LaFs use color.bg.list.row = color.bg.table.row color.bg.combobox.row = color.bg.table.row color.bg.tree = [color]system.color.bg.view color.bg.tree.drag = color.palette.lavender color.bg.tree.selected = [color]system.color.bg.selected.view color.fg.tree.selected = [color]system.color.fg.selected.view // Fonts font.standard = [font]system.font.control font.standard.bold = font.standard[bold] font.monospaced = monospaced-plain-12 // // Java LaF Fixups // // Prefer buttons that change on hover [laf.boolean]Button.rollover = true [laf.boolean]Toolbar.isRollover = true // Java 1.6 UI consumes MousePressed event when dismissing popup menu // which prevents application components from getting this event. [laf.boolean]PopupMenu.consumeEventOnClose = false // On some LaFs the tables and trees use the bg color we define. Make that consistent for all LaFs. [laf.color]Viewport.background = color.bg // Fix up the default fonts that Java 1.5.0 changed to Courier [laf.font]TextArea.font = font.monospaced [laf.font]PasswordField.font = font.monospaced // Icons files icon.flag = flag.png icon.lock = kgpg.png icon.checkmark.green = tick.png icon.empty = EmptyIcon16.gif icon.empty.20 = EmptyIcon.gif icon.help = help-browser.png icon.add = Plus2.png icon.subtract = list-remove.png icon.copy = page_white_copy.png icon.cut = edit-cut.png icon.paste = page_paste.png icon.collapse.all = collapse_all.png icon.expand.all = expand_all.png icon.configure.filter = exec.png icon.clear = erase16.png icon.delete = edit-delete.png icon.error = emblem-important.png icon.home = go-home.png icon.navigate.in = locationIn.gif icon.navigate.out = locationOut.gif icon.not.allowed = dialog-cancel.png icon.folder.open = openSmallFolder.png icon.folder.closed = closedSmallFolder.png icon.refresh = reload3.png icon.sort.ascending = sortascending.png icon.sort.descending = sortdescending.png icon.stop = process-stop.png icon.warning.strong = software-update-urgent.png icon.warning = warning.png icon.information = information.png icon.left = left.png icon.right = right.png icon.up = up.png icon.down = down.png icon.left.alt = left.alternate.png icon.right.alt = right.alternate.png icon.save = disk.png icon.save.as = disk_save_as.png icon.make.selection = text_align_justify.png icon.arrow.down.right = viewmagfit.png[rotate(90)] icon.arrow.up.left = viewmagfit.png[rotate(275)] [Dark Defaults] color.cursor.unfocused = color.palette.darkgray // this looks different than the light mode version; good enough until we make a better icon icon.make.selection = stack.png [Metal] // the Metal LaF overrides combo box rendering with this line: "ComboBox.background", control color.bg.combobox.row = [color]system.color.bg.control [Flat Dark] [laf.boolean]ToolBar.focusableButtons = true // the default table selection inactive background color is hard to see [laf.color]Table.selectionInactiveBackground = #0B4D4D [Flat Light] [laf.boolean]ToolBar.focusableButtons = true