Ignore:
Timestamp:
11/02/20 15:47:20 (4 years ago)
Author:
bnemhaus
Message:

Removed reliance of System.getProperty("user.name") by introducing some functions and a variable to Browser to be used instead. All previous occurrences of System.getProperty("user.name") now use these functions.

At the time, introduced new piping into various functions related to the creation and management of profile frames that distinguished between a profile name and a user name. This allows functions to be more specific about what is being used. For example, when modifying the users profile frames (in the profiles directory) that users profile name can be used instead of naming the variable 'username'. This distinction is important because while username's can end with numbers, profile names cannot and therefore get an 'A' on the end.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gio/swing/SwingGraphicsManager.java

    r1432 r1540  
    197197
    198198                if (on) {
     199                        if (hasAntialiasing) {
     200                                //return;
     201                        }
    199202                        surface.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
     203                        hasAntialiasing = true;
    200204                } else {
     205                        if (hasAntialiasing) {
     206                                //return;
     207                        }
    201208                        surface.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF);
    202209                }
    203210        }
     211       
     212        private static boolean hasAntialiasing = false;
    204213
    205214        @Override
Note: See TracChangeset for help on using the changeset viewer.