Scrolling panel

I have a customized panel by overriding the "paintComponent" method in the "MyPanel" class, which can display a heatmap graph when executing the program. I put the panel inside a scrollpane, then displayed in a dialog. The code in my dialog class is like following:
private void createGUI() throws Exception{
    MyPanel mypanel = new MyPanel(node.data);
    JScrollPane scrollPane = new JScrollPane(mypanel);
    scrollPane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
    scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
    this.getContentPane().add(scrollPane);
    setSize(150, 50);
    setLocationRelativeTo(null);
    setVisible(true);
  }The problem is that when the displayed graph is large, I want to scroll the panel, but this does not work.
It seems that the scroll bar is freezen and can't move either horizontally or vertically.
Hope you could give some advice on this problem. Your help is greatly appreciated!

Thank you very much for the answer!
It works after setting the preferred size for the panel as you suggested, however, I'm not sure why I should do that.
The only problem happens when I was diplaying big heatmap graph, (for e.g, like 100,000 rows and 3 columns of float data). Heatmap is a graph that can convert and display data in a color map. When I move the vertical scroll bar, the heatmap graph will change from vertical to horizontal displayed, and when I move to the bottom of the graph, the graph will disappear. In another words, I can't use scroll bar to move smoothly and corretly for the big heatmap graph. Hope I could get some advice on this issue.
Your help is highly appreciated.
Jenny

