What's meaning of this sentence about the size of a JButton

1. please go to the following webpage:
http://java.sun.com/docs/books/tutorial/uiswing/overview/layout.html
2. then proceed to the section
"Providing Hints about a Component"
3. and find the sentence:
"Currently, the only layout manager in the Java platform that pays attention to a component's requested maximum size is BoxLayout."
does it mean that if i do not choose BoxLayout management, i could not use those provided methods? such as JButton.setMinimumSize(Dimension d),JButton.setMaximumSize(Dimension d).....
i tried to invoke those methods in my program where there is no Layout Management, and find that those methods do not response with anything at all!
need your confirmation!! thanks a lot!!

The different layout managers respond differently to the min/pref/max sizes of your components. To remind you rself of which respond in which ways, consider keeping a link to this URL in you favs:
http://java.sun.com/docs/books/tutorial/uiswing/layout/using.html
You'll find all you need here.

Similar Messages

  • What is the meaning of this column in the pricing  procedure?

    Dear Gurus,
    What is the meaning of this column in the pricing procedure?
    thanks..

    subtotal field : Subtotal field is used to pass the value to some other field in PO .
    for ex: using value 9 you pass the value to field komp-brtwr. so that this can be used in  any other routine in the pricing procedure.
    requirement field: if there is a scenario that condition type should come in pricing on some condition like vendor country is india. in that case use create the requirment and attached this requirement.in this requirment you put logic and set the sy-subrc value 4 or 0.

  • I have started to get this error message: 5.1.3 bad address syntax in my email account. I am using Outlook 2011. It does not appear to be affecting sending or receiving email. I have no idea what it means or how to resolve the issue. Any advice?

    I have started to get this error message: "5.1.3 bad address syntax" in my email account. I am using Outlook 2011. It does not appear to be affecting sending or receiving email. I have no idea what it means or how to resolve the issue. Any advice?  My email account is through Optimum online and I am using Airpost Express.
    P.S. The error sound "bong" is driving us nuts!

    Please post on the Office for Mac product forums that Microsoft hosts. It's their product and they can best troubleshoot the issue.

  • What do I do if my IPad wont turn on completely and what I mean by that I see the Apple logo and I think that it is turning on and then after a while i see the loading symbol which means that it isn't frozen and then all of a sudden it shows the apple log

    What do I do if my IPad wont turn on completely and what I mean by that I see the Apple logo and I think that it is turning on and then
    after a while i see the loading symbol which means that it isn't frozen and then all of a sudden it shows the apple logo once more and it repeats the above

    Try this first.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    If that doesn't work, try restoring the iOS software.
    iTunes: Restoring iOS software - Support - Apple
    If that doesn't work, try this.
    iOS: Unable to update or restore - Support - Apple

  • My iPhone 5 has a grey-ish blue splodge on the screen. What is it and how can I get rid of it? The place that has the spot is about the size is about 2cm,it still works where the spot is. I haven't sat on my phone or hit it to hard, not that I remember.

    The place that has the spot is about the size is about 2cm,it still works where the spot is. I haven't sat on my phone or hit it too hard, not that I remember.  I  noticed a while ago. Will it disappear? I can see the things that should be where the spot is eg it's on the keyboard and I can see the keys. Will this spread to the whole screen? How can u get rid of this?

    If you own an iPhone that is ineligible for warranty service but is eligible for Out-of-Warranty (OOW) Service, Apple will service your iPhone for the Out-of-Warranty Service fee listed below.
    iPhone model
    Out-of-Warranty Service
    iPhone 5s, iPhone 5c,
    iPhone 5
    $269
    iPhone 4s
    $199
    iPhone 4, iPhone 3GS,
    iPhone 3G, Original iPhone
    $149
    A $6.95 shipping fee will be added if service is arranged through Apple and requires shipping. All fees are in U.S. dollars and are subject to local tax.

  • TS3694 Keep getting error 3004, every peice of information on this webstie about the error code is absolutly useless.

    Keep getting error 3004, every peice of information on this webstie about the error code is absolutly useless.

    Have you tried on another computer connected to a different network?

  • My friend playing"crime city hd" (he buy the stuff in that game for twices, but the third time can't, it's said to contact the itunes support to complete this transaction, about the credit card, he hv contact bank, said nothing wrong, pls advise

    test\
    test
    my friend playing"crime city hd" (he buy the stuff in that game for twices, but the third time can't, it's said to contact the itunes support to complete this transaction, about the credit card, he hv contact bank, said nothing wrong, pls advise

    I suspect he needs to contact iTunes support

  • Yea my iphone charger broke again and this is about the 7th timeits happened and im getting tired of wasting my money on new chargers... I dont rip the charger out, i take good care of it. I dont get why it keeps breaking?

    This is about the 5th time its broken and i take really good care of the charger. Im tired of getting new chargers, does someone have any ideas on how to fix it or how to not spend $30 on a new charger? HELP PLEASE!!!

    why would you be buying new chargers?  The charger that came with your phone is warrantied for a year, just like the phone.  Bring the defective cable or charger to Apple for replacement.

  • Inform about the Size of the files stored in DMS as warning message

    hi DMS Gurus,
    We have a critical requirement of informing the users about the size of the file getting stored in SAP DMS, we need to inform the users the size of the file getting stored as this has a implication on flowing the documents in to remote Mobile device, and the concern is, any document above 2 MB would take much longer time or may not flow at all,
    so we need this information available in DIR, so the user can have a choice to choose the file before sending it to Mobile device,
    can i know if this file size is logged in SAP System anywhere?
    Any suggestion is welcome
    Thanks and regards,
    Kumar

    Hi Kumar,
    normally the file size could be found in table DMS_PHF_CD1. You should be able to get the correct entry by using the LOIO- or PHIO-ID which can be obtained by report DMS_KPRO_READ. Other useful tables are DMS_PH_CD1, DMS_PHIO2FILES and DMS_DOC2LOIO.
    Best regards,
    Christoph

  • Beginner question about the size of the documents and fonts

    I have worked with dps a couple of years now and now that Adobe removes Single Edition I have to look at other tools. EPUB3 fixed layout appears to be an alternative solution.
    I've been reading up on the web and checked on Lynda courses, but there is one thing I wonder about.
    How should I think about the size of the InDesign document and the size of the body text when I create a EPUB3 with fixed-layout?
    Regards
    Ake

    A couple things to keep in mind with EPUB3 Fixed Layout:
    Unlike EPUB reflowable, FXL doesn't change size. You'll need to optimize your InDesign layout for the device most likely to view it—for example, an iPad, since it's the dominant device.
    Like with DPS, you'll need to pick a font size larger than you'd use for print.
    As with DPS, it's very important to do some tests on your target device to optimize both dimensions and font size.
    Final Note: If you're in North America, this is a good time to  buy an iPad since there are a lot of Black Friday sales coming up!

  • Can you help me understand this sentence about Maser data/routine?

    Hi,
    I read the following statement from this forum:
    “… if u add an attribute to master data and that field is not getting populated from source system and you want to get it populated dynamically we can write look up code in routine such as getting data from some other master data table.”
    1. Can you clarify what this sentence really mean? Any examples?
    2. Why is it that in some cases when you modify master data, you don’t have to write a routine to populate it with data but in some cases you do?
    e.g. in the quote it says, if the attribute is not getting populated, why will it in some cases and others not?
    3. Please explain in particular “..to get it populated dynamically we can write look up code in routine..”
    4. Any hints on writing a look up code? Any example?
    Thanks

    Hi Amanda,
    I would understand the sentence you stated as related to load of TRANSACTION DATA (not populating the MASTER DATA) -- and aTripple k example (a good one) shows me that s/he treat it similarly.
    When you are retreiving a lot of data from the transaction system (R/3) you may really not getting values of some infoobjects. However, if the infoobject is an attribute of another infoobject which value we have in incoming data, we may get the value of the attribute from master data of main (basic) infoobject. For this you either may use the mentioned functional module (must be accessable through SE37 t-code) or write a lookup routine.
    Here (in the text itself and in the threads linked):
    Re: Look up at master data in  update routine 
    you may see examples of lookup routine and usage of that FM RSAU_READ_MASTER_DATA.
    Hope this helps.

  • HT4651 What do I need to know about the Flashback Trojan?

    Reading about the Flashback Trojan malware. How can I check to see if I'm infected? Could it be what's causing Youtube to run badly?

    A good place to start is looking over the other numerous threads on the subject. Please look to your right under More Like This and you will find many other threads.

  • What's going to be done about the Creative Cloud debacle?

    Adobe is a maker of great software, but the 30+-hour-long disappearance of Creative Cloud revealed them as a terrible company. There was next-to-no information being released during the outage about cause, estimated time for the fix, or potential work arounds. Perhaps they were embarrassed that this was a self-inflicted error, but they should be even more embarrassed that their only response has been, "oops, sorry, we'll do better." People lost cash; they missed deadlines. A plan to reimburse customers should have been announced even as the fix was underway. They should comp every customer two months' service.
    Meanwhile, I had been under the impression that the CC software could be used in offline mode. That's the way it should be. The software is paid for and licensed a month at a time, so it should only need to be verified once a month. It should not have to sign in every time it starts up. Completely ridiculous.
    Mistakes happen and adversity cannot always be avoided, but the true test of a person--or a company--is how they respond and recover. Adobe, you are failing this test miserably.
    So, what is going to be done about this debacle?
    Neal Bowes

    If you got your phone via a network then it's up to your network to decide the fate of your phone and not Sony - Your sale of contract is with Vodafone and not Sony - So your 1st port of call is with Vodafone and if Vodafone decline then remind them of your contract of sale and who it's with
    For a successful technology, reality must take precedence over public relations, for Nature cannot be fooled.   Richard P. Feynman

  • Plz:  meaning of this sentence : MDM works out of box with sap BI component

    hi
    please explain me what is the meaning of :
    SAP  MDM works out of box with sap BI component .
    Message was edited by:
            akhil k

    Hi akhil,
    In lines to what Simona has said, I would like to mention that SAP MDM is a different tool altogether and functions out of the box with SABP BI.
    Talking a bit about the integration scenarios, SAP MDM SP04 is integrated with SAP BI 3.5 as two different tools where MDM behaves as a different tool altogether and imports the data from BI and cleanses it and then syndicates it back to BI.
    In the latest integration scenario, some part of MDM can be handled from Bi itself. i.e. We can connect to the MDM SP05 Repository from BI 7.0. But still the data cleansing, deduplication is exclusively done in MDM. Hence MDM works out of the box with SAP Bi component.
    Thanks and Regards
    Nitin Jain

  • What is meaning of this ?

    what is the meaning of this regex ^[A-Z]*$ ?
    i guess it does not allow a char between A-Z at the starting. but whats next ?

    what is the meaning of this regex ^[A-Z]*$ ?
    i guess it does not allow a char between A-Z at the
    starting. but whats next ?Nope, you are way off.
    Here is a break down:
    ^(carat)
    This matches the beginning of the input.
    [A-Z]
    The brackets create a character class, and the contents describe the class.
    This class represents any upperclass letter from A to Z
    When this follows a character, a group, or a character class this symbol means
    'zero or more of the previous'. So, combined with the [A-Z] character class, it means
    zero or more uppercase letters from A to Z
    $
    This matches the end of the input.
    So, to put this all together, your expression will match any string that is
    either empty or only contains upper case letters from A to Z.

Maybe you are looking for

  • Sales analysis report of items not inventoried in utility bill

    Buenas tardes: Espero me entiendan ya que mi ingles es un poco malo. quisiera saber si hay alguna forma de sacar un reporte de facturas de servicio donde los articulos son del tipo no inventariable, ya que en el analisis de ventas no me permite sacar

  • How can I restore the data from a single application in icloud?

    Here is my situation. My iPad2 is constantly crashing. Whenever I use an app it runs for about 30 seconds and then the screen blinks black and I go back to my my home screen. At first I erased all the data and settings and tried to restore my backup

  • Itunes will not sync new songs

    when i sync/update my ipod nano all the songs/pictures i deleted have gone, however i have 40 songs that i imported from cds that will not upload onto my ipod. the songs are all under the right ACC form and i have the space on my ipod so i don't unde

  • A LayeredPane with images

    Hello, For school I have to make an animation of al LoadingInstallation. The installation is a simple graphics bean. Inside of this there must be placed an image. I've put the LoadingInstallationBean in a JLabel.      private JLabel getLabelLoading()

  • ORA-16047: DGID mismatch between destination setting and standby

    Based on the Data Guard documentation and the given example, this is what I have: Primary init.ora: *.db_name='wcati10' *.db_unique_name=wcati10 *.log_archive_config='DG_CONFIG=(wcati10,npc)' *.log_archive_dest_1='LOCATION=/webcatiprod1_db_misc/wcati