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...
...100% at the end of the loop. I call doLayout() and stuff to update the screen, but it doesnt do it. Heres the code below Help...
import java.util.*;
import javax.swing.*;
import java.awt.*;
import java.net.*;
import java.awt.event.*;
import java.lang.*;
import java.io.*;
class...
...100% at the end of the loop. I call doLayout() and stuff to update the screen, but it doesnt do it. Heres the code below Help...
import java.util.*;
import javax.swing.*;
import java.awt.*;
import java.net.*;
import java.awt.event.*;
import java.lang.*;
import java.io.*;
class...
...ARCHIVE = BoneJarFile.jar width = 400 height = 360>
</APPLET>
</CENTER>
</BODY>
</HTML>
Here's a clip of the source, its short:
import java.awt.*;
import java.applet.*;
import javax.swing.*;
import java.util.*;
public class Bone extends JApplet implements Runnable{
Image bone = new...
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.