Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. monkey85

    array

    is there anyway of unspecifying the size of an array so the number of elements input can vary each time? I'm currently using an array to store values entered which are then manipulated but the array is set to 100000 and is creating problems. Thanks in advance
  2. monkey85

    why cant i get text from a textfield?

    Yeah it working now!! I should have seen that lol Thank you all
  3. monkey85

    why cant i get text from a textfield?

    the only place that JTextField is used is in the following code public void createHome() { homep = new JPanel(); homep.setLayout( null); JLabel infoH = new JLabel("Test"); infoH.setBounds(30, 10, 375, 20); homep.add(infoH); JLabel home1 =...
  4. monkey85

    why cant i get text from a textfield?

    yeah towards the start of the file
  5. monkey85

    why cant i get text from a textfield?

    219 is page = fieldad.getText() from the section of code below private void newPage() { page = fieldad.getText(); fieldad.setEnabled(false); } private void Limit() { limitHist = Integer.parseInt ( fieldlim.getText().trim() )...
  6. monkey85

    why cant i get text from a textfield?

    The error displayed is Exception occurred during event dispatching: java.lang.NullPointerException at ChangeHome.newHome(ChangeHome.java:219) at ChangeHome.access$100(ChangeHome.java:7) at ChangeHome$2.actionPerformed(ChangeHome.java:125) at...
  7. monkey85

    why cant i get text from a textfield?

    I want to get text from a JTextField when a button is pressed, however at the moment I'm getting a huge error message from Java at the command prompt when i press the button. The code is below private void newPage() { page = fieldad.getText(); fieldad.setEnabled(false); }...

Part and Inventory Search

Back
Top