I fixed this issue by loading the textures in an Array and assigning it later instead of creating a new Texture through TextureLoader every time. No issues loading it in the array, but for some...
Type: Posts; User: squeakbox
I fixed this issue by loading the textures in an Array and assigning it later instead of creating a new Texture through TextureLoader every time. No issues loading it in the array, but for some...
You should store uitvoerVeld.getText() in a temporary String variable, because once you change uitvoerVeld.setText(invoerVeld.getText()), you lost the text that was in uitvoerVeld.getText().
You should pastebin.com the code so we can see it. You can leave out vital parts that you don't feel affect the program.
I made a custom-made text box for inputs, which works like entering text into a forum field. I can backspace, delete, type, etc... However, there's an issue when I call .setText(String) of my...
while (in.ready())
{
if (in.readLine().equalsIgnoreCase("e"))
break;
list[n] = in.read();
n++;
}
I learned to read errors with someone pointing them out to me, and I find I can read errors myself fine now.
I'm sure they'll figure it out down the line.
You seem to have written "JTextField paymentField = new JTextField(10);" when you already have "private JTextField paymentField;" at the top as well.
Alright.
Well I copyed & pasted your code, and I found the problem. You didn't create "paymentField = new JTextField();", in my IDE, your paymentField comes up as inactive.
Try this:
Instead of putting variables such as "double payment" inside your methods, put them with your instance variables, like:
"private double payment;"
set them to 0 in your constructor:
...
[removed - sorry, accidental double-post]
I'm currently having a problem with my Display not showing my GL11 code to draw text.
I have created a custom code that generates a rectangle location to display text in png files...