Java Main Game Loop

Eventually you’ll want to move to something like LWJGL, but let me stress, keep doing what you’re doing here for now. It will teach you fundamentals. Good job on your loop. Looks nice, let me offer a few pointers: Repaint will not render the screen immediately. It tells the RepaintManager to render when its ready. … Read more

get char value in java

char is actually a numeric type containing the unicode value (UTF-16, to be exact – you need two chars to represent characters outside the BMP) of the character. You can do everything with it that you can do with an int. Character.getNumericValue() tries to interpret the character as a digit.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)