| Author |
Message |
|
|
i did that already but it does not work. i have db connection and txt file in the code and it shows some kind of error.
thank u anyway.
|
 |
|
|
ok,
i have one class with two methods.
in method no1 , variable s is created.
now i need to use s in method no2.
what do i do?
how do i declare the methods( public, static, ...?) and how do i take s from no1 to no2?
s is a string.
|
 |
|
|
|
does anyone know sql to help me write this piece of code?
|
 |
|
|
i want to take one specific item from a single colomn of a table in a db.
this is my code of a method that is supposed to do that:
void displaySongs(ResultSet r) throws SQLException
{
ResultSetMetaData rmeta=r.getMetaData();
int i=0;
while (r.next())
{
chk[i].setLabel(i+1+" "+r.getString(2).trim());
path[i].setLabel("PLAY");
i++;
add(chk[i]);
add(path[i]);
}
}
i want an item from the second colomn of the table SONG. the item is the path of a song in the computer.
what is wrong and it doesnt work?
|
 |
|
|
i have a problem and i dont know what i m doing wrong.
this is my code for a checkbox:
class MyFrame_cd_purch_c extends Frame implements ActionListener
{
Checkbox chk1
...
MyFrame_cd_purch_c()
{...
chk1=new Checkbox("VISA");
chk1.setLocation(50,190);
add(chk1);
... }
}
why doesnt it show up on the frame?
i also hae buttons on the frames and they appear just fine.
plz hurry with ur ansewers!
thank u!!!!!!!!!!!!!
|
 |
|
|
stdunbar wrote:
woman wrote:nothing yet. i dont know how to do this. can u send me any code plz?
We're plenty willing to help if you get stuck with something. But we're not here to write your entire project for you. People tend to respond better when they see that you've put some effort into the project first. Starting by saying you've done nothing and you want some code is unlikely to get a response.
What I've seen can help is to write down the steps you would take to do your problem. Don't worry about Java or coding at this point. Just write the steps to solve the problem. Then you can take each step and try to code a little bit of it. If you get stuck let us know and we'd be glad to help.
ok, i ll do that. thank u.
|
 |
|
|
tfecw wrote:What have you tried? Here is a JDBC tutorial that you might find useful.
Link
Also here are a bunch of promising links i found via google. Link
Give the tutorials a run through and let us know if you have any questions.
thank u! the link is really useful.
a rose for u... @>--;----
|
 |
|
|
|
nothing yet. i dont know how to do this. can u send me any code plz?
|
 |
|
|
thank you kev. u r so nice. ur code is a big help.
xxxxxxxxxx!!!!!!!
|
 |
|
|
|
hassan, i know excactly how u feel...
|
 |
|
|
|
i want to put a button on a frame and when i click it, i want to listen to an audio track. when i click it again , the music will stop. also, where should i save the track?
|
 |
|
|
i need some one to help me with my project.
is there any one available? i m really DESPERATE!!!!!!!!!!!!!!!
|
 |
|
|
|
 |
|
|
can any one send me sourse code fore a login box that is connected to a database and searches the user name in the database and uses the password to confirm it. the username and password are in the same database. the base is written in sql.
plz help me... i m desperate...
|
 |
|
|
tfecw wrote:Here is a link on how to run applets from the command line using appletviewer
plz help me...i m desperate with a project...
|
 |
|
|