Hello all
I am newbie in java, I have an arrayList of elements (String), i need to be able to read the index of any element of that list
I have tried that but no good
public E indexOf (int index){
if (index<0 || index>=size)
throw new IndexOutOfBoundsException(""+index);
for(int i=0...
Hi all
I must remove an item and swap an item within the switch statement. I have been working onthis for quite a while without success, any help welcome please!
Thank you
import java.util.ArrayList;
import java.util.List;
import uucPack.InOut;
public class TryList
{ static List theList = new...
I have a domainupdown that displays the 12 month of the year and a nud for the days of the month ( 1 to 31)
i use a select case to select the number of days in each month including the leap year.
For the case 0, 2, 4, 6, 7, 9, 11 i would like the domain dudMonth to display only the months with...
A tricky one
I have aform asking customers to input their date of birth, to do so i use 2 numericupdown controls, 1 for the day of the month (1 to 31) and 1 for the years. I use a domainupdown control for the month (January to December), then the code calculate the age of the person, everything...
diceRoll.Image = Image.FromFile("D:\MYGAME\dice1.jpg")
The image is situated in the folder of the game
I am using this code 6 times to represent a dice rolling.
Problem, every time the game is played on a different machine, the path to the images needs to be changed, how can i get around this...
i have an application that i want to burn on cd, including the CLR files, when i build the set up, it returns this error.
D:\Setup1\Setup1.vdproj dotNETFXRedist_x86_enu.msm must not be used to redistribute the .NET Framework. Please exclude this merge module.
I want to be able to run this...
Hi
I have a game with several wav.files, which play whenever a player lands in a specific area of a board.
I would like to give the possibility to the player to turn the sound off and on using a menu. i have tried this code but all i get An unhandled exception
Help welcome
Thank you
Private...
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.