0 Replies Latest reply on May 23, 2009 6:17 PM by 807581

    How set the format of map scale(e.g. 1/2000) in the JTextField?

      Hi, folks. My company buy a third party component, it contains a scale editor which is subclass of JTextField. However, I don't why this map scale editor allows people to entry number , ,alpha and space in it(it means every letter shown on the keyboard can be typed in the scale editor). My just want to know to how to set the certain format to let people to only type in the following format: 1/200000.

      By the way, because it is part of the third party component, so all I can do is get the instance of the JTextField from the component and set the format to it.

      Thanks in advance.