Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Check Index
SUBMITTED BY:
Guest
DATE:
Oct. 25, 2013, 9:49 a.m.
FORMAT:
Java
SIZE:
888 Bytes
Raw
Download
Tweet
HITS:
986
Go to comments
Report
private
boolean
checkIndexNumber
(
int
index
)
{
for
(
int
i
=
0
;
i
<
currentSize
;
i
++
)
{
if
(
index
==
musicList
[
i
]
.
getTrackID
())
return
true
;
}
{
return
false
;
}
}
public
void
checkDelete
(
boolean
checkDelete
)
{
if
(
checkDelete
=
false
)
{
JOptionPane
.
showMessageDialog
(
null
,
"The Record was not found, or could not be deleted.\nPlease try again."
);
menu
();
}
if
(
checkDelete
=
true
)
{
JOptionPane
.
showMessageDialog
(
null
,
"The record was deleted."
);
menu
();
}
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus