JTable Problem Can any1 help??
Hi there,
I am pretty new to java so please forgive me if this is a silly question but I can not fix this.
I have a JTable which when I enter a code a new line is added to the table describing the code entered. But when I press a button I basically want to delete everything in the jTable and start a fresh.
Can anyone help me please :)
Hi,
I am not sure as to how you are constructing the JTable.
But this is one of the way.
DefaultTableModel tm = new DefaultTableModel(....see definitions to get one that suits);
JTable myTable = new JTable(tm);
Now in your actionPerformed method for the clear button-
int rowcount = getRowCount();
for(int i = rowcount - 1; i>=0; i-- ){
tm.removeRow(i);
Hope it helps
Best of Luck
Vignesh
Similar Messages
-
ok we have bt bussines hum at home and threw that I can connect to the interner threw my n95's wlan, but heres the problem
I bought my boyfriend the n78 and set up his wlan and now if we have our pc's on and we are say in another room and both want to use out mobile internet
now it says everytime there is a thrid or second part router try to conect
contect bt and they said to check that both the mobiles are conecting via wpa which my n95 was not and it was connectin via wep is it? so we changed it as to what bt said and it seemed to be fine
untill just now both the phones connected but the pc went down.
can anyone help ?
thanksHi,
I am not sure as to how you are constructing the JTable.
But this is one of the way.
DefaultTableModel tm = new DefaultTableModel(....see definitions to get one that suits);
JTable myTable = new JTable(tm);
Now in your actionPerformed method for the clear button-
int rowcount = getRowCount();
for(int i = rowcount - 1; i>=0; i-- ){
tm.removeRow(i);
Hope it helps
Best of Luck
Vignesh -
I can´t sync iCal events written in the iphone4 to the macbook ical, but conversely from macbook to iphone there´s no problem, can somebody help me?
Thanks for your answer! I tried as you say, erase the Sync History, but now does not sync any calendar, only displays the birthday ...do not know whatelse to try.
-
On photoshop element 12 when I open a .MTS file I have the sound with a black screen if I open a .mov it work fine I have uninstall and reinstall I still have the same problem can you help?
I have find the codec installed on my PC do you see an undesirable one I have highlighted the one that seems strange should I uninstall how can I do this safely
Daniel
Codecs audio
Type
Nom
Format
Binaire
Version
ACM
Codec Microsoft IMA ADPCM
0011
ACM
CODEC A-Law et u-Law Microsoft CCITT G.711
0007
ACM
Codec audio Microsoft GSM 6.10
0031
ACM
Codec Microsoft ADPCM
0002
ACM
Fraunhofer IIS MPEG Layer-3 Codec (decode only)
0055
ACM
Convertisseur PCM Microsoft
0001
DMO
WMAudio Decoder DMO
0160, 0161, 0162, 0163
WMADMOD.DLL
6.1.7601.17514
DMO
WMAPro over S/PDIF DMO
0162
WMADMOD.DLL
6.1.7601.17514
DMO
WMSpeech Decoder DMO
000A, 000B
WMSPDMOD.DLL
6.1.7601.17514
DMO
MP3 Decoder DMO
0055
mp3dmod.dll
6.1.7600.16385
Codecs vidéo
Type
Nom
Format
Binaire
Version
ICM
Microsoft RLE
MRLE
msrle32.dll
6.1.7601.17514
ICM
Microsoft Vidéo 1
MSVC
msvidc32.dll
6.1.7601.17514
ICM
Microsoft YUV
UYVY
msyuv.dll
6.1.7601.17514
ICM
Codec Intel IYUV
IYUV
iyuv_32.dll
6.1.7601.17514
ICM
Toshiba YUV Codec
Y411
tsbyuv.dll
6.1.7601.17514
ICM
Codec Cinepak de Radius
cvid
iccvid.dll
1.10.0.13
DMO
Mpeg4s Decoder DMO
mp4s, MP4S, m4s2, M4S2, MP4V, mp4v, XVID, xvid, DIVX, DX50
mp4sdecd.dll
6.1.7600.16385
DMO
WMV Screen decoder DMO
MSS1, MSS2
wmvsdecd.dll
6.1.7601.17514
DMO
WMVideo Decoder DMO
WMV1, WMV2, WMV3, WMVA, WVC1, WMVP, WVP2
wmvdecod.dll
6.1.7601.18221
DMO
Mpeg43 Decoder DMO
mp43, MP43
mp43decd.dll
6.1.7600.16385
DMO
Mpeg4 Decoder DMO
MPG4, mpg4, mp42, MP42
mpg4decd.dll
6.1.7600.16385
De : sarika02
Envoyé : 17 juin 2014 19:26
À : Daniel Cloutier
Objet : On photoshop element 12 when I open a .MTS file I have the sound with a black screen if I open a .mov it work fine I have uninstall and reinstall I still have the same problem can you help?
On photoshop element 12 when I open a .MTS file I have the sound with a black screen if I open a .mov it work fine I have uninstall and reinstall I still have the same problem can you help?
created by sarika02 <https://forums.adobe.com/people/sarika02> in Photoshop Elements - View the full discussion <https://forums.adobe.com/message/6466796#6466796> -
the devices is not popping up in our itunes. is anyone else having this problem. can you help me if you have the same problem
Try rebooting the computer and restarting the device.
Try a different cable.
In rare cases fluff in the connector port can prevent proper contact with the connectors used to transfer data. An air duster or thin piece of card or plastic can be used to tease out debris if that is the problem.
tt2 -
gmail on iphone was working fine until yesterday when it prompted me with the message "cannot get mail user name or password for gmail is incorrect", i have tried deleting the account and re-created a new account, same problem, can anyone help?
paulcb, you're a genius, it worked, thank you so much, you don't know how much stress you have taken off my shoulders, I am constantly on my email in my iphone everyday. Thanks a million, take care. Robert.
-
Im stuck in a loop can any1 help
im stuck in a loop can any1 help me
Does it boot to Single User Mode, CMD+s keys at bootup, if so try...
/sbin/fsck -fy
Repeat until it shows no errors fixed.
(Space between fsck AND -fy important).
http://www.westwind.com/reference/os-x/commandline/single-user.html
Any change? -
my ipod is showing corrupted.. iam updating by itunes but its show error 1439.. can any1 help me
Hey there AftabskinHow are you?
Well, I have an iPod Classic, it gave me the error -1436 error and would not restore on iTunes.
I did the following:
My Boss (@work) has a fairly old iBook but it has OS-X, so I decided to give it a try and connected my iPod to it.
The system showed a window telling me that the disk is not MAC formated and needs to be validated prior further action. Snce it is a Mac product, I thought "yeah, go ahead".
It then opens the disk manager utility for the Mac and showed the disk. It's window has some tabs, one is to verify the disk, so I verified it. Guess what, it had some invalid clusters.
Then I formatted the iPod to OS-X Plus file system (next tab to the right). After formating the iPod, I "ejected" the iPod and reconnected to my PC. The Windows iTunes found an iPod with Mac file system and asked me to restore it. As I clicked on the "restore" button, I crossed my fingers as this was the last resource I have.
Finally, after the file extraction was done, it began to restore the iPod!!
I'm so happy about being able to restore the iPod that I decided to share with all you guys this solution as it is the most usefull, in my opinion.
Hope you can find someone with an iBook or a desktop Mac, so you can fix yours.
If it works for you, make sure to share the tip!!
Kind regards
Salvador Rivera -
can any1 help me with the internet on my iphone 3gs it says no connection on the facebook news feed but all the other internet stuff works
Contact the develpers of that app, which is not an Apple product for support. You can find the developer contact info in the description of that app in the App Store or Google it.
-
i was updating my iphone 4 through settings but in the middle my phone switched offf n now what i can see is the apple logo blinking n i cant connect it to itunes can any1 help me?
If you have a backup of your information on your computer, I would suggest putting your phone into recovery mode, by holding down the home key and keeping it held down while you connect it by usb into your computer with itunes running. Keep the home button held down until it indicates recovery mode, and proceed with the restore.
-
I bought a new Epson printer WR-7620 on Saturday and the Air Printer is not working. I spoke to Epson and they said it is an Apple problem, can anyone help. Thanks Peter
Peter,
deggie gave you that link so you'd know that airprint is a reduced-options print system, designed for mobile devices (not Macs), and you need to use the specific airprint driver on the Mac when adding the printer if you want Airprint, no-options printing. Otherwise, select the "non-airprint" driver when you add the printer.
It may be helpful to Reset the Printing System to get OS X to find the right driver.
Mac OS X: How to reset the printing system - Apple Support
(And "not working" doesn't help us to help you - please give more detail next time) -
Help? I got a visa giftcard and I had put it on iTunes. Now it's done and has no money in it but every time I try to get a free app it says u have an unsufficient amount. Can any1 help me
You have an outstanding balance in your account. You have to add a payment method to satisfy that balance before you can do anything with the account including purchasing free updates and free apps.
-
How do I change DNS to Business Catalyst servers. I am having problems can anyone help please?
What problem are you having?
Have you read this KB? - Domain name and DNS: Quick reference -
i had a new lcd on it and when i got home i found out the wi-fi is not working on it i try to look for networks n its not even trying to find one can any1 help
- Try a reset. Nothing is lost
Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Power off and then back on your router
- Reset network settings: Settings>General>Reset>Reset Network Settings
- iOS: Troubleshooting Wi-Fi networks and connections
Try moving the iPod right next to the router. Maybe the antenna got disconnected. -
iv rented a movie on iTunes but it is saying 5 hours to download and seems to have frozen. can any1 help?
Hi Bemma Bob,
Thanks for using Apple Support Communities. This article has some information about estimated download times from the iTunes Store:
iTunes Store: Download times will vary
http://support.apple.com/kb/ht1577
If you were not able to watch the movie, you can report this to the iTunes Store by following this article:
How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
http://support.apple.com/kb/ht1933
Cheers,
- Ari
Maybe you are looking for
-
IPhone went black? What happened?
My iPhone 4 suddenly went black after trying to upload a video to facebook. It is unresponsive to anything including the charger and resetting. I didnt drop it and now I just dont know what to do. Help??
-
Transaction to execute an invoice verification
Hi all, can any one please say me Which is the proper transaction to execute an invoice verification ( Evaluated receipt settlement or ERS) and how is that executed through that particular transaction. Regards, Cheenangshuk das
-
TS1717 Itunes Error -42404 After Cleaning Computer
I recently cleaned by computer using CCleaner. Now, I am getting an error message saying I need to reinstall itunes. However, I can bring up my itunes, so I know it hasn't been erased. Also, my computer is not recognizing my ipod nano. Will reinstall
-
Where can I download Netweaver Portal Studio
Hi All I look for Netweaver Studio installation and also a kind of mini sap with the portal and the JAVA stack Where can I download them ? Thanks for your help Jerome Fortias
-
How do I remove the bilingual "tag" that appears at the bottom of every email I send? Thanks! Solved! Go to Solution.