Tag Archives: Java

KeyListener in JAVA

I will be setting up a program that uses keyListener. But for whatever reason it doesn’t perform. When I complie that i get one particular error: PythagoreanTriple. coffee 123: 1 missing method body, as well as declare abstract open public void keyReleased(KeyEvent e); Code: open public void keyPressed(KeyEvent e) int keycode = age. getKeyCode(); if(keycode == KeyEvent. VK_TAB) displayN. requestFocus(); open public void keyTyped(KeyEvent e) open public void keyReleased(KeyEvent e); displayN. requestFocus(); I don’t know why. Theoretically it should work. Might anyone help me Thanks! The problem is that you then have a semicolon (; ) immediately following keyReleased method announcement. The compiler thinks you aren’t creating a body, and declaring method and not using a body, which is only allowed with abstract methods. This is how your computer code should look: Code: open public void keyPressed(KeyEvent e) int keycode = age. getKeyCode(); if(keycode == KeyEvent. VK_TAB) displayN. requestFocus(); open public void keyTyped(KeyEvent e) open public void keyReleased(KeyEvent e) displayN. requestFocus(); Try it and determine if it works! WHOA. I am now wondering how POST looked over which. It was at school, so I got probably only half paying attention, but two some people missed it far too. Thanks!

Posted in Web Design | Tagged , , , , , , , , | Leave a comment

most used languages

im a preety new web designer and was wanting to know what languages you guys utilize the most and what ones are more helpful. please post Many thanks I use CSS essentially the most because I think it offers the most versatility inside your designs, but it can even be the biggest hassle unless you know what you’re doing. It’s quite handy though. To define essentially the most useful it genuinely depends on what kind of web work you want to do. Designing for great companies would require a language that is the most cross appropriate. Designing smaller jobs may require a language that delivers versatility (like CSS, because I stated above). Coming up with databases for businesses would require PHP, ASP, or something of this sort. Then there’s always Java and various languages in order to dsign web applets or even CGI. It all really depends upon where you want to go with the idea. thanks. any one else have any favorite languages CSS is actually cool stuff. I’ve ‘just’ started getting into PHP and your simple things it could accomplish – extremely, very cool elements. It took myself FOREVER to figure out how to hook up CGI-BIN material … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

how do i get rid of the scrollbar in IE

now i’m getting really discouraged with IE….. i can’t seem to lose the stupid top to bottom scrollbar, even should the image width is below 780!! any tips or even trick codes or java which i can plug directly into eliminate that scrollbar -averan The scrollbar is section of the browser; you can’t reduce it. Some of the other browsers do the job differently by not necessarily displaying a scrollbar until the content overflows the particular visible area. Have you been sure you designed to write ‘VERTICAL’ rather than ‘HORIZONTAL’… as I don’t understand the situation via how you’ve discussed things. If this could be the event… Seven Hundred and Fifty 750 Pixels in width is the only sure safe price that I’ve encounter that doesn’t make it possible for horizontal scrollbars looking when viewed in multiple browsers using 8*6 resolution. oh when i learn how to get rid of the scollbar i had been craking up, it is pretty easy: Within the < body> tag decide to put " scroll=no" so it looks like the following: < body scroll=no> Now my problem is working out how to get it done with CSS i will try that, but i heard … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , | Leave a comment

Java in PostgreSQL

http: //wiki. tada. se/wiki/display/pljava/Home Useful. Right now you’ll be able to only use PL/PgSQL, D, and SQL pertaining to functions in PostgreSQL, however with Java, you will get something as highly effective as C devoid of the shame of understanding you wrote anything in C.

Posted in Web Design | Tagged , , , , , , , | Leave a comment