Click here to Skip to main content
15,888,816 members
Home / Discussions / Java
   

Java

 
AnswerRe: Iris Recognition: Java Implementation Pin
Richard MacCutchan30-Oct-14 23:07
mveRichard MacCutchan30-Oct-14 23:07 
GeneralRe: Iris Recognition: Java Implementation Pin
Jesujoba4-Nov-14 6:55
Jesujoba4-Nov-14 6:55 
QuestionJava problem Pin
jaiman12328-Oct-14 8:12
jaiman12328-Oct-14 8:12 
AnswerRe: Java problem Pin
Richard MacCutchan28-Oct-14 22:49
mveRichard MacCutchan28-Oct-14 22:49 
QuestionHow to switch between activities by clicking on image views Pin
Sepehr Mahmoudi27-Oct-14 1:38
Sepehr Mahmoudi27-Oct-14 1:38 
AnswerRe: How to switch between activities by clicking on image views Pin
Richard MacCutchan27-Oct-14 2:26
mveRichard MacCutchan27-Oct-14 2:26 
QuestionArray List using Java (Help me) Pin
Ehab Younis Obaid26-Oct-14 10:47
Ehab Younis Obaid26-Oct-14 10:47 
AnswerRe: Array List using Java (Help me)move Pin
Garth J Lancaster26-Oct-14 11:53
professionalGarth J Lancaster26-Oct-14 11:53 
none of that actually tells us out here what the underlying storage type you're using is - an array or a list - its pretty ambiguous, so the answer would vary

for a list, you could do

myList.remove(0); 


for an array ? hmmm.. this would copy from the element [1] onwards in the oldArray to element [0] in a newArray - you then have to think about replacing oldArray with newArray .. and, Im not sure wether this copies elements or references, or even if it will compile

C#
somedatatype[] newArray = new somedatatype[oldArray.length-1];
System.arraycopy(oldArray,1,newArray,0,oldArray.length-1);


.. but the gist in this case is create a temp array, copy your items to it shuffling 'up' by one element index, then move the data back to the original array

have fun (ps - I try not to code in java, so there could be holes big enough to drive a truck through in my suggestions)
QuestionCreating a UI using java Pin
S.Barath24-Oct-14 17:47
S.Barath24-Oct-14 17:47 
AnswerRe: Creating a UI using java Pin
Richard MacCutchan24-Oct-14 22:34
mveRichard MacCutchan24-Oct-14 22:34 
QuestionLooking for good Java online courses Pin
DerrellGore24-Oct-14 9:36
DerrellGore24-Oct-14 9:36 
QuestionMaster Content Pin
Alok Prajapati23-Oct-14 4:48
Alok Prajapati23-Oct-14 4:48 
AnswerRe: Master Content Pin
Richard MacCutchan23-Oct-14 5:27
mveRichard MacCutchan23-Oct-14 5:27 
QuestionDisplaying all perfect numbers from below 10 000 Pin
Member 1116487619-Oct-14 7:12
Member 1116487619-Oct-14 7:12 
AnswerRe: Displaying all perfect numbers from below 10 000 Pin
Richard MacCutchan19-Oct-14 21:59
mveRichard MacCutchan19-Oct-14 21:59 
AnswerRe: Displaying all perfect numbers from below 10 000 Pin
Alok Prajapati23-Oct-14 5:05
Alok Prajapati23-Oct-14 5:05 
QuestionIs it possible to scroll JFrame if so den how? Pin
mybm117-Oct-14 21:08
mybm117-Oct-14 21:08 
AnswerRe: Is it possible to scroll JFrame if so den how? Pin
Richard MacCutchan17-Oct-14 21:15
mveRichard MacCutchan17-Oct-14 21:15 
QuestionRegarding .classpath Pin
Member 1115702915-Oct-14 18:54
Member 1115702915-Oct-14 18:54 
QuestionRe: Regarding .classpath Pin
Richard MacCutchan15-Oct-14 22:02
mveRichard MacCutchan15-Oct-14 22:02 
Questionuse of valueof(-1) Pin
bh@r@t14-Oct-14 0:03
bh@r@t14-Oct-14 0:03 
AnswerRe: use of valueof(-1) Pin
Richard MacCutchan14-Oct-14 0:07
mveRichard MacCutchan14-Oct-14 0:07 
Questionwhat the use of valueof(-1) Pin
bh@r@t13-Oct-14 23:43
bh@r@t13-Oct-14 23:43 
QuestionHow to set color for text in java. Pin
mybm112-Oct-14 20:36
mybm112-Oct-14 20:36 
QuestionRe: How to set color for text in java. Pin
Richard MacCutchan12-Oct-14 21:19
mveRichard MacCutchan12-Oct-14 21:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.