RemoveColumn from TableModel not just JTable
I do something like this to remove a column from my JTable:
JTable.removeColumn(getColumn(columnName));This works great for removing the column from the table...but it doesn't remove the column from the TableModel so if you do a repaint the column come back. There is no
JTableModel.removeColumn()How can I remove my column from the model?
PS...How dumb...why would you still want the column in the TableModel after you remove it!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I would guess 90% of time people what to removeColumn from both Table and Model so why not accommodate the 90% AND 10%. NOT just the 10%.Then why build the TableModel with the data to begin with? Its much faster to simply remove a column from display on the table then it is to recreate the entire TableModel, especially if you need to do a remote database query. So build the TableModel with all the information and let the users customize the view themselves.
I think you've got your percentages reversed.
Similar Messages
-
Last night, when I played my playlist songs with iTunes Genius, my iTunes, with one of my playlists selected, and set on "Shuffle On," "Genius Shuffle On, "Genius On," "Match On," and "Play," played selections from all of my songs in my playlist. Today, my iTunes Genius went back to the same problem it was giving me before last night. My iTunes Genius has been playing selections from just a few of my playlist albums. How do I set up my iTunes Genius to play selections from all, not just some, of my songs in my currently playing playlist?
No backup is a huge mistake.
You can redownload some itunes purchases in some countries:
Downloading past purchases from the App Store ... - Apple - Support -
Need filled form back from user not just data-How?
I created a static form in LiveCycle. I want the PDF form back with the data filled in (not just the data) when the user completes the form. How do I do this?
You need to put a submit button on your form. Then in the submit tab choose the Submit As option to be PDF instead of XDP data file.
Then you will have to Reader Extend the form to allow for a local save. You can do this in Acrobat under the Advanced/Extend Features in Adobe Reader menu option. Once this is done save the file and distribute the saved version.
Paul -
How to download ALL messages from server - not just NEW messages?
Good evening.
The only pulldown menu options I find are for NEW messages.
How can I retrieve ALL messages from the email server? (Yes they are all there).
Thanks for your time.Did you try "WebMail to goto your mail server & Mark all Messages as Unread?", as I mentioned before?
On the Server is where it's kept as to which ones have already been downloaded. I think marking the Unread should do it. -
I want to move voice memos from iPhone to PC (not just sync to itunes)
Hi,
I want to move voice memos from my iPhone to Windows desktop. I saw several posts about syncing them to iTunes. Thats not what i want. I want to copy them to my desktop not just sync to iTunes. Unable to copy - paste from iTunes either.impossible to do anything simple on iTunes, I managed to wipe all my recorded voice memos when I tried to move my files from iphone to desktop, instead they just "sync" I never got the point with sync, why can't you just export files and import files from desktop, simple as that why make it so complicated
-
I just recently purchased 3 songs from itunes not knowing that I had no money on my debit card (visa) left. My iphone wont let me update my apps and says that there was a billing problem with my last purchase. I dont know what I am supposed to do! I dont understand why it worked in the first place when it wasn't supposed to!
There seems to be a billing problem with the iTS. I've been trying to make purchases today (Dec 9th) too and it reports either the iTS can not process payments or it says my card was declined. I even changed the payment method to Paypal (which is never declined) and still no go.
I don't think it is "you" but a problem at Apple. Some popular new apps were released recently like Logic Pro and perhaps they're getting bombarded as they did when Lion was released.
Wait a few hours and then try again. -
I am going to buy a Mac desktop and want to know how to transfer all my purchases and uploaded music from my PC. I originally started using iTunes on my PC so it has everything I have ever purchased or uploaded from my own collection of music.
How can I do this to ensure all videos and music transfer over and not just purchases? Do they do it at the Apple Store or at Best Buy? help!Move iTunes Library from PC to MAC
http://www.macworld.com/article/146958/2010/03/move_itunes_windows_mac.html
Also, See here if you need to... iTunes to an External Drive
http://support.apple.com/kb/HT1751 -
I want to delete my mobile me account not just from my iPhone but from existence. I want to delete it so that no emails can be received to it, and the sender would receive an undeliverable message. Is this possible?
No, you can stop using the account, but you cannot delete it.
-
ITunes no longer has any of my music in my music library. How do I transfer all of my music ( not just the purchased music from ITunes) from my IPod Touch to Itunes library on my computer for syncing to other devices.
Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
-
My I-Phone has music on it that was synced from an I-Tunes library from a previous computer (which is no longer in use) AND purchases from the I-Tunes store. I would now like to transfer ALL of that music (not just the purchases from the I-Tunes store) into the I-Tunes library that I've established on a new computer.
Can that be done, and how (I've attempted without any success)?
Any assistance would be GREATLY appreciated!!Contact iTunes support and explain your situation to them. They may let you redownload it at no cost.
http://www.apple.com/support/itunes/contact.html
If they don't, I'm afraid you'll have to purchase it again. Sorry.
B-rock -
So when I get a message from a friend, just the number will pop up, not the name of the contact. And when I click on said notification, it takes me to an empty message. I can go back, open my messages again, and see the real message, but this is sort of a pain. And I've tried the basic things I can think of - I've tried adding +44 to the contact name and the exact same thing happens... I've tried adding just 0 before the number (like I did when I was in England), and nothing happens. I've also tried turning my phone off and on, and I have the same issue. Can anybody help with this? It's just a minor annoyance but I'd like to have my contact names in my text messages, not just numbers - then it takes me a while to figure out who they are!
Thanks
-HThat number is for an apple server in the UK that is used for iMessage activation. A hidden SMS is snet to that number when you turn iMessage on and is used to verify your phone number. I suggest you turn iMessage off. In settings/phone turn on dial assist. Check with your carrier to see if you can send an international SMS as you end that possibility to activate iMessage. Rest your phone (Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for device to restart (no data will be lost).) then turn iMessage back on.
-
My laptop was stolen that had my itunes installed and was synced with my ipod classic. I now have a new laptop. Is there any way I can transfer ALL the music from my ipod to itunes on the new laptop, not just the purchases? I don't have access to all the CD's etc that I originally downloaded onto my ipod.
See Recover your iTunes library from your iPod or iOS device.
tt2 -
I have a mac mini and just purchased a moshi hdmi connector for my LED TV. The problem is, I wanted to be able to take my mouse from one screen to another, not just as a mirror image! Is it possible to do this some how?
The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
If you have two displays attached, then the function to change from mirrored to extended Desktop will appear in System Prefs/Displays. -
what is the best way to back up photos and videos to a dvd from iPhoto, not in iPhoto format but just in jpeg format to access on either windows or mac
When you export the videos out of iPhoto be sure to select Kind = Original. Otherwise you'll just get an image file of the first frame of the video.
OT -
After installing ios5, itunes randomly opens up on my desktop on my laptop computer. Not just when I start my computer but when I'm on it. itunes just opens. I've searched settings in itunes and my desktop and don't know where to go to stop this from happening. itunes will just open. I've rebooted laptop and tried signing out of itunes and it still happens. Anyone have any suggestions on how to make this stop??
While it is clearly the wifi syncing that is causing it, the device almost never shows up in the device list, and I've already unchecked that box. I have two devices that I'd love to wifi sync, but neither show up today on the device list, despite iTunes continually popping up every 5 minutes or so. Buggy...
Maybe you are looking for
-
How do i add text from a pc to iphone
how do i add text from a pc to iphone like saved docs in microsof office
-
PLEASE REPLY! HELP TRANSFERING SONGS
Well, I decided that I needed to make my main libarary at another computer, so I plugged in the ipod at the new computer and went through the steps. All the songs that I had bought from iTunes appeared, but none of the songs I had uploaded from CD's.
-
What happens to Apps when the Distribution certificate expires?
Our distribution certificate expires in mid March. Do I have to re-build all the apps that are on the App Store with the new certificate or will they continue to install without issues? My gut feel is that Apple would not expect developers to re-subm
-
OBIEE Conformed dimension with Bridge Table
Hi, I have an issue and tried all the links from Mark and Gerad regarding bridge tables. But probably this is a bit different. I have to extend the OOB data model for OBIA - where the relationship between group account and gl account dimensions are 1
-
Suddenly, ALL my mail in all boxes disappeared.
I removed and re-entered my account,and now Mail looks entirely different, e.g. no sent box and a category called "All Inboxes". And I can't designate active/inactive in Settings. What has happened?.