Пример #1
0
        static public xTextField createTextField(int w, int h)
        {
            xTextField tf = new xTextField(null, w, true);

            tf.setSize(w, h);

            return(tf);
        }
Пример #2
0
        static public xTextField createTextField(int w)
        {
            xTextField tf = new xTextField(null, w, false);

            tf.setSize(w, tf.getH());

            return(tf);
        }