Hi, I am having a really annoying problem. I am attempting to parse the yahoo.com html page through WebRequest and WebResponse classes. I am specifically trying to get the sponsored links that are returned upon a yahoo search. My code works fine and I can parse all the html except the...
Thanks for the help, but I tried ImageIO.read() last night and still the same problems. The only difference is that I passed ImageIO.read an InputStream. Hmm...
Hi,
Im writing a small game in java (applet) and I am using 66x66 tiles saved as .png. I load the images as Image objects using getImage(), and then I create BufferedImage objects from them using the code below. The problem is I cant get the BufferedImage objects to render properly; they...
Hi, Im writing a game applet in Java and for the first time its too slow receiving user input(arrow keys), through the KeyListener/KeyEvent paradigm. I instead want to use asynchronous keyboard querying, as is done with my games written for Windoze. Basically, every time through the main game...
Hi, having a small problem with port forwarding using iptables. I want to forward all connections to port 5500 on ppp0, the external interface, to my internal windoze box, 192.168.0.99 on the same port, 5500. Its for a hotline server. here is my iptables init script, very basic, which already...
HELP!! I am wondering what is the simplest way to open a socket and listen to a port with C++ for very simple data transmissions. I can do it easily in Java with the java.net.ServerSocket class. However, I've only found examples online that require numerous, random, .h includes of files I've...
Hi, Im making a deck of playing cards and I need to display a spread of 13 cards(for spades). the card objects extend canvas and draw the appropriate graphics on themselves. I have a Deck class that extends JPanel and will display the spread of Card objects; trouble is I dont know how to force...
I am writing a class that encapsulates a playing card's information, and displays its visuals. I want to show these cards in a spread onscreen, and i need to know how to arbitrarily place these card objects onscreen. The Card class displays the whole card on its canvas, but to do the spread I...
Im writing an applet that creates an "Internet quiz question" by taking user input and creating a html file that displays the question and such. I have a preview button, so i need to know how to open the newly created html file in a new window in the users browser. If this is not...
Im working on a small networking Swing app with a progress bar as declared below. the progress bar is initialized from (0,100). theres a certain number of ports to scan every time, so I map the progress through the ports to an int between 0 and 100. I then use progress.setValue() to set the...
Im working on a small networking Swing app with a progress bar as declared below. the progress bar is initialized from (0,100). theres a certain number of ports to scan every time, so I map the progress through the ports to an int between 0 and 100. I then use progress.setValue() to set the...
Im writing a small applet and I'm having problems with the 2 gif images. I can get the applet to run with images using the appletviewer. However, when I try to use the web browser I can only get it to work if I take out all imaging before compilation. I am using a jar file (BoneJarFile.jar)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.