User Profile

Collapse

Profile Sidebar

Collapse
JNeko
JNeko
Last Activity: Jul 26 '08, 06:54 PM
Joined: Mar 11 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • JNeko
    replied to converting java gui class to applet??
    in Java
    java.awt.Image is abstract; cannot be instantiated
    malformed URL

    This took me about 8 stupid hours to figure out. Above is a few errors I got a long the way, can't remember the rest.

    Note to those who want to call an image from the web for the imageicon for a converted JFrame to JApplet program:
    my
    Code:
    new JLabel(new ImageIcon("http://www.fybaseball.com/Rawlings_baseball.jpg"));
    ...
    See more | Go to post

    Leave a comment:


  • JNeko
    replied to converting java gui class to applet??
    in Java
    Thank you for your replies. I apologize for not using CODE tags, it won't happen again.

    I figured it out, took a couple of hours though. For anyone who has the same problem please see
    http://java.sun.com/docs/books/tutor...t/SwingUI.java
    http://java.sun.com/docs/books/tutor...ApptoAppl.java

    they were of great help to me. Really, all you need to do is change JFrame to...
    See more | Go to post

    Leave a comment:


  • JNeko
    started a topic converting java gui class to applet??
    in Java

    converting java gui class to applet??

    hello all, I have tried my hand at this for a couple hours but no luck. I am using JCreator.

    I used these two links for reference:

    http://www.tech-recipes.com/java_pro..._tips1265.html
    http://forum.java.sun.com/thread.jsp...rt=15&tstart=0

    Here is my situation: trying to turn a 3000 line main class into an applet, or create an applet that calls it. whatever works. ...
    See more | Go to post
    Last edited by BigDaddyLH; Feb 6 '08, 05:18 PM. Reason: added code tags

  • JNeko
    replied to Accessing Apache Tomcat out of US
    Hi Motoma and thanks for answering! http://www.coreservlets.com/Apache-Tomcat-Tutorial/ I know this site is perfectly viewable, I was just wondering if you thought the steps to set-up tomcat where correct. I followed these to the bone, and am still unable to establish connection with local host.

    UPDATE!!!!!!! WOO HOO I GOT IT!!! For some reason it works now, God you know what it had to be? I did not restart the computer with the new...
    See more | Go to post

    Leave a comment:


  • JNeko
    started a topic Accessing Apache Tomcat out of US

    Accessing Apache Tomcat out of US

    Hello all!

    I am starting to do a little reviewing of my JSP, but first I would like to get my servlet container working! Now, it's been a while sinced I configured and used Tomcat, so I used this site: http://www.coreservlet s.com/Apache-Tomcat-Tutorial/ as a refresher. Seems to make sense, and my jdk packages have long been installed. After starting Tomcat, it seemed to be running smoothly.

    But when I check to see if...
    See more | Go to post

  • JNeko
    replied to the use of this. and superclass?
    in Java
    Thank you! I looked at that before of course and I still got confused as to why the need for super, but after staring at the super keyword section and arguing with myself for like 30 minutes as to why there is a need to create a whole DVD class, I just now got it! Now I am confused as to why this did not click so fast for me in the beginning, haha, damn my retardedness, and on top of that, looking at the code reminded me that I have been forgetting...
    See more | Go to post

    Leave a comment:


  • JNeko
    started a topic the use of this. and superclass?
    in Java

    the use of this. and superclass?

    Hi all,

    So I was writing a program for blackjack game and I was supposed to be demonstrating the use of extends, superclass, and what not, well, I wrote out the algorithm and started typing out a little code, when I realized I really don't think I HAVE to use these techniques to do this program. I mean I understand what it does when i read code, but I just don't see a big use for it. This same goes for the this. command
    ...
    See more | Go to post

  • >< ugghh, i know i know, dont tell me that, lol, im sure i will run into that later, scary stuff...
    See more | Go to post

    Leave a comment:


  • o....lord.....t hat would explain the nullpoint error, it's kewl to know that I wasted a few good hours because I forgot to add a freaking = sign after the <....nothing out of the ordinary for a JAVA programmer I guess...thanks so much horace1!

    ********JUST GOT IT**********
    I just typed a really long message, asking the next question: why the heck is the game not looping back through once the player asks to play again. And...
    See more | Go to post

    Leave a comment:


  • excellent! thanks for the above code and the quick reply! I actually knew of that code but thought it performed the same functions as my original code, looking at it again though, uggghh, anyway, of course a new problem has come up and it's just as confusing to me. Now when i run the program with the new code, I sometimes* get a nullpoint at
    TextIO.putln("a " + aCard.switchVal ue() + " of " + aCard.switchSui t());...
    See more | Go to post

    Leave a comment:


  • JNeko
    started a topic a few problems I am having with a card game I made...
    in Java

    a few problems I am having with a card game I made...

    Hello all, awesome site! I guess I am technically not a beginner in JAVA, but from my code you would not realize it! I don’t expect anyone to help me with this, but I figure I might as well as try and ask. Any help is really appreciated; this should be a piece of cake…driving me crazy.

    I am writing a simple program (from a book for fun) that creates a deck of cards, shuffles them, gives the user a card, and asks if the next card...
    See more | Go to post
    Last edited by horace1; Mar 11 '07, 11:48 AM. Reason: added code tags
No activity results to display
Show More
Working...