Martin vanPutten

Ranch Hand
+ Follow
since Mar 26, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Martin vanPutten

When I install a new java update... can I uninstall the previous one. I have a bunch sitting there with about 120MB each in my add remove programs... if I have the newest update would that be all I would need?
17 years ago
Choice gives you a drop down menu.
18 years ago
As you can probably see... i'm having a problem with Choice. I have an arraylist already set up basically of items in a specific room and different items in another item. How can I put that into a choice.add(itemArrayList);? I thought I had my code right but apparently it couldn't be read. Does anybody know of a tutorial I can refer to for adding ArrayLists to a Choice?
18 years ago
There we go... I figured it out!
18 years ago
I've played with the JScrollBar and Pane for a day now... and I must be missing something... what should it look like?
18 years ago
How do I make a scrollbar in my textarea?
18 years ago
I can't believe I forgot to do that... its always the little things! Thanks!
18 years ago
Don't I have to call the Game class in order to get the printWelcome method?
18 years ago
I have a nullpointerexception runtime error I can't figure out why. I have two classes... one with the print method... and the other thatpulls that method into a textarea... does anybody see any problem with this:


For further reference... heres the entire two classes:

18 years ago
This is the runtime error...
Exception in thread "main" java.lang.NoSuchMethodError: ViewPanel.<init>(LListener V
at ViewManager.<init>(ViewManager.java:23)
at Game.main(Game.java:15)

Process completed.
I am using JCreator as my editor... this is exactly how it represents the error.
18 years ago
I decided to stick with the absolute positioning... I like total control of my programs... but it gets this runtime error that I can't figure out... can anybody see anything.. this is one of my classes...
18 years ago
I know you can position panels by using BorderLayout or even FlowLayout... but it doesn't get my panels exactly as I want them... is there a way to set them eactly where you want them by using a from left and from top method (like css for example)?
18 years ago
I'm building a neat little game where the user can type commands to go places and pick items up and whatnot. But I want to create a locked door into the construction room and only if the player picks up the key can they enter this key... otherwise the user cannot enter this room. I have many classes that all compile right and run great. Can anybody help me figure out how to create this locked room in construction room (to get there go west northeast northwest and northwest again).














[ March 08, 2007: Message edited by: Bear Bibeault ]
18 years ago
What is the easiest way to get something from another class in the project and using it in the class you want. For example: currentRoom is an object of Room in the Game class. There is another class called Player... and the player object has to store the currentRoom in the Game class. And... this has to be done in the Player class... its necessary. Whats the easiest way to do this? Even Pseudo code will help as long as the keyword used is in it because chances are, I don't know it. Thanks!!
18 years ago
Thanks man... that really helped... also I learnt what append does.
18 years ago