When you move from a language to another, make sure you don't mix naming conventions. Unlike C#, Java uses
Camel casingfor method names and notPascal casing. for example:public String getMessage(){ ... }
And not
public String GetMessage () { .. } Constants should be uppercased ( I mean its conventional)
public static final int LOG_ENTRIES_DISPLAY = 6;t and m are not good names for fields representing
timeandmessage. You can simply call themtimeandmessage.String is not the right data structure for representing time, you can use
Dateinstead where you can override thetoStringmethod to get a string out of yourLogMessage.There is no need to initialize
offsetto zero in the constructor, where it's already initialized to zero (because it is a field).