Class LanguageDialog


  • public class LanguageDialog
    extends java.lang.Object
    DOCUMENT ME!
    Version:
    1.0
    Author:
    Andreas
    • Constructor Detail

      • LanguageDialog

        public LanguageDialog​(java.awt.Component parent,
                              java.util.Properties settings)
        Creates new LanguageDialog
        Parameters:
        parent - The parent component
        settings - The settings needed for the resource loader
    • Method Detail

      • findLanguages

        protected void findLanguages()
      • setLocation

        public void setLocation​(int x,
                                int y)
        Moves this component to a new location. The top-left corner of the new location is specified by the x and y parameters in the coordinate space of this component's parent.
        Parameters:
        x - the x-coordinate of the new location's top-left corner in the parent's coordinate space
        y - the y-coordinate of the new location's top-left corner in the parent's coordinate space
      • getWidth

        public int getWidth()
        Returns:
        Width of the dialog
      • getHeight

        public int getHeight()
        Returns:
        Height of the dialog
      • show

        public java.util.Locale show()
        Display the dialog and return user's choice.
      • languagesFound

        public boolean languagesFound()
        Returns:
        true iff at least one language has been found