JTree Render Problem

Hi!
In my application I have a JTree component, wich has nodes and childs. When the application starts up I populate the JTree with some data retrieved from a database. But after that I need to change some data in the database wich is reloaded and this changes the text inside the nodes in the JTree. Then I call the repaint() method of the JTree update. The problem is when the updated string is bigger then the old string, part of the string is not visible i.e it shows "..." after the text.
Is there someone who knows this problem?
Thanks in advance.

Hi dayanandabv ! Thanks for your reply ! I tried your suggestion, but it won't work! i tried validate() afler and before the repaint method.
Any other ideas?
I'm trying hard to fix this but with no results :( some help will be appreciated.
Thanks again.

Similar Messages

  • Render problems

    Hi,
    I have serious render problems with Premiere CC. I't wont render at all. Crashes down every time with a window saying occurred serious problem...
    The file that i've been working on is heavy with AE direct links and above adjustment track.
    Im working station is Mac Pro Mac OSX 9.2.
    So I assume having this machine Premiere will run smooth.
    But on contrary I cant touch my files because it will crash down.
    Can anybody have any suggestions that are not exporting all my AE files as movie clips and reedit the whole video again.
    Thanks! 

    I am on Windows, but have a few saved Mac discussions that may help (or, may not... but free to read)
    Mac and Root User http://forums.adobe.com/thread/879931
    -and http://forums.adobe.com/thread/940869?tstart=0
    Mac & nVidia Driver http://forums.adobe.com/thread/1075592
    -and http://www.nvidia.com/object/mac-driver-archive.html
    Mac Retina Bug http://forums.adobe.com/thread/1159632
    Troubleshooting guide for Mac freeze
    http://helpx.adobe.com/x-productkb/global/troubleshoot-system-errors-freezes-mac.html
    http://blogs.adobe.com/aftereffects/2011/02/troubleshooting-quicktime-errors-with-after-ef fects.html
    External speakers stop playback http://forums.adobe.com/thread/1370072?tstart=0
    OSX Crash http://helpx.adobe.com/creative-cloud/kb/ame-premiere-crash-launch-export.html

  • Has CS6 fixed the PPro with AE dynamic links slow to render problems?

    I've got PPro with AE dynamic links slow to render problems similar to those discussed in this thread:
    http://forums.adobe.com/thread/904652?start=0&tstart=0
    As I understand it (and I could well be wrong), if I render a PPro project that has AE projects dynamically linked in (anything from simple lower thirds to color grading), during rendering the AE bits run as a service, which limits the AE bits to a single CPU and effectively stops simultaneous rendering of multiple frames. This is why I can get very high render times (essentially no parallel processing), and why messing with the number of CPUs allowed for simultaneous frame rendering, or the amount of RAM said CPUs can access, has little to no effect on total render time.
    Supposedly as some point AE was going to be changed such that it used Media Encoder to do it's rendering (same as PPro does), thus speeding up rendering for any PPro project that has AE parts dynamically linked in.
    Has this been done in CS6? If not, any idea when that's scheduled to happen?

    Jim Simon wrote:
    (I do wish Adobe staff would keep this distinction mind when creating their videos.  When I saw one about the new background rendering in PP, I was interested, only to learn that he was actually talking about background exporting, a feature PP has had since AME was introduced in CS4.)
    The distinction is not so distinct, and this is an industry issue, not really Adobe. After Effects has a render queue, which is used for exporting, but you can also export. Lightwave has this, even Avid. The terms do have their own distinct meanings, but of course context is usually required. So usually "rendering previews" or "rendering final output" serve as context-sensitive uses of the term.
    Terminology abuse is widespread, even people with video cameras now call themselves "filmmakers" and people who produce films never shown nor intended for a cinema call themselves "cinematographers." ENG video producers are called "photogs" and news photographers are called "photojournalists."
    Transcoding, encoding, rendering, exporting....mish-mashed unfortunately, but thankfully most people can figure out what's meant.
    Back to the OP - After Effects can be used with Adobe Media Encoder, it's just not the default. You can import any composition into AME from AE and render your encoded export.
    As for background rendering....I remember when Pinnacle Liquid was the first to the table with that feature back in 2004 or 2005. It seemed awesome, except that you needed a ton of spare hard drive space and lots of processing to keep the background rendering going...effecitvely your processor was in use 100% of the time. When you weren't scrubbing or playing back, Liquid was rendering previews. Of course, you could use those previews during export but you rarely would have wanted to do so, since it was better quality to reference the original data when compositing the layers and effects to output to a web file, for instance. Then  you had to keep cleaning up the preview cache.
    I rarely render previews at all, and when I do it's just a small segment at a time, just to get a full look at the final composite. Mercury Playback is usually more than capable of playing back most of my edits the rest of the time.

  • JTree scrollbar problem - can't scroll back to top when some nodes hidden

    I have a problem which I cannot resolve: I have a JTree which has had 88 rows added to it, and which then has 15 or so rows set to be not visible; when I then scroll to the bottom of the pane I am unable to scroll all the way back to the top using either the scroll button at the top of the bar or the mouse scroll wheel although I can drag the knob to get to the top; using the button or wheel, the scrolling stops somewhat short of the top; via testing I've found that the AdjustmentEvent is not fired when it reaches that point. Anyone seen this before and/or know a way around it?
    Thanks in advance,
    Mike

    MikeAuerbach267 wrote:
    It turns out that my problem was due to the fact that I am using my own TreeCellRenderer which makes invisible some nodes via user option but doesn't reload the tree; hence the confusion as to the scrollbar size. I now correctly reload after user option has changed rather than render nodes invisible and all is fine. Which reinforces Andrew's view in reply #1 that a 'vague waving about of hands' does not allow the forum members to help.

  • JTree Printing Problem

    I am having a problem printing a JPanel that includes a JLabel, a JPanel, and a JTree. If I only add the JLabel and JPanel to the JPanel to be printed, everything works fine. But as soon as I add my JTree (which is small, and should fit on one page), the pageIndex stops being incremented and I end up with the print method being infinitely called. Has anyone run into this problem before? Why is the pageIndex not being incremented?
    Thanks for any help!
    andrewwi1

    Ok, after a whole lot of trial and error I think I answered my own question.
    It seems that adding the JTree to the Panel to be printed really caused the Print API to call the print method many many times on the same pageIndex. I had never seen it need to render the same page more than 4 or 5 times before now. I was running the code through debug (using VisualAge for Java), and was also causing the panel to be printed to the screen via JFrame. So after I'd get about 30 JFrames containing my print panel I'd assume something was wrong and kill the thread. Turns out it needs to render the same page 30+ times with a JTree (or at least with my JTree). After turning of the JFrame visibility (so I wouldn't see them pop up on my screen) and waiting for quite awhile, the page finally printed just fine.

  • XML Publisher Render Problem

    The problem started since the first time I tryed to render one of the examples
    in the XML Publisher...example: Executive - Sales Dashboard. Since the first time, when I try to view the result, the screen shows me this problem:
    Error
    The report cannot be rendered because of an error, please contact the administrator.
    If I try to do the same view but in XML format, I see these problem:
    Error de parseo XML: no se encontraron elementos
    Lugar: http://suse9.es.oracle.com:7780/xmlpserver/servlet/xdo?_xpf=&_xpt=0&_xdo=%2FExecutive%2FSales%20Dashboard%2FSales%20Dashboard.xdo&_xt=Advanced%20Sales%20Dashboard&_xf=xml
    Línea 3, Columna 1:
    The same hapends with the rest of the examples. I try to make a new template, but the same problem hapends.
    The conection JDBC with my Oracle DB 10.2.0.1 is OK.
    I put the "debug" mode in my configuration files, so I can view the java error stak. It shows me:
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:479)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:192)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:161)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1015)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:968)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:209)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
         at oracle.apps.xdo.servlet.XDOProcessor.process(XDOProcessor.java:192)
         at oracle.apps.xdo.servlet.XDOProcessor.process(XDOProcessor.java:273)
         at oracle.apps.xdo.servlet.ReportImpl.renderBody(ReportImpl.java:227)
         at oracle.apps.xdo.servlet.ReportImpl.renderReportBody(ReportImpl.java:46)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:319)
         at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:223)
         at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:159)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:52)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.xdo.parser.v2.XMLParseException: Start of root element expected.
         at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:324)
         at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:319)
         at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:281)
         at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:266)
         ... 35 more
    I log in with my admin/admin user.
    ¿Could anybody help me?

    I resolved the problem. I have to put ; in the special character.

  • JTree Inserting Problem

    Please help me ..
    i have write a code ..which is when the user clicks the button...
    a jtree table will come and the values inside the jtree will be filled by the contents of the selected items in the form...
    but my problem is jtree only is comming
    i created the object class ... but ...
    the initialisation is not happening...
    plz check the code below .. this is my class
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class Reservation extends JFrame implements ItemListener,ActionListener{
         JComboBox fromCity = null;
         JComboBox toCity = null;
         JComboBox dDay = null;
         JComboBox dMonth = null;
         JComboBox dYear = null;
         JComboBox rDay = null;
         JComboBox rMonth = null;
         JComboBox rYear = null;
         JComboBox adult = null;
         JComboBox Cabin = null;
         JFrame table;
         public Reservation()
              setSize(600,400);
              JPanel p = new JPanel();
              //getContentPane().setLayout(new BorderLayout());
              GridBagLayout gbl = new GridBagLayout();
              GridBagConstraints gbc = new GridBagConstraints();
              p.setLayout(gbl);
              String []cities = {"New York","Chicago","Miami","Pittsburgh","Memphis","New Orleans"};
              String [] days={"1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","27","28","29","30","31"};
              String [] months = {"January","Feburary","March","April","May","June","July","August","September","October","November","December"};
              String [] year = {"2006","2007"};
              String [] adt = {"1","2","3","4"};
              String [] cab = {"Buisness","Economy"};
              fromCity = new JComboBox(cities);
              fromCity.setSelectedIndex(0);
              toCity = new JComboBox(cities);
              toCity.setSelectedIndex(0);
              dDay = new JComboBox(days);
              dMonth = new JComboBox(months);
              dYear = new JComboBox(year);
              rDay = new JComboBox(days);
              rMonth = new JComboBox(months);
              rYear = new JComboBox(year);
              adult = new JComboBox(adt);
              Cabin = new JComboBox(cab);
              JLabel frmCity = new JLabel("From");
              frmCity.setLabelFor(fromCity);
              JLabel tCity = new JLabel("To");
              tCity.setLabelFor(tCity);
              JLabel dDate = new JLabel("Departure Date");
              dDate.setLabelFor(dDate);
              JLabel rDate = new JLabel("Return Date");
              rDate.setLabelFor(rDate);
              JLabel Psg = new JLabel("Pasengers");
              Psg.setLabelFor(Psg);
              JLabel Adults = new JLabel("Adults");
              Adults.setLabelFor(Adults);
              JLabel cabin = new JLabel("Cabin");
              cabin.setLabelFor(cabin);
              JLabel search = new JLabel("Search By");
              search.setLabelFor(search);
              JRadioButton ROneWay = new JRadioButton("One Way");
              JRadioButton RRoundTrip = new JRadioButton("Round Trip");
              JButton searchbutton = new JButton("Date");
              ButtonGroup group = new ButtonGroup();
              group.add(ROneWay);
              group.add(RRoundTrip);
              gbc.gridx = 0;
              gbc.gridy = 0;
              gbc.insets = new Insets(0,30,0,0);
              p.add(frmCity,gbc);
              gbc.gridx =1;
              gbc.gridy = 0;
              gbc.insets = new Insets(0,30,0,0);
              p.add(fromCity,gbc);
              gbc.gridx =0;
              gbc.gridy = 1;
              gbc.insets = new Insets(0,30,0,0);
              p.add(tCity,gbc);
              gbc.gridx =1;
              gbc.gridy = 1;
              gbc.insets = new Insets(10,30,0,0);
              p.add(toCity,gbc);
              gbc.gridx = 0;
              gbc.gridy = 2;
              gbc.insets = new Insets(10,50,0,0);
              p.add(ROneWay,gbc);
              gbc.gridx = 1;
              gbc.gridy = 2;
              gbc.insets = new Insets(10,30,0,0);
              p.add(RRoundTrip,gbc);
              gbc.gridx = 1;
              gbc.gridy = 3;
              gbc.insets = new Insets(0,0,0,0);
              p.add(dDate,gbc);
              gbc.gridx = 0;
              gbc.gridy = 4;
              p.add(dDay,gbc);
              gbc.gridx = 1;
              gbc.gridy = 4;
              p.add(dMonth,gbc);
              gbc.gridx = 2;
              gbc.gridy = 4;
              p.add(dYear,gbc);
              gbc.gridx = 1;
              gbc.gridy = 5;
              gbc.insets = new Insets(0,0,0,0);
              p.add(rDate,gbc);
              gbc.gridx = 0;
              gbc.gridy = 6;
              p.add(rDay,gbc);
              gbc.gridx = 1;
              gbc.gridy = 6;
              p.add(rMonth,gbc);
              gbc.gridx = 2;
              gbc.gridy = 6;
              p.add(rYear,gbc);
              gbc.gridx = 1;
              gbc.gridy = 7;
              p.add(Psg,gbc);
              gbc.gridx = 0;
              gbc.gridy = 8;
              p.add(Adults,gbc);
              gbc.gridx = 1;
              gbc.gridy = 8;
              p.add(adult,gbc);
              gbc.gridx = 0;
              gbc.gridy = 9;
              p.add(cabin,gbc);
              gbc.gridx = 1;
              gbc.gridy = 9;
              gbc.insets = new Insets(10,0,0,0);
              p.add(Cabin,gbc);
              gbc.gridx = 0;
              gbc.gridy = 10;
              p.add(search,gbc);
              gbc.gridx = 1;
              gbc.gridy = 10;
              gbc.insets = new Insets(10,0,0,0);
              p.add(searchbutton,gbc);
              getContentPane().add(p);
              fromCity.addItemListener(this);
              toCity.addItemListener(this);
              dDay.addItemListener( this);
              dMonth.addItemListener( this);
              dYear.addItemListener(this);
              adult.addItemListener(this);
              Cabin.addItemListener(this);
              searchbutton.addActionListener(this);
              //Jtable form
              table = new JFrame();
              Container container;
              container = table.getContentPane();
              JPanel jpanel = new JPanel(new GridLayout(2,1));
              container.setLayout(new GridLayout(2,1));
              JLabel l1 = new JLabel("Departure Journey");
              l1.setLabelFor(l1);
              container.add(l1);
              final String[] colHeads = {"","Flightno","Date","Departure Time","Arrival Time","Flight","Duration","Fare"};
              final Object[ ][ ] data = new Object[10][10];
              JTable table = new JTable(data,colHeads);
              int v=ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;     
              int h = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
              JScrollPane jsp = new JScrollPane(table,v,h);
              container.add(jsp,BorderLayout.CENTER);
         String ffcity,ttcity,dday,dmon,dyear,adt,cab;
         public void itemStateChanged(ItemEvent e)
              ffcity = (String)fromCity.getSelectedItem();
              ttcity = (String)toCity.getSelectedItem();
              dday = (String)dDay.getSelectedItem();
              dmon = (String)dMonth.getSelectedItem();
              dyear = (String)dYear.getSelectedItem();
              adt = (String)adult.getSelectedItem();
              cab = (String)Cabin.getSelectedItem();
         public void actionPerformed(ActionEvent ae)
         if(ae.getActionCommand() == "Date")
              try
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              Connection con = DriverManager.getConnection("jdbc:odbc:ds","sa", "");
              PreparedStatement stmt = con.prepareStatement("select ifno,vdtime,vatime,vdate1,vdate2,vdate3,efare from airways where fcity = ? and tcity = ? and vdate1 = ? and vdate2 = ? and vdate3 = ?");
              stmt.setString(1,ffcity);
              stmt.setString(2,ttcity);
              stmt.setString(3,dday);
              stmt.setString(4,dmon);
              stmt.setString(5,dyear);
              ResultSet d = stmt.executeQuery();
              /* int count=0;
              while(d.next())
              {count++;
              int i = 0;*/
              while(d.next())
              /*for(int j =1;j<=7;j++)
              data[i][j] = rs.getString(j);
              System.out.println(" " + data[i][j]);
              }i++;*/
              System.out.println(d.getInt(1));
              System.out.println(d.getDouble(2));
              catch(Exception ex)
                   System.out.println("Error occurred");
                   System.out.println("Error:"+ex);
              table.setVisible(true);
              table.setSize(300,200);
         private static void createAndShowGUI()
              JFrame.setDefaultLookAndFeelDecorated(true);
              Reservation r=new Reservation();
              JFrame frame = new JFrame("Reservation Form");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              //r.pack();
              r.setVisible(true);
         public static void main(String[] args)
              SwingUtilities.invokeLater(new Runnable(){
                   public void run()
                        createAndShowGUI();
    in this object creation is not happening
    when i run this code ...
    only jtree is comming..
    how can i make it the values of seceted items to come in table
    i commented the parts that having error..
    when u uncomment it u will get the problem of this code

    please anyone

  • Render problems and fed up with after effects

    Hi all,
    I'm I the middle of trying to do a very simple pan and scan corporate video, the crux being its in stereoscopic 3D. First I've tried using cineform plug ins and have had numerous problems and basically don't think highly of their product. Since after effects has plug ins for stereoscopic I've moved to try and use them. All seems to be going alright for most of the footage. But I'm have some issues with a very import pant part of one video.
    My set up
    Mac 2x2.4 GHz Quad-core Intel Xeon
    12GB of ram
    Mac OSX 10.7.2
    ATI Radeon HD 5770 1024MB
    NVIDEA Quadro 4000 2048MB
    After Effects CS5.5 (10.5.0.253)
    630GB free on 1TB boot drive
    1.8TB free on 3TB external drive 1
    100GB free on 3TB external drive 2
    My comp is 7 layers. Duration 1:46:00 output is Side by Side
    Layer 1- animation with alpha clip. Opacity is keyframed to do a 'dissolve' at the beginning and end of the clip. TC in 53:11, out 1:05:01
    Layer 2- comp. stereoscopic 3D. Made from using a camera and Create Stereo 3D Rig. It's a mask of the earth in space. 1:46:00
    Layer 3- animation with alpha clip. Opactiy keyframed same as layer 1. Clip aniamtionwas done in the original comp. TC in 1:25:09, out 1:45:10.
    Layer 4- animation with alpha clip. Opacity key framed same as layer 1. Clip aniamtionwas done in the original comp.TC in 1:03:2,' out 1:16:10.
    Layer 5- animation with alpha clip. Opacity key framed same as layer 1. Clip aniamtionwas done in the original comp.TC in 31:12, out 48:11.
    Layer 6- animation with alpha clip. Opacity key framed same as layer 1. Clip aniamtionwas done in the original comp.TC in 6:06, out 21:14.
    Layer 7- animation codec clip. 1:46:00 duration.
    Now when I attempt to render this out to a ProRes 422 file so that I can join it up with the other footage in Primeire Pro, I basically sit around for 2 hours and then I get a nice little dialog box stating "an output module failed. The file may be damaged or corrupted. (-1610153464).
    This is maddening to say the least.
    Other issues
    After Effects basically is Pathetically slow in rendering out a ProRes or Animation or any type of mov file. A simple 30sec clip takes 1 hour 47 minutes. All the clip contains is a tiff left eye and right eye and the 3D glasses plug in. That's it. I know my system isn't the biggest out there (I bought what I could afford). But these render times are ludicrous. If I turn of the multiprocessing it doesn't help. I have the openGL turned on. That doesn't seems to do anything. I have it set up to use 10Gb of ram, yet the system says I'm only using 37% of my ram, none of my processors and I have no idea about the graphics card. Am I totally missing something about how after effects actually does rendering? I'm from the old school of Jaleo and Shake and Nuke. However I set out on my own as a freelancer and I can't really afford Nuke (besides I don't like that it doesn't have a timeline). So I purchased Adobe production premium thinking it can do the job I want, however it seems to act like a spoilt brat software. Yes im ranting had really having thoughts of buyers remorse.
    If anyone out there has any advice or thoughts on how to get this to work I'd be more than grateful to hear from you.
    Cheers
    James

    That doesn't seems to do anything. I have it set up to use 10Gb of ram, yet the system says I'm only using 37% of my ram,
    AE only takes what it needs, as do any programs with dynamically managed memory. It's not cramming everything into RAM when it doesn't have to.
    none of my processors
    Secondary processors/ cores will only be used, if you enable the sad excuse that is the "Render multiple Frames simultanuously" feature. As Todd suggested, read that article on "optimum" settings. Just keep in mind that what works well for one project may not work at all for the next one when the balance of footage I/O vs. pixel processing vs. memory consumption changes. You're gonna learn to really hate this...
    I have no idea about the graphics card
    AE doesn't use it for the most part. Even if you enable all of the hardware acceleration features, AE may turn them off behind your back, one such condition being the use of MP rendering. Can't have both. Conversely, MP rendering might be turned off just the same, if specific effects or features are used. That's also expleianed in teh help. Your only chance of halfway benefiting from hardware acceleration is buying some third-party plug-ins that have their own implementations of OpenGL and CUDA. Still, since you use two different cards i nyour system, that may also be problematic...
    Mylenium

  • JTree selection problem when using custom renderer and editor

    Hello:
    I created a JTree with custom renderer and editor.
    The customization makes JCheckBox to be the component
    responsible for editing and rendering.
    The problem is that when I click on the node with the checkbox
    the JTree selection model does not get updated.
    Without customizations of the editor and renderer the MouseEvent would be fired and BasicTreeUI$MouseHandler.mousePressed() method would call
    the selectPathForEvent() method which would be responsible for updating
    the selection model. At the same time if I attach a mouse listener to the JTree (customized) I see the events when clicking on the nodes. It seems like the MouseEvent gets lost and somehow as a result of which the selection model does not get updated.
    Am I missing something?
    Thanks
    Alexander

    You probably forgot to call super.getTreeCellRendererComponent(...) at the beginning of your getTreeCellRendererComponent(...) method in your custom renderer.
    Or maybe in the getTreeCellEditorComponent(...) of the TreeCellEditor...

  • Audio Render Problems Again

    I'm having problem again rendering a one hour presentation. If I use Command/R, the dialog box indicates seven or more days. If I highlight the selection I get essentially the same estimated time.
    Command/R usually works, but not this time. Audio For Playback is checked.
    The DV timeline plays in Quick Time OK.
    I desperately need to get this video sent out! I even deleted preferences using the "Preference Manager" program.
    David

    All of my lecture video series are recorded in LP 16 bit audio. Each lecture is between 1 to 1.5 hr in length. I have successfully completed 10 of the 23.
    Each lecture is sent to iMovie HD and then the timeline.mov is placed into FCE. One other time the timeline audio would not render, so I converted it to DV via MPEG Stream Clip and placed it back into FCE. The lecture I'm having trouble with is #11.
    As mentioned, usually Command-R will do the trick in 10 minutes or so, not 6 to 10 days.
    David

  • Boris text render problem

    Hello,
    I am having a problem with the Boris Title Crawl text generator. The problem manifests itself as a field dominance problem. Here is a description of how to create the problem:
    1) Create a new project in FCE (I am using FCE 4)
    2) Drag the Boris Title Crawl generator to the timeline
    3) Open the clip in the viewer
    4) Enter some text into the generator
    5) Select the "roll" animation style
    6) Render the clip (IMPORTANT)
    Set the zoom in the canvas to 100% and play the clip. Notice the interlace artifacts, particularly in the curved parts of the text. Note that the fields appear to be *out of order*. That is, the upper field should be the lower field and vis-a-versa.
    I've been trying to figure out how to fix this problem. Applying a deinterlace filter cleans it up but you loose resolution. I've tried applying the "shift field" filter but this does not clean up the problem, though a setting of "-1" makes a small improvement. This appears to either be a problem with the Boris generator or some field dominance problem. The field dominance for the clip is "not set". Changing this setting does not fix the problem. Field dominance for the sequence is "Upper" which is what is expected for the HD sequence.
    Any thoughts?
    Steve

    Tried to reply to your message but it bounced.
    The field order does not appear reversed to me. You're seeing the correct interlacing. You're not seeing interlacing on the LT project because it's project properties have the field order set to none. If you set the project properties inside the LT project to upper you will see the same interlacing. Interlacing is correct for 1080i material. If you don't want to render with interlacing set the sequence field dominance to none and re-render it.
    All the best,
    Tom

  • Page render problem in cc&b(ORMB)

    Hi,
    Once login the application home page would not render and one exclamation mark appear on left side on IE. When I check the detail of that error is shows :
    Line: 679
    Char: 5
    Erroe: myNavigationKeys' is undefined
    Code: 0
    URL: http://localhost:6500/uiPage/userMaint?language=ENG
    Its not the IE problem since my host url don't works on different machine IE and other machine application works on my machine IE.
    Previously application works fine, this problem occur suddenly!!
    Please reply back if somebody have any idea regarding the same.
    Thanks in advance
    ~Subodh
    Edited by: Subodh on May 30, 2011 11:21 PM

    Check that you have HTTP 1.1 is enabled as the products uses that version of the protocol.
    Use HTTP 1.1 on Options -> Advanced

  • JTree Repaint Problem .

    I'm creating a dynamic JTree by querying th DB. The JTree has to reflect the changes if any.
    But the problem is that although I'm getting all the correct nodes in the JTree, the tree display is not repainted if the window is maximized or focussed and the tree area is displayed grey. Other components like buttons etc are correctly visible.
    If I click in the greyed area of the JTree then that particular node is visible and the rest nodes are hidden.
    same problem comes when I have a JPopup for the nodes.. It leaves a greyed rectangle in place of the JPopup.
    Any suggestions will be a great help.
    - Praveen

    I tried the reload , revalidate and the repaint method of the Treemodel, but nothing changed... its all the same.I'd like to explain in full what am I doing.
    I have some items in the DB which are shown in the JTree. When any Item is added to the DB I poll the DB
    after an interval to check new entries or deleted entries, and this is to be updated to the JTree.
    The additions and deletions are going on properly a/c to the DB the only problem being that , that if the window(JFrame) containing the JTree (JTree is contained in JScrollPane) is minimized or hidden, then only the JTree is greyed and not the other components such as the buttons.
    Interestingly if I double click in the JTree area then the Jtree becomes visible properly. This happens after each update of the JTree.
    Hope this description will give a better view.
    Thanks for all your previous helpful hints.

  • JTree Refesh problem

    Hello --
    I've searched this subject ad nauseum on these forums and the rest of the web, and I'm still coming up blank.
    Basically, I have a file structure JTree. To do a "refresh" view, I basically kill the original object, and rebuild it again -- while first storing the last TreePath the user was on.
    Since this tree is built dynamically, placeholders are used to tell if the parent node has any children. From there, it looks up its children.
    During the refresh, I fire the tree.expandPath(path), and in my expansion listener, it should take care of the rest.
    Well, it seems like all the steps are going correctly, due to the debug output I'm getting, but I can't get the tree to scroll to the path. Here's the reload part:
    public void refreshTree(TreePath path){
       TP tp = null;
       Object [] obj = path.getPath();
         for (int i = 2; i <= obj.length; i++){
              tp = new TP(obj, i);     
             tree.expandPath(tp.getTP());
    //I've tried these in the for loop to no avail
    //               tree.setSelectionPath(tp.getTP());
    //              tree.scrollPathToVisible(tp.getTP());
           //this should be the last and final TreePath object
         tree.expandPath(tp.getTP());
         //tree.getSelectionModel().setSelectionPath(tp.getTP());
              tree.setSelectionPath(tp.getTP());
         tree.scrollPathToVisible(tp.getTP());
         //this class exists so I can build the treepath one
            //leaf at a time
         class TP extends TreePath{
              public TP(Object[] obj, int length){
                   super(obj, length);     
              public TreePath getTP(){
                   return this;
         }I've tried rebuild and all, and it seems like everything is doing what it's supposed to except drawing it right. Here's the code for the expansion:
    class selectionListener implements TreeExpansionListener{
       public void treeExpanded(TreeExpansionEvent evt){
         DefaultMutableTreeNode node = getTreeNode(evt.getPath());
         TreeNode firstBorn = node.getFirstChild();
         if (firstBorn.toString().equals(PLACEHOLDER)){
              System.out.println("made it");  //debug
              populateTree(evt.getPath());  //this gets the new stuff
      public void treeCollapsed(TreeExpansionEvent evt){}          
    }So, again, it seems like everything is firing the way it should, it's just not redrawing the tree to the current path.
    I'm on Java 1.4[02], Windows 2K, and JTree is set to SINGLE selection mode. If you need any additional information, please let me know.
    Thank you very much for your time.
    -Steve

    It seems that the tree is firing a node change itself, because I have code executing in the
    public void treeExpanded(TreeExpansionEvent evt)
    function.
    I also put a bit of debug code in... I have
    System.out.println("Is collapsed? " + tree.isCollapsed(tp.getTP()));
    Inside my for loop... the output is false everytime.
    So it seems that everything exists, it's just not repainting the gui for some reason or other. I'm not spinning off seperate threads to do anything, so I'd assume it's not a thread problem.
    Any ideas? This is really getting frustrating, for something I thought would be so simple.

  • JTree selection problem

    I have a problem trying to select a node of a JTree using JDK 1.3.1 and JDK 1.4 beta 3. I use a JTree with a DefaultTreeModel and DefaultMutableTreeNodes.
    Before the tree became visible it has all the nodes loaded but not visible. Then I want to select a path of the tree using a node (DefaultMutableTreeNode) but I not able to do it.
    The path isn't selected and isn't visible.
    I use the following code:
      jTree.setExpandsSelectedPaths(true)
      jTree.setSelectionPath(new TreePath(node.getPath()));
      //I've also tried with
      jTree.expandPath(new TreePath(dmtn.getPath()));Thanks.

    Fair enough. I guess I need to do a bit more reading.
    You have to create a new TreePath object because the
    getPath() method of DefaultMutableTreeNode returns an
    array of TreeNodes where as the setSelected method of
    JTree requires a TreePath object.
    Why are you creating a new path with the contents ofa
    call to getPath?
    wouldn't node.getPath() be what you want toexpend/set
    visible/scroll to etc
    try it without creating a new TreePath

Maybe you are looking for

  • Rfc connection error to saposs

    Hi while testing the rfc connection to saposs msg comes timeout occured Error:  timeout occured Location : Saprouter 37.11 on SAPDEV Componenet: NI Counter :  1460 Return code: -93 Subrc: 0 Release : 640 Version : 37 Plz suggest me.

  • Computer is no longer authorized

    I keep getting this over and over "This computer is no longer authorized to play purchased items that are on iPod "Shawn B's IPod". Would you like to authorize this computer for items purchased from iTunes stores?" I authorize the computer and then i

  • What is needed to make the right connection from MacBook Pro to Samsung HDTV 1080p??

    Using macbook pro  w/Mtn Lion O/S to connect to Samsung LED ultra thin flat screen TV with DVI/HDMI cable to DMI input on TV.  This connection works only for screen saver photos and not much else- no audio and no video and no mac screen output. 

  • IPhone white screen of death:  Anyone else?

    To All, Since the iPhone 3.0 software update I have been experiencing the white screen of death (basically the screen turns completely white but the phone still works fine in the background. You just can't see anything) on my iPhone 3g. You can reset

  • Displaying KM content using Webdynpro Tree Application

    Hi, I want to create a webdynpro tree structure application which pulls out the KM Content into the tree Structure. How can i do that? Where can i give the KM path and make the KM documents reflect in the tree? Does any body have code samples related