mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Typo fix
This commit is contained in:
@@ -612,7 +612,7 @@ public class BreakpointTree extends CheckboxTree {
|
||||
|
||||
private static class BreakpointTreeCellRenderer extends CheckboxTreeCellRenderer {
|
||||
public void customizeCellRenderer(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) {
|
||||
// Fix GTK backround
|
||||
// Fix GTK background
|
||||
if (UIUtil.isUnderGTKLookAndFeel()){
|
||||
final Color background = selected ? UIUtil.getTreeSelectionBackground() : UIUtil.getTreeTextBackground();
|
||||
UIUtil.changeBackGround(this, background);
|
||||
|
||||
+1
-1
@@ -628,7 +628,7 @@ class TemplateListPanel extends JPanel {
|
||||
final boolean hasFocus) {
|
||||
|
||||
value = ((DefaultMutableTreeNode)value).getUserObject();
|
||||
// Fix GTK backround
|
||||
// Fix GTK background
|
||||
if (UIUtil.isUnderGTKLookAndFeel()){
|
||||
final Color background = selected ? UIUtil.getTreeSelectionBackground() : UIUtil.getTreeTextBackground();
|
||||
UIUtil.changeBackGround(this, background);
|
||||
|
||||
@@ -85,7 +85,7 @@ class ToolsPanel extends JPanel {
|
||||
final int row,
|
||||
final boolean hasFocus) {
|
||||
Object object = ((CheckedTreeNode)value).getUserObject();
|
||||
// Fix GTK backround
|
||||
// Fix GTK background
|
||||
if (UIUtil.isUnderGTKLookAndFeel()){
|
||||
final Color background = selected ? UIUtil.getTreeSelectionBackground() : UIUtil.getTreeTextBackground();
|
||||
UIUtil.changeBackGround(this, background);
|
||||
|
||||
@@ -237,7 +237,7 @@ public class JBTable extends JTable implements ComponentWithEmptyText, Component
|
||||
public Component prepareRenderer(TableCellRenderer renderer, int row, int column) {
|
||||
final Component result = super.prepareRenderer(renderer, row, column);
|
||||
final boolean selected = myExpandableItemsHandler.getExpandedItems().contains(new TableCell(row, column));
|
||||
// Fix GTK backround
|
||||
// Fix GTK background
|
||||
if (UIUtil.isUnderGTKLookAndFeel()){
|
||||
final Color background = selected ? UIUtil.getTreeSelectionBackground() : UIUtil.getTreeTextBackground();
|
||||
UIUtil.changeBackGround(this, background);
|
||||
|
||||
+1
-1
@@ -189,7 +189,7 @@ public class XBreakpointsTree<B extends XBreakpoint<?>> extends CheckboxTree {
|
||||
private static class BreakpointsTreeCellRenderer extends CheckboxTreeCellRenderer {
|
||||
@Override
|
||||
public void customizeRenderer(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) {
|
||||
// Fix GTK backround
|
||||
// Fix GTK background
|
||||
if (UIUtil.isUnderGTKLookAndFeel()){
|
||||
final Color background = selected ? UIUtil.getTreeSelectionBackground() : UIUtil.getTreeTextBackground();
|
||||
UIUtil.changeBackGround(this, background);
|
||||
|
||||
@@ -605,7 +605,7 @@ public class GitPushActiveBranchesDialog extends DialogWrapper {
|
||||
myCommitTree = new CheckboxTree(new CheckboxTree.CheckboxTreeCellRenderer() {
|
||||
@Override
|
||||
public void customizeRenderer(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) {
|
||||
// Fix GTK backround
|
||||
// Fix GTK background
|
||||
if (UIUtil.isUnderGTKLookAndFeel()) {
|
||||
final Color background = selected ? UIUtil.getTreeSelectionBackground() : UIUtil.getTreeTextBackground();
|
||||
UIUtil.changeBackGround(this, background);
|
||||
|
||||
@@ -352,7 +352,7 @@ public class GitConvertFilesDialog extends DialogWrapper {
|
||||
*/
|
||||
@Override
|
||||
public void customizeRenderer(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) {
|
||||
// Fix GTK backround
|
||||
// Fix GTK background
|
||||
if (UIUtil.isUnderGTKLookAndFeel()){
|
||||
final Color background = selected ? UIUtil.getTreeSelectionBackground() : UIUtil.getTreeTextBackground();
|
||||
UIUtil.changeBackGround(this, background);
|
||||
|
||||
@@ -244,7 +244,7 @@ public class GitRefspecAddRefsDialog extends DialogWrapper {
|
||||
final boolean leaf,
|
||||
final int row,
|
||||
final boolean hasFocus) {
|
||||
// Fix GTK backround
|
||||
// Fix GTK background
|
||||
if (UIUtil.isUnderGTKLookAndFeel()) {
|
||||
final Color background = selected ? UIUtil.getTreeSelectionBackground() : UIUtil.getTreeTextBackground();
|
||||
UIUtil.changeBackGround(this, background);
|
||||
|
||||
+1
-1
@@ -184,7 +184,7 @@ public class SelectIgnorePatternsToRemoveOnDeleteDialog extends DialogWrapper {
|
||||
|
||||
private class MyRenderer extends CheckboxTree.CheckboxTreeCellRenderer {
|
||||
public void customizeCellRenderer(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) {
|
||||
// Fix GTK backround
|
||||
// Fix GTK background
|
||||
if (UIUtil.isUnderGTKLookAndFeel()){
|
||||
final Color background = selected ? UIUtil.getTreeSelectionBackground() : UIUtil.getTreeTextBackground();
|
||||
UIUtil.changeBackGround(this, background);
|
||||
|
||||
Reference in New Issue
Block a user