Search:

Type: Posts; User: Talksin

Search: Search took 0.35 seconds.

  1. Replies
    0
    Views
    1,032

    Updating MySQL with user entered values

    The first jsp page (send1.jsp) displays all data from the MySQL database, and consists of an edit button for each row.

    Once the user clicks on the edit button for a particular row, the size...
  2. Replies
    5
    Views
    1,019

    Re: IllegalArgumentException error..

    Oh, it is actually for a puzzle game I am trying to code.. The game goes something like this.

    An image divided up into pieces and randomized(haven't thought of how to randomize yet though) >...
  3. Replies
    5
    Views
    1,019

    Re: IllegalArgumentException error..

    Just curious, why does my previous reply require a moderator to accept ?

    Did I do anything wrong ?
  4. Replies
    5
    Views
    1,019

    Re: IllegalArgumentException error..

    Did some research (link) and yup like what you said, it is because the JPanel isn't rendered yet.

    I either have to do an override of via setPreferredsize() or paintComponent() to access the JPanel...
  5. Replies
    5
    Views
    1,019

    IllegalArgumentException error..

    I believe the error is caused by
    Image sc = wi.getScaledInstance(puzpiece.getWidth()/3,puzpiece.getHeight()/3, Image.SCALE_AREA_AVERAGING); after doing a debug in Netbeans.

    The debug showed...
Results 1 to 5 of 5