DataTips always appear in ViewStack container

I have a Panel container set to a specific width and height.
Inside this is a ViewStack with percentHeight and
percentWidth set to 100.
Each ViewStack child is a VBox with a specific height and
width set so that it fits in the Panel without scrollbars
appearing.
Each VBox contains a List control with percentHeight and
percentWidth set to 100 and with showDataTips set to true.
The problem is that the data tips pop up on every item of
every list regardless of whether they extend beyond the width of
the VBox or not.
If I remove the ViewStack from the chain of children, the
problem disappears.
It looks to me as though the ViewStack has an unusual way of
sizing itself compared with other containers and that this could be
the cause of the problem.
Does anyone have any ideas how this problem can be resolved.
Doug

As you have set a null layout on the content pane, the BorderLayout.CENTER in this code linecontentPane.add(scrollingArea, BorderLayout.CENTER);is ignored.
As you have not set the bounds (or size and location) of scrollingArea, it is not seen. A null layout will not respect the preferredSize you have set for scrollingArea.
It's far better that you learn to use Layout managers. There's a good tutorial here:
The Java™ Tutorials: [Laying Out Components Within a Container|http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html]
luck, db

Similar Messages

  • Making pop-up image always appear within browser window

    In my CS3 CSS site I want to have images which are only revealed when the user runs their mouse over a photo icon. I've worked out how to make the AP div, which contains the show-hide image, appear in the same position relative to the left margin of my text container div but can't seem to control where they are vertically. As they are absolutely positioned, I know that they will, in theory, always remain in the place where I have positioned them (although this appears to vary greatly from browser to browser) but this causes problems if, for example, I place them above the icon and the viewer happens to rollover the icon while it is near the top of their browser window - the photo can't be seen. Can I make the image's vertical position relative to the browser window, whatever its size, or make sure it always appears within the browser window?! I've tried setting margin top and bottom to auto but that doesn't seem to work in the same way that it does for margin right and left. An example is on this page http://www.ernestcooktrust.org.uk/Contact_biogs/biogs_trustees.html . At the moment the images are set to appear above the icon of the person they are referring to. Or is there a better way then show/hide AP divs to achieve this? Many thanks in advance for any (not too technical please) help.

    Learn CSS positioning in 10 steps - with visual examples of Static, Relative, Absolute, Fixed, Floats
    http://www.barelyfitz.com/screencast/html-training/css/positioning/
    CSS Positioning explained
    http://www.brainjar.com/css/positioning/
    CSS Positioning tutorials - w3schools
    http://www.w3schools.com/Css/css_positioning.asp
    Why  do APDivs move?
    http://forums.adobe.com/message/2181263#2181263
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • My iphone 5 won't sync, even i restored. it always appeared " The iPhone could not be synced because the sync session failed to start.

    my iPhone 5 won't sync even i restored. it always appeared  "The iPhone could not be synced because the sync session failed to start.

    https://discussions.apple.com/thread/3415227?start=0&tstart=0
    https://discussions.apple.com/message/16400530#16400530

  • How can i make a free facetime video call? There's always appearing that my provider might charge for the call?

    How can i make a free facetime video call? There's always appearing that my provider might charge for the call?

    If you make a call then tap the Facetime button to connect Facetime, the duration of call up to Facetime connection will be charged under your regular airtime.  However, duration during facetime conversation will not consume airtime.
    But if you tap the Facetime button on the Contact Page, then the whole duration will not consume airtime.
    For Facetime to work, both parties must be connected to wifi.

  • Time doesn't always appear

    The time under the received column doesn't always appear. If I click on the message, it shows but then goes away. It's very inconsistent. Repairing permissions and restarting doesn't change the behavior.

    I'm guessing you did not carefully read your owners manual, did you? Unless you are not going to be using your computer for several days at a time there is no reason to shut it down. Your manual states:
    _Putting Your MacBook Pro to Sleep_
    *If you’ll be away from your MacBook Pro for only a short time, put it to sleep. When the computer is in sleep, you can quickly wake it and bypass the startup process.*
    AND
    _Shutting Down Your MacBook Pro_
    *If you aren’t going to use your MacBook Pro for a couple of days or longer, it’s best to shut it down.*

  • Single page PDF file in mail always appears in message body, instead of as an attachment, contrary to a multiple page PDF. Why?

    When sending a single page PDF file in mail, it always appears as an open file in the message body. Multiple page PDF files appear as attachments. Why the difference and how to change the behavior of single page PDF files so that they appear as attachments instead of open files?

    Hello billsbs,
    Welcome to the Apple Support Communities!
    I understand that when you add a PDF to mail you see its entire contents, but when you add two or more pages Mail shows them as a document icon. To change this behavior for that specific email, please follow the instructions in the attached article. 
    Mac OS X Mail: About PDF attachments
    Have a great day,
    Joe

  • Channel is not appearing in the container

    Hi,
    i have devloped a channel and also a container.
    The follwoing are the corresponding xml's.
    The proble is the channels that i defined as <SELECTED>
    are not appearing in the container, can any one let me know why??????
    arun
    Channel XML
    <Channel name="NewsLeftNav" provider="NewsLeftNavProvider" advanced="false" merge="fuse" lock="false">
    <Properties>
         <String name="refreshTime" value="60"/>     
    <String name="title" value="Left News Channel"/>
    <String name="description" value="News Information"/>
    </Properties>
    </Channel>
    ProviderXML
    <Provider name="NewsLeftNavProvider" class="com.naportal.NewsLeftNavProvider">
    <Properties>
    <String name="title" value="News Left Nav"/>
    <String name="refreshTime" value="0" advanced="true"/>
    <Boolean name="isEditable" value="false" advanced="true"/>
    <String name="editType" value="edit_subset" advanced="true"/>
    <String name="contentPage" value="naportal/newsdesc.jsp"/>
    </Properties>
    </Provider>
    Custom Provider
    <Provider name="NewsTableContainerProvider" class="com.naportal.NewsTableContainerProvider">
    <Properties>
    <String name="contentPage" value="GMtoptable.jsp"/>
    <Collection name="categories">
         <String value="NewsChannels"/>
    </Collection>
    <Collection name="NewsChannels">
         <String name="NewsLeftNav"/>
    </Collection>
    </Properties>
    </Provider>
    Container
    <Container name="NewsTableContainer" provider="NewsTableContainerProvider">
    <Properties>
    <String name="title" value="Front Table Container Channel"/>
    <String name="contentPage" value="GMtoptable.jsp"/>
    <Collection name="categories">
         <String value="NewsChannels"/>
    </Collection>
    <Collection name="NewsChannels">
         <String name="NewsLeftNav"/>
    </Collection>
    <Collection name="channelsRow" advanced="true">
         <String name="NewsLeftNav" value="3"/>
    </Collection>
    </Properties>
    <Available>
         <Reference value="NewsLeftNav"/>
    </Available>
    <Selected>
         <Reference value="NewsLeftNav"/>
    </Selected>
    <Channels>
    </Channels>
    </Container>

    Have you watched the desktop.debug logfile?
    On my installation, it's in the /var/opt/SUNWam/debug directory.
    It might give you some clues...

  • I have followed the Apple Support instructions I did it 3 times and this message always appear: "The program can't start because MSVCR80.dll is missing from your computer" and 'Error 7' but still not able to run iTunes. Anyone have a suggestion... Please!

    I have followed the Apple Support instructions but these 2 errors always appear: "The program can't start because MSVCR80.dll is missing from your computer" and 'Error 7' but still not able to run iTunes. Anyone have a suggestion?

    Try completely removing and reinstalling iTunes and all related components; you may need to do this multiple times. It won't normally affect the iTunes library, but that should be backed up anyway.
    (99331)

  • A previous and unrelated text always appears when I need to send a new text. This prevents forwarding texts also, which I need to do all the time for my business. How can I fix? Please help!

    A previous and unrelated text always appears when I need to send a new text. This prevens forwarding texts also, which I need to do all the time for my businss. How can I fix? Please help?

    Hi,
    This sounds like it is about Window positions.
    iChat has Default places for Incoming Invites.
    Video is always top Center of your Screen
    Audio and Text chats are Upper right with the Audio slightly lower than Text Chats.
    Secondary invites are sort of Stacked like when you open multiple files from the same App.
    Your outgoing Windows are "Remembered" as to where the last one was when you used it.
    This can be an issue if you use your Mac with a second display and turn Off Mirroring.
    You windows can get "left" on the other screen.
    Go to System Preferences > Displays and turn On Mirroring and the windows should come back to one Screen/display.
    If this does not help go to your Home Folder/Library/Preferences and delete (Drag to Trash) com.apple.ichat.plist and restart iChat.
    Unfortunately you will need to reset any iChat Preferences you have changed from defaults.
    10:42 PM      Tuesday; April 26, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
    , Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I have everything set for Arabic fonts and the keyboard as well. When I type in WORD or EXCEL I just get individual Arabic letters, but they never connect, they should be for example like this   الس    but they always appear like that ا ل س

    I have everything set for Arabic fonts and the keyboard as well. When I type in WORD or EXCEL I just get individual Arabic letters, but they never connect, they should be for example like this   الس    but they always appear like that ا ل س

    MS Word for Mac has never supported Arabic.  You have to use other apps.  Mellel is best, but Pages 5, TextEdit, Nisus Writer, or Open/LibreOffice should work OK.
    Sometimes you can make Word for Mac do connected Arabic if you are editing a document created with Windows Word.

  • Mappings in snapshots always appear changed

    When I compare snapshots with a project in the Design Repository the mappings properties always appear changed in the comparison even if nothing was changed.
    For example, I created a simple project with one source table and a target table and mapping. It is just a straight mapping from source to target.
    I am able to deploy the objects and execute the mapping without any problems. However, when a create a snapshot of the project and then compare the snapshot with the project, the properties of the operators (in this case the source and target tables) within the mappings always appear as a changed object.
    It seems that the snapshot is incomplete.
    Am I doing something wrong when I create the mapping or snapshot? How can I make the snapshot identical to the mappings in the repository?
    Thanks.

    Brian,
    Good catch. Reproduced it in the current production release and filed bug 3187011 accordingly. Unfortunately, I cannot give you a workaround...
    Thanks,
    Mark.

  • How do i get the doc to always appear at the bottom of the screen even if i am in an application?

    how do i get the doc to always appear at the bottom of the screen even if i am in an application?

    try lion tweaks
    you will need to set gatekeeper to anywhere in system prefs security

  • Menu bar not always appearing (dropping down) in Safari

    Hello everyone,
    I was just wandering if someone could help me out with this small problem - or perhaps its a bug others have experienced. Basically, since upgrading to Mavericks I have this annoying problem whereby when I drag my cursor to the top of the page in safari, the menu doesnt always appear (not the safari menu but the system one that drop down with the time etc). As I said, it doesnt always happen and when it does I can normally fix it by briefly changing apps - its just rather annoying!
    Any help would be much appreciated.

    Is it possible you didn't install the correct RAM.
    Go to the Apple Menu/About This Mac/More Info/System Report/Hardware/Memory.  What is the Staus of the Memory

  • Sign In to iCloud always appear on my IP4 screen and likewise draining my battery

    anybody pls help me solve this problem, has been happening the past 4 days

    Have you tried to sign in ?  If the Screen is not Responding...
    nickelPAD wrote:
    Sign In to iCloud always appear on my IP4 screen
    Perform a Reset...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... (But can take Longer..)
    Release the Buttons...

  • Dear Sir, i have problem in my Iphone 5 that during receiving any calls always appeare message that error in application occurred please call support quoting error code 2907. I need to solve my problem

    Dear Sir, i have problem in my Iphone 5 that during receiving any calls always appeare message that error in application occurred please call support quoting error code 2907. I need to solve my problem.

    The problem this message always appeare when receiving the calls and requesting either accept or cancel.
    Can you advice me if i have wrong application or i need to remove some applications.

