Package com.j3d.ui

Class SafeJLabel

java.lang.Object
com.j3d.ui.SafeJLabel

public class SafeJLabel extends Object
A SafeJLabel is just a wrapper around 2 or soon more labels which when calling setText calls SwingUtilities.invokeLater(Runnable)
Author:
Lehlogonolo Poole
See Also:
  • Field Details

  • Constructor Details

    • SafeJLabel

      public SafeJLabel(JLabel label, JLabel label2)
  • Method Details

    • addTimeoutWorker

      private void addTimeoutWorker(boolean higher, Runnable runnable, int seconds)
    • setText

      public void setText(String text)
    • setText

      public void setText(String text, int seconds)
    • setLower

      public void setLower(String text)
    • setLower

      public void setLower(String text, int seconds)
    • error

      public void error(String text)
    • error

      public void error(String text, Object... emphasize)
    • setText

      public void setText(String text, Object... emphasize)
    • setTextWithSeconds

      public void setTextWithSeconds(String text, int seconds, Object... emphasize)
    • clearLower

      public void clearLower()
    • clearHigher

      public void clearHigher()
    • clear

      public void clear()
    • repaint

      public void repaint()