Package warnings

Class QuickWarning

java.lang.Object
warnings.QuickWarning

public class QuickWarning extends Object
Class to provide a quick single warning that can be easily removed without having to handle all the references in the owning class.
Author:
dg50
  • Constructor Details

    • QuickWarning

      public QuickWarning(String source)
  • Method Details

    • setWarning

      public void setWarning(String message, int level)
      Set and show the warning. If level is 0 it will hide, if >0 show.
      Parameters:
      message - warning message
      level - warning level
    • clearWarning

      public void clearWarning()
      Clear any warning