Maybe you are looking for

  • F110 payment run scheduling

    Hi, Can someone tell me if I can schedule a A/R payment run via the F110 process? Currently we have the payment proposal scheduled via F110s at night. But the payment run is manually kicked off in the morning. What happens is that in between the prop

  • Will Apple Add an SSD?

    I just bought a 27" iMac a couple of months ago. Specifications: 16BG RAM, 2TB HDD, 2GB VRAM. Can I pay Apple to add a 256GB (Which is the highest Apple allows) SSD for me? I would like to dual boot Windows 7/8 on it so I can play games when I'm bore

  • Ultrasearch problems with Frames

    I am having problems with Ultrasearch crawling pager with frames. When my ultrasearch crawler encounters a page with frames it does not crawl any of the frames. Is this because it is looking for an <a href> tag to follow or is there something I am mi

  • Invalid Input Error When Compiling in CS5

    I am porting and AIR for Android app over to iPhone, but when I try to compile I get the following error: Invalid Input Invalid Input swf. Error executing : /Applications/Adobe Flash CS5/PFI/aot/lib/go.jar Has any one else seen this? Do you know how

  • Migrating databases

    All,     If I was to migrate an existing OBIEE 11 server and change the database from a database (say Oracle for example) to Timesten, how much work would this be?  I would use the same schema name to own the same tables with the same column names, a