Search:

Type: Posts; User: tyeeeee1

Page 1 of 3 1 2 3

Search: Search took 0.19 seconds.

  1. Replies
    0
    Views
    236

    [SOLVED] Issues With BufferedReader

    Issue solved within a minute after posting this... Sorry.
  2. Replies
    5
    Views
    296

    [SOLVED] Re: FileNotFoundException

    I separated each piece and then did System.out.println(); on each of them but nothing was null. I just decided to take 'final' away from BufferedReader and it somehow solved the problem. O.o I guess...
  3. Replies
    5
    Views
    296

    [SOLVED] Re: FileNotFoundException

    Here is the error message along with some debug messages. According to what it says the file does exist, but for some reason it still gives a null pointer error.


    URL Path:...
  4. Replies
    8
    Views
    323

    Re: Platform game sidescrolling

    Just CnP the code here. All you need to do would be something like this:

    -Every time your game loop does a loop, check if A or B is pressed; if the A key is pressed then do X-- else if the B key...
  5. Replies
    5
    Views
    296

    [SOLVED] FileNotFoundException

    Hey,

    I'm attempting to load two text files and, although I've solved this problem a few times before, nothing I try seems to work. If anyone can think of something to try it'll help! ^.^ Here is...
  6. Replies
    2
    Views
    238

    Re: search application in java

    Why would you want to create a search engine such as this when Google, Bing, Yahoo, Ask, etc... already exist and do this job very well?
  7. Thread: creating jar

    by tyeeeee1
    Replies
    1
    Views
    195

    Re: creating jar

    Try manually creating the jar. This webpage should help (Creating an Executable jar File).
  8. Replies
    1
    Views
    800

    Re: Problems with Derby

    Solution found. Apparently, due to a space within the database name, it was messing up. If anyone encounters a problem similar to mine just check out this page for some information on a fix...
  9. Replies
    1
    Views
    800

    Problems with Derby

    I'm currently attempting to figure out how to use a Derby database in java. So-far I've been reading through this (Java For Complete Beginners - Databases) tutorial and I'm kinda-sorta sure that I've...
  10. Replies
    3
    Views
    250

    Re: Trying to Figure out Packages

    Thanks for checking and for the advice. ^.^ I had to get a second opinion because when I tried using Netbeans for the first time a few minutes ago it had every single package line underlined saying...
  11. Replies
    3
    Views
    250

    Trying to Figure out Packages

    After awhile I learned how to use multiple class files instead of having a huge singular file and now I'm trying to figure out how to keep organized with all my class files. I've looked up packages...
  12. Replies
    6
    Views
    191

    Re: Experimenting with Graphics

    I'm going over it now, but it totally lost me when it came to this example:



    import javax.swing.SwingUtilities;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import...
  13. Replies
    6
    Views
    191

    Re: Experimenting with Graphics

    I've removed the collision related code, here is the basic program:

    Edit: Threw the program into one file, this should still work...



    import javax.swing.*;
    import java.awt.*;

    class Rawr
  14. Replies
    6
    Views
    191

    Experimenting with Graphics

    I've been trying to wrap my head around how to detect and fix collision at the moment but as I'm not very familiar with drawing on a JPanel I managed to mess up somehow. At the moment my loop looks...
  15. Replies
    6
    Views
    519

    Re: How to use more than one class?

    I've managed to fix the errors, it looks like I forgot two semicolons and a pair of (). Thanks again!
  16. Replies
    6
    Views
    519

    Re: How to use more than one class?

    C:\Users\NAME>cd C:\Users\NAME\Java Projects\Text Adventure

    C:\Users\NAME\Java Projects\Text Adventure>javac *.java
    Battle.java:29: error: unexpected type
    tempInt =...
  17. Replies
    6
    Views
    519

    Re: How to use more than one class?

    O.o It's actually just as simple as that? Thanks a ton!

    --- Update ---

    I just ran into three, to me, strange errors after trying to write a simple program to test out using two separate class...
  18. Replies
    6
    Views
    519

    How to use more than one class?

    Hey, I just recently finished my CS class and so I started going out and trying to learn a few various things that the course didn't touch on at all. The one huge problem that I'm having is that, in...
  19. Replies
    2
    Views
    215

    Little String Problem

    Hey, I've just started messing around with reading from text documents and I've done fairly well in my experiments so-far; I just ran into a small problem with the one part of the code that I was...
  20. Replies
    3
    Views
    304

    Re: Problems with Inner Classes

    Edit: After a bit of messing around the problem has been solved thanks to both of your comments. Thanks!
  21. Replies
    3
    Views
    304

    Problems with Inner Classes

    Hey, I'm trying to change a non-final variable when a button is clicked in my program. The problem I'm running into is that, as far as I know, you can't use non-final variables within an...
  22. Replies
    10
    Views
    267

    Re: (Timer?) Problems

    Thank's for the tutorial link, I'll go through it and see what I can learn.

    --- Update ---

    Edit: I managed to get it working and finish the assignment after a bit more googling and a lot of...
  23. Replies
    10
    Views
    267

    Re: (Timer?) Problems

    Here is what my console said after I had the applet open for a few seconds, I only understood the first line of the error which leads me to think that the applet is skipping the main method and...
  24. Replies
    10
    Views
    267

    Re: (Timer?) Problems

    After using "appletviewer -debug AssignmentJ13PartFour.java" the following appeared in the cmd:

    Initializing jdb...

    *I typed 'run'*

    run sun.applet.Main AssignmentJ13Partfour.java
    Set...
  25. Replies
    10
    Views
    267

    Re: (Timer?) Problems

    I'm using Google Chrome, would that be the same as right clicking the page and checking out the page source or inspecting the elements?
    (We've barley done anything with applets in the class so I'm...
Results 1 to 25 of 61
Page 1 of 3 1 2 3