Is there any way to set column width is GridaBagLayout?

Is there any way to set it up like tables in html - where you specify the width and height of the cell and then place the component inside it - with the component not resizing the cell unless it is larger than the cell area?
Thanks.

Thanks Paul, please excuse the sarcasm - I just found your recommendation funny. I actually found some examples of Box.filler and have created a method for adding one for each column I want:
public void addFillerColumn(int width, int height, int colNum, int rowNum )
panel.add( new Box.Filler(new Dimension(width,height),new Dimension(width,height),new Dimension(width,height)),
new GridBagConstraints( colNum, //gridx
rowNum, //gridy
1, //gridwidth
1, //gridheight
0, //weightx
0, //weighty
GridBagConstraints.WEST, //anchor
GridBagConstraints.NONE, //fill
new Insets(0,0,0,0), //insets(, left,,)
0, //ipadx
0 )); //ipady*/
}

Similar Messages

  • Is there any way to make column width and height 0 by using formula?

    Eg:
    =If (column = value) then Column width = 0px and height = 0px

    Hi Riaz,
    Instead of kepping column width and height as 0, you can just hide the particular column by using the same function that you mentioned above, (if column = value) in hide..
    You can just right click on the column->hide->hide if->dimension=value.

  • Is there any way to set default column widths in the Finder's Column view

    When my Finder windows open in column view, all the columns are always VERY wide. I have to then spend time resizing them to a managable width. Is there any way to set default column widths in the Finder's Column view?
    <Re-Titled By Host>

    No, because you can't set a columns view default.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • Is there any way to set auot text replay in iPhone?

    is there any way to set auot text replay in iPhone?

    No, because you can't set a columns view default.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • My wife and I share an iTunes account. Is there any way to set up a seperate one for her to sync her phone contacts, iCloud and music to without having to purchase all her music again and then share going forward?

    My wife and I share an iTunes account. Is there any way to set up a seperate one for her to sync her phone contacts, iCloud and music to without having to purchase all her music again and then share going forward?
    It would be so much easier having seperate accounts but we have hundreds of her purchased songs on my account and she would need to be able to access these from her account. Possible?
    Also, if we bought a song in future we would want to be able to both have access to it.
    Alternatively, what is the easy way to sync two distinctly different contact lists to one iTunes account?
    Thank you in advance.

    FYI: iTunes account (used to make purchases) is not the same as iTunes library (iTunes on your computer with music, movies, etc.).
    ecbclb wrote:
    Will we have to create a seperate account for her, or can we all have the same one?
    You can but you will not be able to limit what she syncs.
    I would like to avoid 'checking' and 'unchecking' individual songs every time one of us tries to synch our ipods to the library.
    I don't recommend using (only) the checkmarks to select what to sync.
    Each of you can create your own playlists then sync only those playlists.
    Then add/delete from your own playlists to change iPod content.
    The only time I uncheck items is if I rarely/never want to sync them to anything, such as Christmas music or old audiobooks.
    I suggest you each have your own computer login account. Then everyone has their own contacts, calendars, and everything else.
    You and your husband can share an iTunes library and let your daughter have her own.

  • I just got my daughter a new macbook pro. She currently shares my wires apple id for iTunes on her iTouch. I need to set up an email account for her. Is there any way to set up a new iCloud email account but still use my wires apple id for iTunes?

    I just got my daughter a new macbook pro. She currently shares my wifes apple id for iTunes on her iTouch. I need to set up an email account for her. Is there any way to set up a new iCloud email account but still use my wifes apple id for iTunes?

    No it's not stealing. They have an allowance that you can share with so many computers/devices. You'll have to authorize her computer to play/use anything bought on your acct. You can do this under the Store menu at top when iTunes is open on her computer.
    As far as getting it all on her computer....I think but I am not sure (because I don't use the feature) but I think if you turn on Home Sharing in iTunes it may copy the music to her computer. I don't know maybe it just streams it. If nothing else you can sign into your acct on her computer and download it all to her computer from the cloud. Not sure exactly how to go about that, I haven't had to do that yet. I wonder if once you authorize her computer and then set it up for automatic downloads (under Edit>Preferences>Store) if everything would download. Sorry I'm not much help on that.

  • Is there any way to set a password so that txt messages only open when the password is entered

    Is there any way to set a password so that txt messages only open when the password is entered?
    Please help! Thanks for reading:)

    Hello Damien,
    There is an option to set a passcode for the entire iPhone.  You can use the following steps to set this up:
    You can configure a passcode for your iPhone, iPad, or iPod touch using Settings > General > Passcode Lock.
    Once enabled, you will be prompted for the passcode whenever you:
    Turn on or restart the device
    Wake the device
    Unlock the screen
    Note: You can specify the amount of time the screen must be locked before requiring a passcode.
    You can find the full article here:
    iOS: Understanding passcodes
    http://support.apple.com/kb/ht4113
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Is there any way to set up icloud with Windows XP?

    Is there any way to set up icloud using a PC with windows XP?

    Yes there is.
    There are many threads on this forum discussing this issue already (it's good to search before asking the same quesiton again).
    There is a simple hack to get iCloud control panel to work on Windows XP to give you synced access to Contacts, Calenders, Reminders and Bookmarks. It also can be used to set up your me.com mail. Photostream doesn't work.
    I found a solution here, have written it up in clearer english and added details re IMAP support for me.com addresses here:
    http://xlii.be/s/1ii
    In summary:
    You need:
    Unpacking program e.g. 7-Zip or WinRar
    Orca MSI editor
    The iCloud setup hack for Windows XP:
    Download iCloud Control Panel for Windows.
    Open iCloudSetup.exe file with WinRar or 7-Zip and extract.
    Navigate to and open the iCloud.msi or iCloud64.msi (for 64bit systems) with Orca.
    In the left table select LaunchCondition. Then change in the right table “VersionNT> = 600” to “VersionNT> = 200” and Save.
    Run modified iCloud.msi and install.
    Run iCloud Control Panel, located in the Windows Control Panel, and set up as you want.
    I've had reports that you need to keep the files extracted from the .exe file in the same directory during installaton of the .msi file.
    Have fun!

  • HT1688 Is there any way to set password to protect the location service, to keep GPS open? so, the theft cannot turn it off so easy, because once the location service is turn off, all GPS track is useless...

    Is there any way to set password to protect the location service, to keep GPS open? so, the theft cannot turn it off so easy, because once the location service is turn off, all GPS track is useless...

    That is what Activation Lock of iOS 7 does
    In addition, it renders the iPhone totally useless to anyone who doesn't know your Apple ID and password.
    Allan

  • Hi guys. Just a quick question. My wife has a Mac Book Pro and when she is browsing the web she can use a two fingered gesture to go back to her previous page (by swiping from right to left). Is there any way to set that up on my iPad Mini. Many thanks.

    Hi guys. Just a quick question. My wife has a Mac Book Pro and when she is browsing the web she can use a two fingered gesture to go back to her previous page (by swiping from right to left). Is there any way to set that up on my iPad Mini. Many thanks.

    Not in the Safari browser she can't. That is not supported on the iPad. There are other mobile browsers that do have that functionality - one is iCab Mobile.
    https://itunes.apple.com/us/app/icab-mobile-web-browser/id308111628?mt=8

  • Using the Motorola Atrix w/ the laptop dock, when I open a web page with Firefox I have to hit "Ctl +" three times to make the page fill the screen. Is there any way to set up so pages open the right size?

    I'm using the Motorola Atrix smart phone with the Laptop Dock. When I open a web page with Firefox I have to hit "Ctl +" three times to make the page fill the screen. Is there any way to set up the Firefox browser to open the web pages the right size in the first place?

    The Firefox Page Zoom feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • Is there any way to set a timer for particular playlist?

    i would like to listen to a sleep playslist everynight without getting up to turn it on. is there any way to set it in advance?

    this is not the problem. i know how to open iTunes when it starts up and to schedule the computer to shut down. what i want to is at 8 pm close all applications except iTunes, put the display to sleep and at 9 pm start playing a sleep playlist. i have been told many times not to look at the computer an hour before bed and i so i want to avoid having to look at it to start my go to sleep playlist.
    i have looked at a number of programs but i don’t see one that does this yet.

  • Is there any way to set the SCCM system to use local time instead of UTC?

    We have ConfigMgr 2012 in our environment. We are in EST.
    Is there any way to set the SCCM system to use local time instead of UTC?
    When we try to deploy packages, if you don’t specify the time, it reverts to UTC which for us is off by 5 hours.

    Which times are you talking about? Deployment start times or deadlines? Those could be set to UTC *or* client local time.
    Torsten Meringer | http://www.mssccmfaq.de

  • Is there any way to set global language as english for users  in portal

    Hi,
    Is there any way to set global language as english for all the users  in portal (for all the screens,applications etc) irrespective of browser settings,language in jco,user settings in backend .
    the reason why i am asking is we are implementing global implementation project and for some users in switzerland because of their browser is not english they are getting language other than english.we dont want to ask each user to change their browser language.we just want to force the portal to display content only in english
    Thanks
    Bala Duvvuri

    Hi ,
    You can add property  'request.mandatorylanguage=<your_language>'
    and property  'request.mandatorycountry'
    on file 'prtDefault.properties' located in :
    ..server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\system\properties\prtDefault.properties
    Then restart the server.
    See :
    http://help.sap.com/saphelp_nw70/helpdata/EN/42/938297a5061d69e10000000a1553f6/frameset.htm
    Regards,
    Gilad

  • Is there any way to set the home page as an app tab?

    Opening a new window with my homepage set as an app tab still generates a new homepage. Is there any way to set the home page as an app tab?

    Hi,
    Try File / Save As. Select "Page Source" from the Format pop up menu.
    Carolyn 

Maybe you are looking for

  • 'The song "xyz" could not be used because the original file could not be found.

    I am quite new to iTunes so please excuse me if the questions seem daft  I have recently changed my default iTunes Media folder location from my local C:\ drive to my home network storage device (my PC is permanently mapped to this NAS storgae drive)

  • Using USB keyboard with Camera Kit

    Is it possible to connect a USB keyboard to my Ipad using the USB camera connector?

  • HT4366 ATV2

    The HDMI port on my television is broke and unfortunately it only has one.  I tried to connect the ATV2 via an HDMI to VGA cable, but when I change the input on the tv to HDMI/DVI, I get the 'No Signal' message.  I've also tried the RGB-DTV input wit

  • Where is my MemoPad??

    Hi!  I have synced all media files via Blackberry Desktop Software - all successful - but my MemoPad notes have cleared and i cannot find them anywhere on my Mac.  Any ideas where they would be, or how to restore them? The new notes I have added sinc

  • Find user rights related to schema

    hi every body i am stucked in a problem. i have an oracle 9i database release2 on windows server 2003. there is schema IINVENTORY and there is 96 tables in this schema. there are many roles creted in this database. how i can find which roles are crea