Search:

Type: Posts; User: squeakbox

Search: Search took 0.10 seconds.

  1. Replies
    1
    Views
    1,855

    Re: Empty ByteBuffer size?

    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...
  2. Replies
    4
    Views
    1,070

    Re: How to solve this?

    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().
  3. Re: A peculiar performance problem: Application get's faster after adding more loggin

    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.
  4. Replies
    1
    Views
    1,855

    Empty ByteBuffer size? WTF?

    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...
  5. Replies
    9
    Views
    1,356

    [SOLVED] Re: 2 Lines Stuffs.

    while (in.ready())
    {
    if (in.readLine().equalsIgnoreCase("e"))
    break;

    list[n] = in.read();
    n++;
    }
  6. [SOLVED] Re: Code from textbook not working and I don't know why--Event-driven programming

    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.
  7. [SOLVED] Re: Code from textbook not working and I don't know why--Event-driven programming

    You seem to have written "JTextField paymentField = new JTextField(10);" when you already have "private JTextField paymentField;" at the top as well.
  8. [SOLVED] Re: Code from textbook not working and I don't know why--Event-driven programming

    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.
  9. [SOLVED] Re: Code from textbook not working and I don't know why--Event-driven programming

    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:
    ...
  10. [SOLVED] Re: Code from textbook not working and I don't know why--Event-driven programming

    [removed - sorry, accidental double-post]
  11. Replies
    0
    Views
    1,371

    [SOLVED] GL11 quad not showing in LWJGL Display

    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...
Results 1 to 11 of 11