Similar Messages

  • Expand horizontal scroll panel on both sides for a zoom in effect

    Hi,
    I'm creating an interactive timeline with Flash Catalyst. It is set up as a long horizontal scroll panel which contains buttons that link to states with photos and text about historic events. One feature I would like to include is a zoom feature, like the one found on the bbc British history timeline (http://www.bbc.co.uk/history/interactive/timelines/british/index_embed.shtml ). E.g., when you click on a colored section of the horizontal scroll panel it will zoom in to view that timeframe in more detail.
    The problem I'm running into is that I can't expand the scroll panel to the left. So, I can go into edit mode for the scrolling content, create a second state, and enlarge the scrolling content in that second state to create a zoom in effect. However, because the scrolling content will only expand to the right, I can't line up the interaction correctly.
    Is there a workaround for this in Flash Catalyst?

    have a peek at this:
    on the left, the corner radius (the red line) is enough to create a curve on the inside of the stroke. on the right, it isn't large enough.

  • FAQ: How do I create a scrolling panel in Flash Catalyst?

    A common challenge in web design is finding space in the available window to display all of the necessary content. One solution is to create scrolling panels. A panel creates a well-defined container for content in the user interface. By adding scrolling content and a scroll bar, you can place a large amount of information in a limited space. To create a scrolling panel in Flash Catalyst, you need:
    An object to define the panel area, such as a rectangle shape (optional)
    Scrolling content, such as a long block of text or a series of images (required)
    A scroll bar used to scroll the content (recommended)
    Follow these steps in Flash Catalyst Help to create a scrolling panel:
    Create a scroll panel component
    There are also video tutorials showing examples of different scrolling panels:
    Creating a scroll panel in Flash Catalyst, by Doug Winnie
    Create a scrolling text panel in Flash Catalyst, by Terry White

    Thank You, Thank You,
    Thaqnk You
    Allen D. Macfalda

  • Help with scrolling Panel loop

    Hi,
    I doing a flash scrolling Panel creating the buttons dynamic
    with xml, like the scroll panel made in gotoandlearn "scrolling
    thumbnail Panel" but creating each button with xml. well this works
    fine.
    but I want to do if a panel that loop if I move the mouse
    right or left any idea to do this?
    I hope some see the code that I have now..
    saludos
    Carolina

    Check out this link: The Tom Kyte Blog: Varying in lists...

  • Integrated scroll panels and unmovable toggle buttons

    Hey,
    iam looking for an expert. I am working on an HMI development and wanted to use Flash Catalyst. However, I think I am already reached the limits of FC. But perhaps there is a FC solution because I can not program Flash.
    Problem:
    In my layer, I have different graphical objects and text blocks. A part of them I want to move with a scroll panel. That's easy, not a problem.
    However, all these objects (including the scroll panels) should be integrated in a master scroll panel. This means, that all parts, even the integrated scroll panels, should be moveable at the same time. I managed this.
    Now, I need multiple toggle buttons. With these Buttons I wanted to change the form of some of the graphical objects resp. the text blocks. But the buttons have to be unmovable. This function (to change the form of the objects) is relatively easy but in combination with the integrated scroll panels it isnt. The buttons are able to move the objects when these buttons are pasted in the "deepest" layer, the layer of the objects. But there, the buttons are moveable and slide out of the screen (with the master scroll panel) and not clickable.
    How can I manage this? I need unmovable toggle buttons, with these I want to change the forms of objects. The objects are pasted in integrated scroll panels. I hope it's understandable!
    Can someone help me? It would be glad if the answer does not depend on the learning of the flash programming!
    Thanks.

    After 2 days of banging my head against a wall (doesn't it always go that way)...
    Turns out one of my panels had sub-panels causing the problem. Visibility to the parent panel was controlled by a button on one of the child panels. Once I "promoted" the button to the parent panel, the panel (screen) flow worked great.
    Is this 'undocumented functionality'? Why should it matter how deep the button is nested? (incidentally, the reason it worked in my test environment was the lack of other components - aka the child panel)
    Well, regardless. Thanks to those who gave it thought.

  • Help with Scroll Panel

    I'm mocking up a site for a friend of mine and I have 2 questions about a scroll panel.  First when I create text then convert it to a scroll panel component it always adds the text "Add More Content Here" somewhere in the middle of my content.  I convet back to artwork to get rid of it and then go to scroll panel again and its back.  Super frustrating.  You can see the example here: (hover over the "Own" button for the scroll panel)
    http://http://jeffstonebraker.com/beta/pf/Main.html
    also I am wondering if it is possible to make a hyperlink out of some of the text in the scroll panel?  Such as the online links in the example above.
    Thanks for your help.
    Jeff
    ps here is the project file if that helps.  (sorry for the file size, I need to clean up the library)
    http://jeffstonebraker.com/beta/pf/povertyflats.fxp

    I had this problem too.  Try this: before you convert to a scroll panel component, make sure your text box is tall enough so that you can see all your text without needing to scroll -- you may have to extend it down beyond the lower boundary of your project.  When you convert to a scroll panel, it will resize to the height of your scroll bar.

  • Editable text lost in scroll panel

    When I convert a text box to a scroll panel the text becomes uneditable
    Am I doing something wrong?
    I create the Scroll bar then select the scroll bar and the text block and chose scroll panel in the HUD then I choose the text box as the scrolling content
    that is when it becomes uneatable.
    Any work around?

    I am having some newbie issues with text in scroll panel as well.. I have been trying to generate the text as part of a design oin illustrator. ( Very similar to the design shown in Top 5 catalyst cs5 features by terry white.) I can create a text panel in illustrator that appears to continue on without laying down on top of the border of the design. However, when I try to open the design with this text panel in catalyst it converts the text into vectors. when I try to drill down to open additional text as described in the tutorial, I am unable to do so.. I am guessing that the vectorization is the issue? I have tried to develope the text directly in catalyst but I am unable to find a method that does not have the text outside the desired area running all over the rest of the
    design.
    Again, I am a complete newbie. I have managed to replicate all other features and functions of the design. I am just not able to find the solution for this issue. Any guidance would be greatly appreciated. 

  • Issue with Slider in Scroll Panel

    Hello all,
         I'm building a scroll panel with a slider. However, when I try to build a scroll bar or slider, and define it's parts, it automatically "checks" all componets for each part. If I try to "uncheck" the componets, it messes up all my previous selections. I've even tried locking the layer after making the correct selection, and it still changes it on me. Any suggestions are exreamily appreciated! Thank you!
    Best regards,
    -Nick

    Hi Sumesh,
    You are kind of correct, I modified the code and let's see what happens, I tried to output the current time when the sliderShiftStart_ValueChanged fired.
    Debug.WriteLine("1. event fire with {0}", time);
    if (sliderShiftStart1.Value > counter)
    // var time = (Math.Round(sliderShiftStart.Value))* 10;
    time = time.AddMinutes(30);
    Debug.WriteLine("2. time changed with {0}", time);
    tbTimeDispPopup.Text = string.Format("{0:t}", time);
    else if (sliderShiftStart1.Value < counter)
    //var time = (Math.Round(sliderShiftStart.Value)) - 10;
    time = time.AddMinutes(-30);
    Debug.WriteLine("2. time changed with {0}", time);
    tbTimeDispPopup.Text = string.Format("{0:t}", time);
    Debug.WriteLine("3. event fire with {0} finished", time);
    counter = sliderShiftStart1.Value;
    However what I got is as below when I drag the slider very fast to the end
    As you can see, only two events fired. Move faster fires less event.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Button interactions within Scroll Panel/Content

    I am creating a portfolio website using Flash Catalyst. On my Portfolio page I have a vertical scroll panel and within that panel I have little thumbnails of my artwork converted to a button component. So when the user click on the thumbnail I want the larger image to appear nearby. I make new states for the larger images within the scrolling content, but whenever I use the scroll thumb it also scroll the larger images that i want it to be in a fixed position. So is there anyway I can lock the larger image while user is able to scroll through the thumbnails. If not possible, is there anyway i can duplicate the events on the timeline from one page/state to another similar one?
    If there is a better way to accomplish this please let me know too, I am all ears. If you need clarification on my issue, I will try my best to explain it through texts.

    Hi,
    Here's a quick wireframe to illustrate the thumbnail separate from the detail image.   The large images could be in their own custom component or in different states in the main timeline (per this example).
    The scroll bar needs be edited to look nicer.
    Hope this helps.
    Tanya

  • Using Scroll Panel

    Hello everyone!!
    I try to work with scroll panel putting some text on it.What
    I did is creating one swf file that contains the text and in
    another swf I put the scroll panel.The problem is that I cannot see
    the whole text I wrote and when the scroller is at the middle my
    text is cut.
    You can check what I mean on www.apositive.com in the news
    section
    I am using flash 8
    Thanks in advance!!

    quote:
    Originally posted by:
    fojool-br
    If quilting stitch is like that one of http: //
    www.apositive.gr new you to create a field of dynamic text and to
    put a name in instance name, drag the component UIScrollBar up to
    pulling in on the field of text, see in the properties of the
    ScrolBar that he will be going to catch the name of the field of
    text if he links if it will adjust to the size of the field of text
    this one done it is enough to put his text inside the field of text
    Thanks
    I tried that but I couldn't maintain the format of the text I
    already have.I mean make it a dynamic text it colors all the fonts
    the same and puts the same font everywhere

  • Scroll panel easing?

    I have seen a few examples of creating a scroll panel in Illustrator/Photoshop and then making it functional in Catalyst but I am just curious, is there a way to add easing to the scroll in Catalyst? You know so it speeds up and/or slows down as you scroll?

    Thanks, you answered my main question of "can it be done in catalyst?" On one hand I was pretty sure you couldn't but on the other hand, designers like me think to themselves....why not? You can control the transition and easing of other states, why not this? In other words as Catalyst evolves, to me, it seems like having easing control over just about any animation or anything you interact with (such as a scroll panel) would be standard, keeping up with todays sites.
    I appreciate the extra step you went with giving me the code, but was hoping to not have to go there, especially since thats what catalyst was shooting for. I do use flash cs4, and use a combination of timeline animation and actionscript, but my actionscropt knowledge is VERY minor. I usually use snippets of code from other sources, and tweak it if I can. Usually taking me a long time to figure out how to tweak it to my needs.
    Again, thanks for the reply.

  • Updates to Folio Panel, Producer Tools and Content Viewer on iPad breaking scroll panels

    This has not been a good morning.
    Came into the office this morning, logged in and saw that there were updates for the Content Viewer, Producer Tools and the Folio Panel. Updated them all. Started to work some more on a promo piece for a new magazine and began to notice Scroll Panels using the "Pan Only" form within the Content Overlay panel no longer work. This was a great way to create scroll panels that could contain hyperlinks. Problem is, I am not sure where the problem lies. Is the problem with the Viewer or with the updates to the Folio Tools or Folio Panel? I am unfortunately on deadline for this afternoon and I don't have the luxury to troubleshoot this. Granted, I probably shouldn't have updated all of these tools at this juncture, but I was hoping that these updates would fix the problem I was having with the Desktop Viewer that wasn't working. Sadly, the Desktop Viewer works now, but that came with the price of losing functionality elsewhere.
    Frustrated.

    Yeah, it's been a project that I was working on for the last two weeks. We were supposed to have a final walk-through this afternoon and present it tomorrow. But now a good portion of the features that were working and had been promised no longer work. All out of no fault of my own. I understand that these things can happen, but this one is pretty bad and the timing was worse. Like I said, I shouldn't have updated the tools and the Viewer app until after the presentation... but then again, that may have been even worse. At least I was able to get the presentation postponed until Monday... gives me a little more time to figure out what to do.
    Anyways, I did able to get a hold of someone through support and was able to send them some files. It's being looked at as I type this. I do have to give credit to the Adobe support staff, they've been helpful and pretty responsive! Thanks guys!

  • Why am I getting the flag Invalid URL for web content overlay when making scrolling panel in Indesig

    Why am I getting the flag 'Invalid URL for web content overlay" when making scrolling panel in Indesign? Iam making additions to existing articles but the problem is new. The articles were originally made using CS and now I am on CC, which I have just uninstalled and re installed, no difference, can anyone help please? Steve

    Hi Bob, thankyou very much for coming back on this. The flag is coming up towards the end of the preview process on desk top. I have made dozens if not hundreds on my two published apps on the app store, but have not done an update for nearly a year, in which time I have needed a refresher, and as usual went to Lynda. In this case I have followed to the letter your DPS course, which is great, and I found the process of making the scrolling panels somewhat easier than when I started 2-3years ago. Initially I was mystified that the flag talked about url and web content, but just put it down to something I had missed in recent improvements in CC.
    I tried over and over, but always got the same result. I thought at one point it might be because the content of my slide was copy and photo, so for a test I deleted the photo. Same result, and many of my existing slides are copy and picture.
    I also uninstalled Indesign CC and reinstalled in case of corrupted content, I also copied to IDML and relaunch, same problem. I am sure I have made the scrolling content as instructed, The one thing I havn't done is trash my preferences, if you think that would be a good Idea could you please direct me to some content at Lynda on how to do it in CC. Many thanks, Steve

  • My scroll panel looks with less color... why?

    Hi there:
    I wonder why my control panel contain (text as example) looks
    softer when I run my SWF. For example, I have set #000000 or my
    black appearance, but it shows like a #333333 or even less... also
    the pictures contained in the scroll panel.. why ? I changed all
    the "Blend options" but nothing to do with it... it must be another
    thing... Please help me with this ASAP, I am in a hurry about
    time... ! thanx a lot in advance,

    maybe just as well, we are getting CS6 this month
    CS6 includes Pantone+ Color Bridge libraries, which use CMYK Process definitions to simulate Pantone solid colors. The new solid library colors (i.e., Pantone+ Coated) are always defined as spot type with Lab definitions—you can no longer switch to CMYK definitions via Ink Manager for the those libraries.
    Pantone+ Color Bridge Coated defines 110 as process CMYK 2|22|100|8. It's not surprising Pantone is always changing the CMYK simulation builds because the appearance of CMYK depends on the printing conditions. Personally I would go for a color managed conversion, allowing that much black in a saturated yellow seems questionable.

  • Dual scroll panels help!

    I used Flash Catalyst CS5.5 to create a feature with two links to popup windows that had scroll panels for text only (with a background). I was able to get the popups to function properly and the text scroll panels to function properly.
    Problem One: After publishing both projects and uploading, they are utilizing the same text. I tried putting one in a subdirectory, but that didn't work. What files can I rename to run both panels in the same directory?
    Problem Two: My panels both have cut off the text... how can I add it back? Is there a simple way to do that?
    I know this is probably an easy problem but Flash is new to me. Any help would be great!
    This is the page I'm working on:
    http://www.parkcity-dogtown.com/press.htm

    OK. I figured out how to separate the filenames. Thanks everyone for your help
    Now I need to edit the swf files to add text... Any help would be appreciated...

  • Scrolling panel named anchor points

    Hi All,
    Wondering if anyone can help. I have a Flash file with a couple of Scroll Panels.  Is it possible to have named anchor points withing the text and a simple text link to each as with HTML.
    Thanks in anticipation,
    Lloyd

    http://wallymaddie02.businesscatalyst.com/index.html#contact
    It seems to stop as I go down the page. My documents this morning show no or little movement
    Ken Zierler
    [email protected]
    908.447.1562

Maybe you are looking for

  • How do I import just PART of a song from a CD into iTunes Library?

    I am trying to get just a little bit of one of my songs from my CD into iTunes Library so I can use it on a website. I do not want the entire song. Can this be done?

  • Errors when sending a print job via samba with CUPS 1.4.6-3

    Hello people, this is my last resource i made the things posted in the wiki for CUPS and CUPS via samba and CUPS specific problems and cant find the solution. When i send a print job using  HP LaserJet Professional p1102w with driver hpcups 3.11.5, r

  • Need help with conditional display

    I found a older thread (704012) that explains how to conditionally display a link using style.  Which is what I want to do.  The part I'm having trouble with is that part of the instructions say to put class="row_has_values_#HAS_VALUES#" in the Link

  • Error in Soap Communication Channel

    Hi All, I am using Soap as sender from UPXI and again Soap as receiver in EUPI but while doing end to end test SOAP sender channel was failing. Below was the error which I cam seeing the channel mointoring. Message processing failed. Cause: com.sap.e

  • BAdi ISM_BP_DEB_CRED_MIG

    Hi everybody, It would be very helpful if some of you have documentation about BAdi ISM_BP_DEB_CRED_MIG which is used to control and influence the behavior of transaction JUCDCM (Convert customers and vendors to SAP Business Partner). This BAdi allow