Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. clax99

    Parsing yahoo.com html source

    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...
  2. clax99

    Java Game BufferedImage tiles with .png help

    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...
  3. clax99

    Java Game BufferedImage tiles with .png help

    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...
  4. clax99

    Java program icon in Task Manager

    How do I put an icon for a java prog in the taskbar, and more or less add it to the normal Windows task list as more than a running JVM? Thanks
  5. clax99

    asynchronous keyboard input

    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...
  6. clax99

    Hi, having a small problem with por

    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...
  7. clax99

    problem with iostream.h?

    Try #include <ifstream.h> //for input #include <ofstream.h> //for output
  8. clax99

    simple c++ socket server help

    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...
  9. clax99

    how to overlap swing components

    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...
  10. clax99

    canvas graphics help

    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...
  11. clax99

    Making one class an applet and applicaton help

    How do I make a class an application and an applet? Thanks in advance, Clarence
  12. clax99

    Opening a html file in browser from applet

    Im writing an applet that creates an &quot;Internet quiz question&quot; 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...
  13. clax99

    Jar question

    Here is the perfect URL: http://java.sun.com/products/jdk/1.1/docs/tooldocs/win32/jar.html
  14. clax99

    EASY QUESTION: Rounding Integers to 2 decimal places?

    I know, i corrected myself in the very next thread. I obviously mean Double are some other value of greater preciseness.
  15. clax99

    I mean Double...really Double

    Double is implied in the thread below
  16. clax99

    EASY QUESTION: Rounding Integers to 2 decimal places?

    I have no idea how to round an integer to 2 decimal places. Please help, thanks
  17. clax99

    Swing JProgressBar update problems HELP!!!

    ...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...
  18. clax99

    Swing JProgress Bar update problems

    ...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...
  19. clax99

    Problems with images in jar file for an applet

    ...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...
  20. clax99

    how do i import .icon files into a Swing app?

    does anyone know how im might import .icon files into my swing app. any help or code snippet would be nice, thanx

Part and Inventory Search

Back
Top