JTable setPreferredWidth problem, really weird

Hi,
I am using the following method to set JTable column width everytime I made some changes to
the database that JTable connected with.
//tableView is JTable object
//displayWidth array is defined to be customized column width int
public void arrangeCol() {
tableView.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
TableColumnModel colModel = tableView.getColumnModel();
//Get the column at index col, and set its preferred width.
for(int col=0; col<dataBase.getColumnCount(); col++){
colModel.getColumn(col).setMaxWidth(Globals.maxwidth[col]);
colModel.getColumn(col).setMinWidth(Globals.minwidth[col]);
colModel.getColumn(col).setPreferredWidth(displayWidth[col]);
tableView.repaint();
However, I am using Visual Cafe 3.0c for development environment, everytime I call this method,
it will set the column width all to default width 75. But if I run it under Linux, this method works.
Have you ever run into such problems? Do you have any idea why such a weird problem? How I can fix that?
Thanks a lot.
Lei

I found it and tried it out (to the letter!). Doesn't seem to do anything. There's still this magenta cast. So I guess, double profiling is still going on.
Since LR works fine, I guess I'll do all my printing using that application then. :(
Still, it strikes me as odd that LR works fine, and PS does not. This suggests to me that there's a problem with PS and not so much with the Canon driver (although, I absolutely agree it would be wonderful if Canon finally allowed us to truly switch off colour management in their driver).

Similar Messages

  • Help me! - trackpad problem - really weird

    I have a much loved Macbook Pro from 2009. Last night the click on the trackpad stopped working. The pointer still worked but just no click. I turned the computer off and turned it upside down overnight in case water or something got into it, so it would drain out or dislodge. Then this morning the click was working again. But it felt a slight bit different. Less of a pronounced "click" feeling and more of a soft click. But still seems to be working. However, sometimes I can't highlight text and often I cant drag the blue side bar on websites to scroll down. I click on the blue side bar and try to drag it down to scroll but it just doesn't work.
    Is there a way to fix it myself? What could be causing it? Would this be expensive to fix if I take it to the Mac store?
    Many thanks!

    Go to the local hardware store and get a #00 Phillips driver.  There is no reason that you cannot open it your self.  Just note where the different length screws go.
    Ciao.

  • Really weird laptop problem, please help!

    Hi,
    I just got a new laptop this weekend, Lenovo S205, everything is perfect and so far I love it.
    However, one really weird problem i cannot find an answer for anywhere.
    When I shut the laptop down it instantly restarts. Doesnt matter if I hold the power button down either, as soon as I let go it boots back up.
    I have no peripherals plugged in or anything. 
    I'm totally stumped!!
    Its really annoying as the only way to turn my laptop off is to unplugged the battery, or just let it run down.
    Any ideas much appreciated.
    j

    Hi and welcome,
    did you prove your energymanagement & a few windows settings  at the end of this EM Settings in knowledgebase...
    as well something could provoke restart instead of shutdown ...
    Best is to exclude software failure,  restore to factory condition with dvds ..  Create Factory Disc
    after factory restore ... if your S205 have same behaviour ...call your local service..
    sincerely KalvinKlein 
    Thinkies 2x X200s/X301 8GB 256GB SSD @ Win 7 64
    Ideas Centre A520 ,Yoga 2 256GB SSD,Yoga 2 tablet @ Win 8.1

  • Really weird problem -- won't download mail from one sender

    I'm having a really weird problem. Apple Mail won't retrieve mail from my Gmail account via POP3 from one sender only. All other mail is downloaded normally, except from a particular sender. What could be causing this? Thanks.

    I am trying to remember and research something about the Junk filter and Gmail accounts. Have you checked in your Junk mailbox, if Junk in enabled and there is a separate Junk mailbox?
    If you click on my name to the left, and look in the bio line of the resulting Profile, you will find an email address you can reach me with. If you email me at that address, I will send you a Gmail address that your sender can test sending a message to me at my Gmail account.
    Ernie

  • Using iWeb to publish my mobileme photo gallery -really weird bugs help plz

    I have a really weird problem and have tried searching the forums already with no luck.
    I'm using iWeb09 to put mobileme photo album on my website. When I initially add the widget onto my page, the widgets will show a "preview" of what pictures are in the gallery if you hover your mouse over it. Later during the day, I'm not sure if I did anything to mess it up but that "preview" is no longer there. It's just a black box. It still works however if you click on it because it takes you to the mobile gallery.
    The only way for me to fix it was to delete the mobile me album and create a new one. Then re-add the widget onto my iWeb.
    This has happened twice to me already and I cannot figure out why it happens. I'm sorry if my description is vague. Please help.

    There is no point in re-installing iWeb, because after you have published it really is not an iWeb problem - if there is something not working on uploading the files, then it is really nothing to do with iWeb after html pages have been created.
    If you are using Fetch to upload, then you have obviously published your site to a local folder? If so, are the photos there when you look at your local site? If they are there when you publish to a local site, then it is an error in uploading and if photos do not show, it means that some things are not being uploaded to your server correctly.
    Have you tried using Cyberduck instead of Fetch? Cyberduck or Transmit are two of the better ftp programmes to try.

  • Is My Iphone 3gs the only one that does this really weird glitch

    ok i have a issue i looked everywhere and i did not see anything in the forums about this
    when i am replying to a text message and auto-spell types something so i hit the back button/delete key to rewrite what i want to type and it does not delete the text it just goes over the letters and doesn't delete it and sometimes the cursor will just get stuck and sometimes the cursor when i am deleting text will keep going over the letters i am typing and doesn't do anything , so as i hit back/delete button on keyboard it just keeps going over the letters and does not delete its really weird, and this is my 2nd new iphone 3gs for a different issue, and they both did that.
    what i want to know is if this is a hardware problem and should i take it in to get it replaced again which i hate doing,since i got a good iphone 3gs this time...has this happened to anyone else,or does this happen to anyone else
    any help would great thank you

    Well if it happened to 2 different iphones perhaps something is corrupted in your backup restore file. By restoring your new phone with this old backup restore file u may be copying over the problem.
    Solution: Restore and setup your iphone as a 'New' phone instead of restoring from a previous backup. This should solve your problem.

  • I have a macbook pro with OSX Mavericks 10.9.5 and some keys that are not working. Specifically, the enter/return button, the "p", "0", ";", and all the function keys.  What's really weird is that happens randomly.  I've never spilled anything on it

    I have a macbook pro with OSX Mavericks 10.9.5 and some keys randomly are not working. Specifically, the enter/return button, the "p", "0", ";", and all the function keys.  What's really weird is that happens randomly.  I've never spilled anything on it, and I can't for the life of me figure out how to fix this.  Can anyone help?  of course this happened after my warranty expired.

    **update**
    I don't know if this will help someone but I am posting this for that purpose.  In the past when I first had this problem, I'd read a post somewhere (sorry, long ago, don't have the link) where an individual was having the same problem and they stated that when the MBP got heated, that's when the keys would stop working, and they went into the MBP and jiggle some stuff around (a specific wire, I'm not electronically inclined so I know NOT of what they spake!).  Well I didn't want to do that but it always stuck in the back of my mind.  I had given up, really, and was planning to take my MBP to the apple store.  But by chance one night I left my MBP on the floor where it's cool, and when I turned it on, the problem went - poof! It seems there was some validity to the post that spoke about heat, because my problems started when I would stream foreign dramas on my MBP for hours at night, and I would hear the fan going off all the time, and in the mornings, my "p", "enter", "0", ";", and all the function keys would stop working. 
    So, maybe try keeping the MBP in a cool place when it's off.  Since I've started doing this overnight every night (keeping it on the cool floor, out of reach of any big feet), I have not had a single problem with my keyboard.
    Hopefully this might help someone.

  • Dock acting really weird - Please help!

    After installing the Mobile ME update and iTunes 7.7, my dock has been acting really weird.
    1. I usually set the default dock size at the smallest possible. However, now when you left click on the separator of folders and applications, it allows the dock to become smaller than possible when setting from the Preference Pane
    2. The dock automatically becomes smaller over time until the icons are really tiny.
    Is this a bug encountered by anyone else? It really bugs me that I have to keep pulling the dock to a standard size. Can someone please help me out of this mess?

    Hey VK
    Thanks for the quick response.
    I did just that. Deleted the com.apple.dock.plist under my user home directory/Library/Preferences.
    While it reset the dock, the problem still remains. You can view the problem by
    1. Setting the dock to the smallest possible size via the Preference Pane
    2. Turn on magnification and bring it closer to the left side of the adjustable bar
    3. Now, use your mouse to drag the dock by the separator
    Observation: The dock will become smaller than is "set" by the bar in Preference Pane
    4. Click on the bar in the preference pane, set at small, the dock will resize itself again
    5. Choose the dock to be set on the right
    6. Choose it to be set at bottom
    Observation: The dock is a LOT smaller than it could ever have been.
    7. Click on the smallest possible size in the preference pane, the dock resizes itself
    8. The dock keeps getting smaller over time still. =(!

  • Small problem really annoying! Reinstall does not fix issue!!

    Hi there Small problem really annoying! Reinstall does not fix issue!!
    The Next button when on Taskbar is showing back!
    Weird but really annoying!!
    Windows 8.1 64 AMD Quad Core Black

    Nothing no help?

  • Desktop version acting really weird

    I'm having trouble getting the desktop version of Story to run (on MacBook Pro, OS X Lion). Whenever I open it, I see this warning
    Then it gets really weird. If I have Google Chrome open, I hit Restore Windows and the application opens and runs. If I don't have Google Chrome running, I hit Restore Windows and get
    Seems to be true whether I am connected to the internet or not. I thought initially I had a problem with Air, but I've uninstalled and reinstalled and all seems to be well there. Thoughts?

    Hi,
    This could be due to to OS X Lions 'Save/Restore Application state feature (on quit/relaunch)'.
    Can you try out following and see if the issue is fixed ?
      1) Launch System Preferences and click on the “General” icon
      2) At the bottom of the “Number of recent items” list, uncheck the checkbox next to “Restore windows when quitting and re-opening apps”
      3) Now reboot and restart adobe story (you can try reinstalling adobe story as well).
    Please note: This might affect other applications, whoe states were stored so far on quitting.This is a sweeping change that impacts all applications and the Finder itself, meaning all apps will no longer save their previous state, including when you reboot your Mac.
    thanks
    ratnesh
    adobe story team

  • Really Weird Bug?

    I have this really weird bug on my mac. I don't think the manual says anything about this so I have come here. Sometimes, for no apparent reason, music starts playing. I have never heard this music before (besides during this bug) and there is no way to turn it off besides restarting the computer. Restarting the computer is a temporary fix, but the music comes back after awhile. No applications have to be open in order for the music to start playing. I have even quit all applications (including finder) in order to try to stop the music but none of it works. (And BTW it can start without itunes opening up. I never opened itunes and it all of a sudden started so it is not an itunes problem) I have absolutely no idea how to fix the bug, so somebody help?????

    Hahaha it was a really big DUH for me, so Duh thats its embarrassing...sorry guys lol

  • Cellular data....really weird behavior.

    Hello,
    I've got a problem using my cellular data connection on my iPhone 5 64gb with last updates. I ve got a data plan with 3 ITA and everythings worked good in the last months...then i moved to london for a while (and used a uk sim) and when i come back and try to use my connection with my 3 ITA plan i noticed a really weird behavior.:
    Only whatsapp works....and sometimes facebook messanger notification (but no way to send messages)....or maybe a push notification from the email sometimes. But for example safari or chrome never works...imessage doesnt works. a lot of things don't work.
    It's really weird because if I try to reset my iphone and erese everything all seems to work ok so I dont think is a carrier problem. If i restore the backup I start to notice the problems.
    What can be the cause?
    Anyone experienced a problem like this?
    Thank you
    Ivan

    You should have specified in the title that it's about a MacBook Pro.
    Does the same thing happen with other Linux distributions, OS X, or Windows? Because you should be trying to determine if it's a hardware problem or a software problem.
    Did it start happening recently, as in, after an update? Intel HD 4000? Check /var/log/pacman.log and downgrade the driver to whatever worked before. But if it's a hardware problem (i.e. it happens on OS X, other distributions, etc), then you need to take it in to the shop, if warranty still applies.

  • My iMac is acting really weird lately....

    So I got my iMac in 2008 I think. Around that time. So sometimes it's slow but it still works fine... Initially I had 1 GB of RAM and last year I got 3 more so now I have 4GB of RAM. (I don't know whether this may be related to my problem but I thought I'd mention it) My iMac has been acting unusually weird for a week or so. It starts up soo slow, it takes about 7 minutes. Yesterday it started up just fine though.... Today I wanted to start it up and I got to the desktop screen but the little applications on the top bar (the wifi, volume, language preference, caffeine etc) wouldn't all load (just a few of them were there)... and then I got the spinning wheel.... which wouldn't stop spinning... so I shut it down because nothing would work and I started it up again. No luck. I tried again and this time I was stuck for 15 minutes at the grey apple logo thing before I got to the desktop screen... Also, I have an app called Caffeine. A few days ago it disappeared from my top bar without having done anything... I use it so that the desktop doesn't go into sleep mode/screensaver mode... so I noticed the screen saver and I thought it was weird because I haven't had screen savers for years. The first time it started to act strange was a week ago, when I started the iMac and it told me to enter my apple ID and password - but I never logged out of it! This happened multiple times. Once, I entered everything correctly and it told me that it was incorrect. When I restarted, it got me right into my apple ID.. Also Chrome was asking me for a password for 'local items' - which is really weird because I never had something like that. Or at least never seen that before..... I also searched for viruses and repaired some permissions but it didn't change much... now it doesn't ask me to log into my apple ID anymore but it takes so long to start up... But once it's finished starting up it works flawlessly. I'm really worried. What's happening to my iMac?

    Do the following:
    Repair the hard drive and permissions using Disk Utility.
    Backup your files to an external drive.
    Boot from your installer DVD.
    Erase the hard drive.
    Reinstall Snow Leopard.
    Upgrade Snow Leopard to 10.6.8.
    Reinstall any third-party software from original media.
    Restore your data files.
    Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Drive Partition and Format
    1. Boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Apply button and wait until the process has completed.
    4. After formatting is finished quit Disk Utility and return to the installer. Complete Snow Leopard installation.
    5. Download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8
    The easiest way to do the backup step is to connect a formatted, empty hard drive of the same capacity or greater than your internal drive. Clone the internal drive to it.
    Clone using Restore Option of Disk Utility
      1. Open Disk Utility in the Utilities folder.
      2. Select the destination volume from the left side list.
      3. Click on the Restore tab in the DU main window.
      4. Select the destination volume from the left side list and drag
           it to the Destination entry field.
      5. Select the source volume from the left side list and drag it to
          the Source entry field.
      6. Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.

  • Brand new MacBookPro acting really weird. It's stuck i think

    So my brand new Mac Book Pro (30 days old) recently started to act really weird. I have this audio software called Pro Tools 10 and 2-3 days ago it started to crash it every time i open up a Virtual Plug-in on a track. I thought that this was the only problem with my computer but I'm noticing new weird things every day.
    When i shut down my computer or restart it it always turns on with the File Sharing window open.. I was experimenting with in the File Sharing window like 3 days ago but now it opens every time I start my computer.  When I click on the System Preferences the File Sharing window always opens up. I have to click ,,Show All'' to see the menu for System Preferences.
    When i open up Safari the same 3 tabs always reloads. This was some websites i looked at 2-3 days ago but it always reloads. Even if I quit Safari it reloads when i open it up again.
    I deleted a application from my computer and it's shortcut from the DOCK but everytime i start up my computer it appears there (just a question mark instead of the shortcut)
    It's like my computer is stuck. Stuck in the day i did all these things and it hasn't coped with the things I've done since then.
    I've tried to un-click the ,, Restore windows when quitting and re-opening apps'' in the System Preferences/General but as soon as I close the window it clicks itself again. I reset safari but that won't do it ether.
    I've updated all my software and I'm now currently running Mac OS X 10.7.5 on MacBook Pro 15' i7 16gb RAM. I upgraded my RAM like 15 days ago so I don't think that's the problem. I've done ,,remember tests on it and it passed all the tests.
    So what could be wrong with my computer ? What could be making her behave so weird ? Should I delete my user account and create a new one ? Should I install Mountain Lion instead of the version I already have ?
    - Fannar

    MacBook Pro
    https://discussions.apple.com/community/notebooks/macbook_pro 
    https://discussions.apple.com/community/mac_os 
    http://www.apple.com/support/macbookpro

  • When I convert my pdf doc to word, the fonts go really weird and it also puts some text into boxes. when I try to select the test and change the font, it does not change it properly?

    When I convert my pdf doc to word, the fonts go really weird and it also puts some text into boxes. when I try to select the text and change the font, it does not change it properly? This is making it impossible to amend.

    Hi Janedance1,
    If the PDF that you converted already has searchable text, please try disabling OCR as described in this document: How to disable Optical Character Recognition (OCR) when converting PDF to Word or Excel. (If the PDF was created from a scanned document and doesn't already have searchable text, disabling OCR isn't a great option, as the text won't be searchable/editable in the converted Word doc.)
    Please let us know how it goes.
    Best,
    Sara

Maybe you are looking for

  • Multiple iTunes Libraries on one computer?

    I'm a newbie and have what is probably a very simple question, but I'm confused. Both my boyfriend and I have iPods. What we're doing now is he's got his iTunes library on the laptop (syncing and charging on the laptop), and I have mine on the deskto

  • Query help with Model clause

    Hi Gurus, Can someone please help me out. I've a below tables. 1) tbl_link --> this table contains information at profile level 2) tbl_summary --> this table contains summary at parent profile level derived from tbl_link table One parent profile cont

  • Need to Uninstall AIR on Old iMac running Tiger

    Please ! Help me!  I'm on an iMac 5,1 running OS 10.4.11 I had a HD crash earlier this week and am running from my External backup HD.  I bought a second ext. HD and need to backup to that to protect everything.  I spent 10 hours copying to the new H

  • 9iAS Reporting Services Vs 6i Reports..urgent

    Hi All, what is the difference in using the 6i reports and 9iAS Reporting services, as i know that invoking 6i report takes more system resources, will this problem can be resolved by 9iAS Reprot servvices or not, if so how and if not what i have to

  • Transitioning WSRP producer registrations from development to production

    Hi there, we're currently struggling a bit with the notion of producer registrations vs. the need for separating our development environment from production. Here's what we do: 1. We create a producer connection in JDeveloper, but using the developme