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...
Type: Posts; User: Talksin
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...
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) >...
Just curious, why does my previous reply require a moderator to accept ?
Did I do anything wrong ?
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...
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...