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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by GT500FOMOCO

  1. GT500FOMOCO

    Applets that open URLs in a web browser...

    How do you get a Java Applet to force your browser to load a URL? Like when the user clicks a button, then the Applet tells the browers to go to another page. "and everything under the sun is in tune but the sun is eclipsed by the moon." --Pink Floyd: Eclipse "I'm going to spend...
  2. GT500FOMOCO

    Problem with sad rip-off of board game.

    I have an update on that. I fixed the initial problem, but now it won't print the card I drew, just the last space I moved to. "and everything under the sun is in tune but the sun is eclipsed by the moon." --Pink Floyd: Eclipse "I'm going to spend eternity reinstalling...
  3. GT500FOMOCO

    Problem with sad rip-off of board game.

    At http://www.geocities.com/gt500fomoco/code/document.html is an explanation of what I was supposed to do. My code is at http://www.geocities.com/gt500fomoco/code/Candy.java My problem is obvious. If you try to run it, it seems to have problems matching the card you have drawn to a space on...
  4. GT500FOMOCO

    Problem with class declaration...

    Can't use switch statements. I haven't learned them yet. No, I'm not puting it in an Applet. It's just a good old fashioned MS-DOS program. "and everything under the sun is in tune but the sun is eclipsed by the moon." --Pink Floyd: Eclipse "I'm going to spend eternity...
  5. GT500FOMOCO

    Problem with class declaration...

    Thanks, but that just confused me... Although I fixed the problem anyway. "and everything under the sun is in tune but the sun is eclipsed by the moon." --Pink Floyd: Eclipse "I'm going to spend eternity reinstalling Windows." --Reinstalling Windows: by some British guy
  6. GT500FOMOCO

    Problem with class declaration...

    I fixed that problem... Although now I have a new problem. The double weight won't carry it's variable over. I know this should work, here is the code for the class: class Planet { public Planet(String name, double weight) { } public int convert(int eweight) { int...
  7. GT500FOMOCO

    Problem with class declaration...

    I am writing a program that calculates your weight on another planet. I have to use the Planet class, but it doesn't work right. Here is the code: public class Weight { public static void main(String[] args) { ConsoleReader keyboard = new ConsoleReader(System.in)...
  8. GT500FOMOCO

    Simple navigation bar?

    Can anyone give me the JavaScript code for a simple navigation bar for the top of my webpage that has pulldown menus and is really easy for someone why doesn't know JavaScript to modify? X-) Thanks. "and everything under the sun is in tune but the sun is eclipsed by the moon." --Pink...
  9. GT500FOMOCO

    Pie charts...

    Did you try running that? It just maked the pie chart draw lines untill in becomes a filled in, almost 3D circle. "and everything under the sun is in tune but the sun is eclipsed by the moon." --Pink Floyd: Eclipse "I'm going to spend eternity reinstalling Windows.&quot...
  10. GT500FOMOCO

    Pie charts...

    I have a program that draws a pie chart with 4 slices. It draws the info from the Applet tag of the HTML file. I need it to draw 5 slices. Here is the code... Java... import java.applet.Applet; import java.awt.*; import java.awt.geom.*; public class PieChart extends Applet { public void...
  11. GT500FOMOCO

    I did it! Now, why does it print on it's side?

    That just caused it to not print anything. "and everything under the sun is in tune but the sun is eclipsed by the moon." --Pink Floyd: Eclipse "I'm going to spend eternity reinstalling Windows." --Reinstalling Windows: by some British guy
  12. GT500FOMOCO

    I did it! Now, why does it print on it's side?

    I got my program to work, but it prints the image on it's side. I need to know which variables I've got in the wrong places. Here is my code, the problems (I think) are in class Building. Here is the code... import java.applet.Applet; import java.awt.*; import java.awt.geom.*; import...
  13. GT500FOMOCO

    getParameter() method...

    Thanks! It compiles! X-) "and everything under the sun is in tune but the sun is eclipsed by the moon." --Pink Floyd: Eclipse "I'm going to spend eternity reinstalling Windows." --Reinstalling Windows: by some British guy
  14. GT500FOMOCO

    getParameter() method...

    Here is my code, maybe you can find what I am doing wrong... import java.applet.Applet; import java.awt.*; import java.awt.geom.*; import java.util.*; import javax.swing.*; public class Skyline extends Applet { public void init() { setBackground(Color.black); } public...
  15. GT500FOMOCO

    getParameter() method...

    From the Applet tag of the HTML file. "and everything under the sun is in tune but the sun is eclipsed by the moon." --Pink Floyd: Eclipse "I'm going to spend eternity reinstalling Windows." --Reinstalling Windows: by some British guy

Part and Inventory Search

Back
Top