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...
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...
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...
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)...
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...
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 (
)...
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()...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.