Scroll Navigator

I have this component which I want to display in a smaller box, the entire View component of a JScrollPane, not just the visible rectangle. What I'm doing is that every second or so, I repaint() my ScrollNavigator, which calls the paint method of the scroll's view onto a transformed (shrunk) Graphics. This works fine, BUT for some reason this causes the scroll bars of the JScrollPane and even a JSplitPane bar nearby to not redraw at all, or not correctly. Here's the code... I realize that I could paint directly onto the ScrollNavigator Graphics, but I'm using the BufferedImage because of functionality I need to add later.
public class ScrollNavigator extends JComponent {
     private JScrollPane scroll;
     public ScrollNavigator(JScrollPane scroll) {
          this.scroll = scroll;
          Timer repainter = new Timer("nav");
          repainter.scheduleAtFixedRate(new TimerTask() {
               public void run() {
                    EventQueue.invokeLater(new Runnable(){
                         public void run() {
                              repaint();
          },0,1000);
     protected void paintComponent(Graphics g) {
          Component view = scroll.getViewport().getView();
          Graphics2D g2d = (Graphics2D)g;
          BufferedImage im = new BufferedImage(getWidth(),getHeight(),BufferedImage.TYPE_INT_RGB);
          Graphics2D img2d = im.createGraphics();
          AffineTransform shrink = AffineTransform.getScaleInstance(
                    (double)getWidth()/view.getWidth(),
                    (double)getHeight()/view.getHeight());
          img2d.setTransform(shrink);
          view.paint(img2d);
          g2d.drawImage(im,null,null);
}So any ideas why this code corrupts other stuff repainting?

You can move the folders in Win Explorer.
In LR you then get question marks besides the folders - a sign that LR does not know where the folders are (if you really moved and did not only copy in Explorer).
Simply right-click the folders with the question mark and point LR to the new location.
It is enough if you do this for the top-most folder in the hierarchy, LR will then find all the sub-folders.
WW

Similar Messages

  • Adobe Muse - Graphic won't stay in header with scrolling navigation

    I just created this Muse website:
    http://www.weyrichenterprises.com
    The logo in the upper left hand corner (WE - Change the Game) wont stay inside of the header navigation and leaves when the user scrolls down - it doesnt stay sticky with the rest of the menu as the user scrolls down and around the site.  How do I force this image to stay inside of the header so that it scrolls all the way through the website? 
    Andrew

    Hi Andrew
    As I see , the image is fixed now but the menu frame shows the problem on page scroll.
    Please check the scroll applied on menu, as it seems the menu items are scrolling but the frame is fixed on the page, have you inserted any rectangle or frame with menu widget ?
    Thanks,
    Sanjit

  • Problem with horizontal scroll navigation pattern, please help

    Hello,
    I am trying to create navigation pattern for portfolio website which features horizontal scroll.
    Here is a draft of what im trying to achieve:
    Home
    As you can see it's built based on containers - in every one there will be three photos and as you scroll down the page, the containers go left and you experience horizontal scrolling
    The problem I am currently facing is this:
    On a 1920x1200 resolution when you are scrolling down (starting from the top of the page), the first container (in the beginning) is in fact going left as I want it to, but at certain point (when it's just a little bit behind page margin) it just disappears. I would like to have the effect of container "traveling" out of view area naturally, so that when u are looking at a second container you could still see the first one and the third one.
    In other words I would like these containers to leave the screen in the same way they appear - smooth motion, not the sudden disappear...
    What am I doing wrong ?
    If I recreate same draft but without using muse widgets for containers (instead I use for example single image) it works OK.
    Also I noticed, that if the container is more narrow, the effect doesnt occur - like last conatiner in the exaple, it travels the way I want it to.
    Thank you for any advice.
    Filip

    Please help, still no solution found...

  • Safari 6 scrolling & navigation bug

    Open a page which contains a FRAME element.
    Scroll to middle or bottom of the page.
    Click a link.
    The new opened page is scrolled.(not show the top of page content)
    And the mouse cursor is not in the correct position. verify step:
    double click
    notice the text selection position and the mouse position

    I take a picture to demostrate the bug. In the new opened page, double click, please notice the selection position and the mouse cursor position.

  • Navigation menu parallax scrolling

    Hi,
    I have a single page website which i am trying to incorporate a vertical style parallax-scrolling navigation bar. I have the navigate bar underneath my cover photo at the top of the website. However, i am encountering an issue where the navigation bar sometimes jumps behind the cover photo when i scroll back up, i think this may because i haven't fully synchronised the navigation bar opacity settings with the hidden one behind the cover photo at the top of the webpage? (i did see someone post a website project with the exact style of navigation i am trying to create). Any help would be greatly appreciated. Thanks in advance.

    Hi Vikas,
    Thanks for your reply, however i seem to have fixed the issue myself. If the problem recurs, i shall let you know. Thanks again
    Lewis

  • Adding navigation to parallax scrolling website?

    Hello!
    I'm building a parallax scrolling website, with different sections.  The scrolling in question is quite long, so I have some navigation set up on the side to jump to the needed place on the timeline. 
    How would I go about this?  I tried using the stop at, but it acts wonky with the scrolling...it jumps to the label, but it doesn't seem to take the scroll navigation control into account.  I also tried using the following code:
    sym.$("stage").scrollTop(0,2157);
    ...but it jumps to the top of the site, every time, no matter what x/y coordinates I input.  I am using the following code to control the parallax scrolling on the stage: 
    // scrolling controls animation
    var animationHeight = 24000
    var stageHeight = sym.$("Stage").height()
    var scrollPos = sym.$("Stage").scrollTop();
    var duration = sym.getDuration();
    var percent = scrollPos / (animationHeight - stageHeight);
    var time = duration * percent;
    // Update timeline
    sym.stop(time);
    Help? 
    Thanks,
    Chad

    So, I figured this one out. 
    If you want to add navigation that jumps to a particular point in the scroll, the above code is correct, however, my number was switched. 
    I have a hidden object named "floating stage" that I use to tell me where the browser window is at any given time.  I mark the Global X/Y position for the point I want to jump to.  My marker's global position was X: 0, Y: 2157.  I was putting in the correct numbers, but they need to be switched for the code.  Not sure why, someone smarter than me who has a better grasp on coding could probably give us all an answer. 
    SO.  Select your text/navigation button/whatever, click on the add action button to the left of it, and add a click action. 
    Then, type this in:
    sym.$("stage").scrollTop(2157,0);
    When you click on that particular link, it will jump/scroll to the point indicated in the action. 
    Thanks!
    Chad

  • 2630 trouble using central scroll key for arrows

    I just bought a 2630, and I am having a lot of trouble getting the central scroll/navigation key to work as arrows. It seems to be really difficult to click it at the four edges, for the four directional arrows, and have it not think I am just pressing it in the centre to do a selection.
    I can get it to work some of the time by pressing with a fingernail at the very edge between the button and the surrounding part of the phone, but it just doesn't seem reliable.
    Any suggestions? Others having this problem? (I haven't seen other postings on this yet, which really surprises me.)

    OK, I figured this out. I had misinterpreted the illustratoins in the manual to mean that you do the arrow keys by clicking on the actual center select buttton, but towards the edge of that central button. In fact, there is a separate rectangular scroll button surrounding that central button, which is what you use for the arrow keys.
    Sorry for the dumb newbie to cell phones question, but maybe it will help someone else!

  • Disabling mouse and keyboard pdf navigation.

    Hi all,
    Im wanting to create a closed pdf presentation/process app that has the keyboard and mouse scroll navigation disabled. Is this doable? Ive created the doc flow with the buttons/links in indesign but I'm worried that the enduser might accidentally scroll with their mouse and get lost in the process that the document covers.
    I've read mixed reports that I can do this using 3rd party software but after hours of searching Ive hit a dead end.
    Any help or work arounds would be much appreciated
    Thanks
    Phil

    No commercial PDF apps have that feature, so you would probably need to write your own 'wrapper' for Adobe Reader using VB or C (and the Acrobat SDK). The wrapper program could prevent mouse/key events from passing through to the child application, force full-screen mode, etc.

  • Adobe Illustrator CC not smooth on MBPR hi-end

    Hey,
    I just bought a MBP Retina 15" high-end (i7, 16GB RAM, SSD 512, GeForce GT 750M 2GB) perfectly clean install with Photoshop and Illustrator CC updated. This is terribly choppy (scrolling / navigation / zoom / unzoom), even when creating a new document. Everywhere else, the computer is a real bomb.
    Strangely, Photoshop, no fluidity worry.
    I also have a 27 "iMac non retina and no particular concern in Illustrator. The Retina version of the CC would it not optimized?
    Do you have a valid and acceptable solution to this problem?
    Thank you.
    EDIT:
    I downloaded a demo of SwitchResX that can display resolutions other than those of the system and I put my 15" Retina in 3840x2400px non-HiDPI and Illustrator retrieve its fluidity. So HiDPI is not optimized on Illustrator. Great Adobe.

    A 2500€ macbook shouldn't have slow down! If it can work with 3840x2400px perfectly fine, it should work with retina resolution 2880x1800px (1440x900px HiDPI)!
    Maybe a tweak or something?

  • Using Apple's Magic Trackpad in Fireworks

    I am using Fireworks CS6 on the MacBook Pro 15inch Retina and I find that pretty much all of the gesture based finctions of the trackpad including 2 finger scrolling navigation, pinch zoom and (Option+ 2 finger) zoom does not work. Is the trackpad's functionality simply not supported or is there a plugin or am I just doing it wrong?
    Thanks folks

    What was the answer Keith? I'd be interested to know.
    Paul

  • Any serious JSF/Jsp control library

    Hi,
    We need to decide on a technology for a new project. The project requires a modern and cool web user interface.
    We have extensive knowledge of java, j2ee and JSF however in our previous projects we did not have such high demands on the GUI side so we could manage with the standard JSF component with myfaces enhancements.
    In the current project we need much more "serious" components: Hierarchical Grid, preferably with client side editing and virtual scrolling, Navigation controls, Docking panels. All controls should have full client side support and built in AJAX capabilities.
    Naturally, we prefer to use java/j2ee for the new project; however, I could not find any serious tag libraries for jsp or JSF. The library I am looking for should match what 3rd party control libraries offer in the ASP.NET world (for an example see http://www.telerik.com). We are willing to buy the components (at a reasonable price).
    Am I missing something? Is anyone familiar with such a library?
    TIA

    It's not JSF, but a JSP custom tag library, but one inexpensive library is dotJ.
    http://www.dotjonline.com
    - Joe

  • Can you do THIS with Captivate ? ...

    Hi,
    I'm new to Adobe Captivate and am using the 30 day trial to see if it does what I need it to do.
    I need to create a test as follows:
    60 questions, split into sections.
    I need a small button for each question, numbered 1 - 60 aligned vertically in one line down the left of the page, so there would need to be some scrolling as 60 buttons would go off the screen.
    Pushing each button would select a multiple choice question from a random pool. eg. Push button No. 5 and a random question would be there. Push 6 and there's be a different question, but if you pushed 5 again, the same question would be there as before. This enables the person being tested to skip back and fore between questions by clicking the buttons.
    There may be numerous sections to each test.
    eg.
    Car Engines
    Car Bodywork
    Steering
    Suspension etc. etc.
    So, questions 1 - 8 say may be picked randomly from the 'Car Engines' question pool.
    Questions 9 - 19 say may be picked randomly from the 'Car Bodywork' question pool. etc. etc.
    At the end of the test, I need the results to be displayed such as:
    Car Engines - 76%
    Car Bodywork - 52%  etc.
    I'd also like a simple bar chart representation if possible.
    Hope this is clear.
    I'd be very grateful if somebody could advise if this type of test scenarion can be created with Captivate.
    I'm prepared to learn to use Captivate if it can be done, but do not want to waste my time if Captivate doesn't have the capability to create this type of test.
    Grateful for any advice.

    Captivate won't give you exactly what you've described straight out of the box.  But then, neither will any other authoring tool that I'm aware of.
    Scrolling Navigation Buttons
    The Captivate screen does not scroll.  You need to think of it as being like a movie you watch on TV, not as an HTML web page.  There are widgets available to give some scrolling of text in captions, but not something that would provide navigation on each and every quiz slide with buttons to jump to any question in the quiz.
    Question Pools
    Captivate can have any number of question pools associated with a single project file, but you have to set up how many questions will come from a given pool before you publish the project. When the project loads into the user's browser, the randomisation is done to select the particular questions from each pool that will appear in the movie at runtime and is then fixed for the duration of that runtime.  You can't control it and perform more randomisation via clicking of buttons. Basically, your navigation buttons are just intended to take you to particular question slides.  Which quiz question appears on that slide at runtime is totally dependent on the randomisation done from the question pool.
    So if you have 5 question pools, each with 20 questions, but only want ten question from each pool to appear in your published project, you can easily do this with Captivate.
    NOTE: One other thing you need to be aware of is that once your user answers a question and moves off that slide, their answer will be locked and cannot be changed until the Retake the Quiz or relaunch the lesson.  So although Captivate can be configured to allow backward movement, it does not necessarily allow your user to go back and change their answers to questions previously answered.
    Quiz Results
    Captivate considers all questions or scored objects in a project file to be part of its Quiz Scope.  This scope begins on the slide containing the first scored element, and goes until the last scored element.  A project file can have only one Quiz Results slide which will show scoring data from all objects in the Quiz Scope.
    If you want to have scoring displayed separately for certain sections of your quiz (Car engines, Car bodywork, etc) you will need to use one of Captivate's more advanced techniquest using Advanced Actions and Variables.  It can be done out of the box, but it takes time to achieve the required scripting.
    Captivate does not have bar charts as standard screen objects.  Once again, you could use some fancy Advanced Actions and Variable scripting to rig up something that looked similar.  But it would take yet more time.
    I hope this helps with your decision.

  • General questions about JClient

    1. We are having problems with a business application we have developed using BC4J and a JClient client. The performance is horrible. On one update form we have 7 comboboxes, two tabels, some labels and one textfield. It takes 12 - 15 seconds to load, first time, and 4 - 7 seconds second time. Isn't it possible to get better performance on complexe GUI's using JClient?
    2. We have found out that the navigation binding on the comboboxes are about 10 - 15 times as slow as a LOV binding, but we are having problems using the LOV binding. The comboboxes work in a master - detail relationship, and we have that working with a view link and navigation binding. But we would like to use the faster LOV binding. Is it possible to use a LOV binding in a master - detail relationship?
    3. Why are navigation bindings so slow compared to LOV bindings?
    4. What are you general plans with JClient?
    5. Could you possible refer to another project or currently running program that is build using JClient. We feel that we are a little alone on this issue. Is JClient only running on samples, or has it shown it's effeciency in real life.
    6. It is running whitout problems in the samples and when we use the wizards to generate simple forms. But when we construct a complex GUI-structure we quickly run into performance problems. But also unexpected problems that we have difficulty solving, due to lack of documentation and knowledge.
    We would really appreciate, if you would take the time to answer our questions.
    A frustated development team.

    1. We are having problems with a business application we have developed using BC4J and a JClient client. The performance is horrible. On one update form we have 7 comboboxes, two tabels, some labels and one textfield. It takes 12 - 15 seconds to load, first time, and 4 - 7 seconds second time. Isn't it possible to get better performance on complexe GUI's using JClient?Depends on how the application is setup. There are a number of options for deployment that affects how the client app will perform. Are you running JClient app in client-server mode?
    Also in JDev 903, JClient designtime and runtime has fixed a number of issues that led to poor performance by default on a JClient wizard generated app by generating code that performs lazy load of controls and lazy bind of controls. This definitely affects the startup time of forms with tab windows such that only the required controls/bindings on the display is created to begin with.
    Further more if you have a certain example situation that you want us to look at, we'd definitely give that a test to see where the performance bottle-necks are? From our work with other customers, we've seen examples where application assumptions have led to "performance degradation" and when you remove those assumptions, the performance improvements are "noticable" - like how many queries get executed when you startup? Are all those needed? Could the queries be optimized? How many controls come up? Are they all visible and bound? Could they be lazily rendered/bound? etc.
    Yes, we do not have a suggested document yet, as JClient is still pretty new and customers are working on real-life apps which we've studied over time and are gathering "inputs" for best - practices kind of an article/example.
    2. We have found out that the navigation binding on the comboboxes are about 10 - 15 times as slow as a LOV binding, but we are having problems using the LOV binding. The comboboxes work in a master - detail relationship, and we have that working with a view link and navigation binding. But we would like to use the faster LOV binding. Is it possible to use a LOV binding in a master - detail relationship? In JDev 902, LOV Binding was "fetching" all the data for LOV Bindings upfront, so if your data set is small it'd perform well, however in most realtime customer apps that we saw, we found this to be a problem as LOVs would take time to come up the first time. That's been fixed in 903. Now Lovs and Navigation bindings both respect the fetch sizes and other tuning parameters set on the Bc4J ViewObject. So you can tune the fetchsize/rangesize on the VO in the Bc4J object to control how much data is fetched upfront for a given binding. that will definitely affect performance and memory usage as based on a case by case basis, apps would determine what/how many rows should be fetched upfront vs. how many to fetch on scroll/navigation etc.
    3. Why are navigation bindings so slow compared to LOV bindings?see 2 above.
    4. What are you general plans with JClient?See the JClient docs on OTN (jdeveloper page) for general information.
    If you have specific needs/questions we could sure get you answers for those.
    5. Could you possible refer to another project or currently running program that is build using JClient. We feel that we are a little alone on this issue. Is JClient only running on samples, or has it shown it's effeciency in real life.Again JDeveloper home page has referenceslinks that indicate which customers have used what kind of applications. Note that JClient was released for the first time in JDev 9.0.2 so it's still going thru the first round of performance and usability improvements.
    6. It is running whitout problems in the samples and when we use the wizards to generate simple forms. But when we construct a complex GUI-structure we quickly run into performance problems. But also unexpected problems that we have difficulty solving, due to lack of documentation and knowledge.This forum on OTN has a great amount of discussion on JClient issues and how to resolve various performance and other bugs in Jdev 902.
    I agree on lack of complete documentation and examples and we're working towards that. Note that we did put up a Jclient Bindings demo which is a good example of how to "architect" a medium complexity application, how to layout controls, bind them, show/hide etc. An improved version of this example will be placed on OTN alongwith a version of JDev 903 when it is made available on OTN.
    We would really appreciate, if you would take the time to answer our questions.
    A frustated development team. And your critique/bugs/feature ideas are always welcome.

  • Illustrator CC 2014 extremely choppy. Please help.

    I just bought an iMac 5k Retina Base model with Yosemite installed. All other CC applications work like a breeze except illustrator. Illustrator is extremely choppy and almost unworkable. Can someone help me out?

    Hey,
    I just bought a MBP Retina 15" high-end (i7, 16GB RAM, SSD 512, GeForce GT 750M 2GB) perfectly clean install with Photoshop and Illustrator CC updated. This is terribly choppy (scrolling / navigation / zoom / unzoom), even when creating a new document. Everywhere else, the computer is a real bomb.
    With Photoshop, everything is perfectly smooth. I also have a 27 "iMac non retina and no particular concern in Illustrator.
    The problem appears when we enlarge the size of the artboard. By using a small artboard, it's almost fluid. More we enlarge it, the more it chop. The solid gray artboard takes all the resources.
    I downloaded a demo of SwitchResX that can display resolutions other than those of the system and I put my 15" Retina in 3840x2400px non-HiDPI and Illustrator retrieve its fluidity. So HiDPI is not optimized on Illustrator. Great job Adobe.

  • Sluggish SMS and Contacts

    Typing SMS messages in an existing SMS thread is rather sluggish. I can reboot the phone and it will work ok for a while, the usual snappy keyboard will return. But then it seems when a new SMS thread is started, it takes a little longer to load and the typing is sluggish once again. Not a fun way to type messages.
    I am using the latest 2.0.1 firmware.
    Also Contacts seems slow to load and is sluggish to respond to scrolling/navigation.

    I see the same issue on my 2.0.1 iPhone 3G 16GB. Sometimes I can even get SMS to really get messed up and act like it is showing the keyboard but not have a keyboard on screen. In otherwords, half of the screen is missing where the keyboard would be, but no keyboard is present. Hard reset is the only way to fix it.

Maybe you are looking for

  • Office 2013 and Email sync with Hotel Sales Pro

    I recently upgraded to a Windows 8 and Office 2013.  I cannot find the right security settings to allow Hotel Sales to sync my e-mail in Outlook 2013.

  • Screen caps?

    Does anyone know how to make screen caps? I can freeze frame using the DVD Player, but I can't select the image to make a screen cap. Thanks! Kittenmommy.

  • Error while starting BPEL

    Hi All, I have successfully installed the Oracle BPEL Process Manager with the BEA WebLogic Server 10. But during startup of the oracleBPELServer server from weblogic console I get the following exception! So I included the jsafeFIPS.jar in "server s

  • Attaching files in iPhoto 08

    Last week I upgraded to iPhoto 08. When using GMail I press attach file and I cannot seem to find the photos. I was using this in Firefox so I switch to Safari. Then I tried the Mail application and the same issue Went into the store and tried it on

  • What is "Large Volume Adjusment" in the audio preferences

    I have bumped it to 12db and I don't see any effect it has on clip volume or track volume.