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/gui/MessageBay.java

    r1510 r1540  
    481481                }
    482482               
    483                 _authorisedUser = new Text("Username: " + System.getProperty("user.name"));
     483                _authorisedUser = new Text("Username: " + Browser.getExpediteeUserName());
    484484                _authorisedUser.setFont(new Font(Text.MONOSPACED_FONT));
    485485                _authorisedUser.setY(95);
Note: See TracChangeset for help on using the changeset viewer.