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 Chriss Miller 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. gemann

    mini sap installed but can't logon

    Hi, I installed mini sap according to the instructions. I start sap mbs. Then logon as per instructions, but I get this error message. Sapgui 46d Partner not reached(host laptop, service sapdp00) Release 46d Component NI(network interface) Version 34 Return code -10 Module ninti.c Line 1008...
  2. gemann

    newbie question event handling

    Hi, I have two inner classes class StartGameButtonListener implements ActionListener and class HitButtonListener implements ActionListener When I click on the startGameButton it works, it removes 2 cards from the deck and displays them in the textfield. But when I click on the hitButton nothing...
  3. gemann

    syntax error using constructor

    Thanks JavaDude32 I'm a newbie and I was just taking a shot in the dark with that one. Sorry for the mistakes...gemann
  4. gemann

    syntax error using constructor

    Hi, I'm getting a syntax error when I'm trying to instansiate a card object with this constructor: Card card = new Card(((Card)card).value, ((Card)card).suit); C:\java\War>javac TryDeal.java TryDeal.java:13: variable card might not have been initialized Card card = new...
  5. gemann

    syntax error when calling method

    I guess the next question is what constructor can I use? Thanks....gemann
  6. gemann

    syntax error when calling method

    Hi, I'm getting this error when I call : myCard.addCardBackInHand(card); this is the error I get: C:\java\War>javac TryDeal.java TryDeal.java:23: cannot resolve symbol symbol : variable card location: class TryDeal Hand returnHand = myCard.addCardBackInHand(card)...
  7. gemann

    problems defining a method

    Hi daniel135, Thanks for the help I'll give it a try. The game I'm trying to code is the card game War. The reason I need the method addCardBackInHand(), is because in the game two players are drawing one card each and displaying them the player with the highest card wins and then I want to take...
  8. gemann

    problems defining a method

    Hi, I have an interesting problem on my hands here. When I define the method : public Card addCardBackInHand() { return (Card)hand.push(); } I then get this javac error : C:\java\War>javac TryDeal.java .\Hand.java:30: push(java.lang.Object) in java.util.Stack cannot be applied to ( )...
  9. gemann

    syntax error defining a method

    Hi, I'm trying to pull a card from a stack in TryDeal class. I've defined a method getCard() in Hand class. I'm getting a syntax error when I compile: C:\java\War>javac TryDeal.java .\Hand.java:19: incompatible types found : java.lang.Object required: Card return hand.pop()...

Part and Inventory Search

Back
Top