Class FPanelChargement

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class FPanelChargement extends FPanel
A loading screen to wait for game launch.
See Also:
  • Field Details

  • Constructor Details

    • FPanelChargement

      public FPanelChargement()
      Main constructor that add message & advice.
  • Method Details

    • setTexte

      public void setTexte(String s)
    • getLancer

      public boolean getLancer()
    • setLancer

      public void setLancer(boolean b)
    • canBeClose

      public boolean canBeClose()
    • paintComponent

      public void paintComponent(Graphics g)
      Draw this if partie is running.
      Overrides:
      paintComponent in class FPanel
    • addBt

      public void addBt()
      Add a launch button.
    • addMessage

      private void addMessage()
      Add a loaging message.
    • addAdvice

      private void addAdvice()
      Add an advice.
    • addPcf

      private void addPcf()
      Add an FPanelCheckFunction to be able not to wait for this panel.
    • setVisible

      public void setVisible(boolean visible)
      Set visible & load image if it haven't been done yet.
      Overrides:
      setVisible in class JComponent