Vampiricx3's Profile User Rating: -----

Reputation: -2 Dishonored
Group:
Active Members
Active Posts:
86 (0.16 per day)
Joined:
01-December 11
Profile Views:
898
Last Active:
User is offline Feb 08 2012 05:11 AM
Currently:
Offline

Previous Fields

Country:
AU
OS Preference:
Linux
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
XBox
Your Car:
Who Cares
Dream Kudos:
0
Icon   Vampiricx3 has not set their status

Posts I've Made

  1. In Topic: Setting text in a JTextField.

    Posted 25 Jan 2012

    The only compilation errors I get is "int cannot be dereferenced" when I try to use .toString(), and setText(java.lang.String) in javax.swing.text.JTextComponent cannot be applied to (int) when I try to use the idTF.setText();
  2. In Topic: Setting text in a JTextField.

    Posted 25 Jan 2012

    View Postsmohd, on 26 January 2012 - 11:16 AM, said:

    Quote

    but I don't know how to implement it so it will actually display in the ID JTextField.

    The JTextField class has a setText() method which it inherits from JTextComponent class. So pass to it a returned ID to be displayed!!
    idTF.setText("Something");
    

    If you bothered to read, which apparently you didn't. You'd notice in my code there is a setText that has been marked out, due to the fact that doing it gives me errors.

    View Postmacosxnerd101, on 26 January 2012 - 11:35 AM, said:


    I've read through the API, nothing has helped me.
  3. In Topic: Arraylist program not working

    Posted 25 Jan 2012

    Post your errors here, otherwise we can't help you. Also if you have other source's, post them here as well.
  4. In Topic: FileInputStream question

    Posted 25 Jan 2012

    I just compiled this in Linux and it compiled perfectly fine, are you sure that you have those .txt files in the same directly? And that they have the exact name? try changing your in & out's to this
    in = new FileInputStream(new File(
                   "xanadu.txt"));
    out = new FileOutputStream(new File(
              "outagain.txt"));
    

    Just as a future insight, you will get a lot more help from the programmers here if you post the complete compiler errors.
    Also, just to make things easier, you shouldn't import all 3 different imports. Just do
    import java.io.*;
  5. In Topic: Netbeans Clean and Build Error XML

    Posted 25 Jan 2012

    Have you tried completely re-creating the project?

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Years Programming:
1
Programming Languages:
C++, Java, Visual Basic.

Contact Information

E-mail:
Click here to e-mail me

Friends

Comments

Vampiricx3 has no profile comments yet. Why not say hello?