I did a search and was reading how to convert this blackjack applet into an application, and I have been making good progress. However, I am very confused about not using getCodeBase(). So far it compiles correctly until it hits that method. Here is the code that calls the offender:
for(current_card_loading=0; current_card_loading < 52; current_card_loading++){
		  //try{
			card_images[current_card_loading] = getImage(getCodeBase(),
												"cards/" + (current_card_loading+1) + ".gif");
			if(card_images[current_card_loading] == null){
				System.out.println("Null card... ["+current_card_loading+"]");
			}else{
				t.addImage(card_images[current_card_loading],0);
			}
		
			try{
				t.waitForID(0);
			}catch(InterruptedException e){
				System.err.println("Interrupted, waiting for images..>");
			}
			//lets show our new status.
			repaint();
		}
Can anyone explain to me what I should switch this with and how?