Ceriwis

Ceriwis (https://forum.ceriwis.com/forum.php)
-   Programming (https://forum.ceriwis.com/forumdisplay.php?f=63)
-   -   ask>JList>getText(); (https://forum.ceriwis.com/showthread.php?t=572878)

PHPmaster 20th November 2011 01:03 AM

ask>JList>getText();
 
Ass..

mo nanya ttg JList.

Kasus : user disuruh input jumlah pelanggan di textField, kemudian ketika button OK ditekan maka akan tampil di JList.

misal:

input pelanggan : 5 > OK.

JList :

1

2

3

4

5



ini source yang aq buat.



Vector vt = new Vector();

int x = Integer.parseInt(tfplg.getText());

for(int i =1;i


All times are GMT +7. The time now is 03:22 AM.