Question about repeating frames

I am producing a summary report.
I have several querys that produce different counts.
for each query I have to have a different repeating frame to display the count.
However if I produce a summary column on that querys information I do not
need to repeating column.
My question is which way is better?
Thanks

I am curious. Does your repeating frame only display the total count? It's hard to say which way is better, although you could try qualifying the two on certain criteria. Do they both display the same data you (or the user) wants to see? Which way is easier on you to set up? Did you already do it one way and is it working? If so, is the current way running satisfactory?
I think a lot of times developers waste hours upon hours trying to make something run a few seconds quicker for a user that may only use the program a couple times a month if that.
Personally I would use the summary column method. If for no other reason, that it is more manageable to me as the developer to alter a field than it is to alter a frame.

Similar Messages

  • Quick question about repeating frames

    Hello,
    I just wonder if I have a three frames long movieclip and I want a script on the second frame that tells it to begin from frame 1 again so it keeps replaying from 1 to 2 all the time. But I'm able get to frame 3 with gotoAndPlay using a key or button.
    So it's a script that tells flash to go to the first frame I need help with.
    Thank you.

    on frame 2,
    gotoAndPlay(1)

  • Question regarding Repeating Frames...

    Hi
    I've been using Oracle Reports for a short time. I am trying to accomplish something within a repeating frame but can't seem to get it to work.
    The results I receive from my SQL query are in the form of a month associated with a numeric value. These values are being repeated in the frame, so the rows are displayed as: Calendar Period of January value of 5 - Calendar Period of February value of 10, Calendar Period of March value of 15, etc...
    The values are cumulative in my results so I need to subtract the prior month from the current one. I can't figure out how to do this in Reports.
    Is there a way to retrieve a value from the previous frame in a repeating frame? I know I can create a Function to do the calculations. My problem is accessing the value prior to the one being displayed.
    Thanks

    There are probably a variety of ways to do this. Probably the easiest is to use the LAG function in the actual SQL statement. The example below is taken from the Oracle SQL reference.
    SELECT last_name, hire_date, salary,
    LAG(salary, 1, 0) OVER (ORDER BY hire_date) AS prev_sal
    FROM employees
    WHERE job_id = ’PU_CLERK’;
    LAST_NAME HIRE_DATE SALARY PREV_SAL
    Khoo 18-MAY-95 3100 0
    Tobias 24-JUL-97 2800 3100
    Baida 24-DEC-97 2900 2800
    Himuro 15-NOV-98 2600 2900
    Colmenares 10-AUG-99 2500 2600

  • Question about repeating in the process chain

    Hello Gurus,
            my DTP is set as "valid records update, no reporting (request red)", and put into a process chain. the process chain goes wrong on this DTP due to some erroneous records.  my questions are:
       (1) based on DTP configuration, all the records are transferred to target successfully except for those erroneous records. is that right?
       (2) after I correct those erroneous records in PSA, I repeat this DTP process in the process chain.  what exact data are transferred by this repeating operation on this DTP?  do we need to take care of all the previously loaded data for this subsequent repeat loading ?
    Many thanks.

    Hi ,
    Please refer my article for your answer, also this has lots of good DTP features.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10339304-7ce5-2c10-f692-fbcd25915c36?quicklink=index&overridelayout=true
    (1) based on DTP configuration, all the records are transferred to target successfully except for those erroneous records. is that right?
    Yes. All the erroneous records go in the error stack and then you can fix the errorneous records there and execute the error DTP.This setting ensures, incorrect/incomplete data is not available for reporting.
    (2) after I correct those erroneous records in PSA, I repeat this DTP process in the process chain. what exact data are transferred by this repeating operation on this DTP? do we need to take care of all the previously loaded data for this subsequent repeat loading ?
    No records are transferred on repeating teh job. We need to manually set the status of request to Green.Yes we need to take care of all the subsequent steps.
    -Vikram

  • Question about changing frame rate from PAL to NTSC

    Hi,
    Usually, I would use JES Deinterlacer for changing the 25 fps of PAL into 29.97 NTSC.
    Recently I've started shooting with Sony's EX-3, full HD (in PAL mode)
    If I'm using JES Deinterlacer, the resolution would drop from 1920x1080 to 720x480 (adding 2 black rectangles to keep the 16:9 ratio)
    With the 720x480 res I would need to choose 4:3 aspect in iDVD.
    I'm somewhat confused here...Can I keep the original resolution of 1920x1080 and just use another software for changing the frame rate...then burn it with iDVD in widescreen 16:9? Is there anything like JES for that? Or does NTSC DVD means always 720x480?
    Thanks a lot!
    ymotion

    You could try doing it in compressor>advanced format conversions. Personally I like taking it to a terranex, but I also have had GREAT success with Graeme Nattress's standards converter. You can google it, or search this forum for a link. It's cheap, only a hundred bucks or so.
    1. Convert the footage pal to ntsc, no frame size change
    2. Open compressor and select the appropriate setting for the length of your video. And also add the dolby audio setting. Don't forget the anamorphic settings noted above.
    3. I don't remember anything at all about idvd, haven't used it since DVDSP came out. DVDSP allows you a whole host of display parameters and infinite customization for your projects. It'll only take you a couple of hours to figure it out, and those are hours well spent.

  • Quick Question About Repeating Songs Within A Playlist

    Here's the situation: I have 45 songs in one playlist and would like to hear 5 of the 45 songs being played more often than the other 40 songs. Is there a way for me to do that? I tried rating the songs, but it repeated ALL of the songs and not the 5 songs I wish.
    Thanks for your time in advance.

    At one point, I think, desktop iTunes used to have a checkbox for playing higher-rated songs more often when in shuffle mode, but can't find it now. I don't think that ever existed on iOS devices.
    You could make a request for such function here:
    http://www.apple.com/feedback/

  • Question about dropping frames during playback

    Ok... granted my system hardware is a little outdated but... My system was running 1.5 without any problems... all I did was wipe the hard drive, reinstall the os, install CS4, install the drivers for my blackmagic SD card. But now when I render a project and try to play it back I getting drop frame errors all over the place. My video drives all check out runnning the blackmagic speed tests, I've made sure they are defragged and there is plenty of room... so the only thing I can think of is that there must be some setting in 4 that I am overlooking. I'm just shooting on DV and I chose blackmagic DV for my project settings (al playback is set to BM) and everything seems to be pointing to the video drive... any ideas what I might have missed? I've had a stable edit suite (well as stable as an edit suite can be) for so long I must be a little rusty at all those sneaky little settings.

    Glad you got it sorted out, albeit with a reformat. I watched your thread, in hopes that someone could address your issue with another workaround.
    As for the display (GUI and also media files), it does seem that CS4 is slower in some aspects, than earlier versions. However, with really top-line gear, most folk do not complain. I'm waiting to upgrade the workstation and the OS, before I upgrade to CS4 myself.
    Hunt

  • Non repeating frame - when/how to use

    Hi,
    How do I use a non repeating frame on it's own.
    I have one query in which I have selected 3 fields.
    In the paper layout, I have placed 3 fields in a non repeating frame.
    When I run the report, I get a REP-1213 error - Filed 'xxx' at frequency below its group.
    When I place the 3 fields ina repeating frame, it works, because the repeating frame property inspector allows me to enter the group and the non repeating frame does not.
    So, my question is, when and how does one use a non repeating frame.
    I need to understand the principle behind it.
    Thank you
    i

    You mainly use regular frames to group objects together or prevent them from being overwritten. Check the help on About Frames.

  • Repeating frame over flow into next page

    I have a report, on the first page of which I have a repeating frame. On the second I have only different paras of text.
    When ever the repeating frame on the first page, returns data more than it can fit on the first page, it is getting printed on the second page. But as a result the text of the second page is being pushed down.
    It also creates a gap between the place where the repeating frame data ends and the text of the second page starts. How to avoid this gap.
    What is the solution . Please share.

    Hi Nag,
    Thanx for your question.
    1. As you know its difficult to simulate the problem
    through a sample report. I would like to know
    which version of reports are you using?.
    2. I suggest to surround your second repeating frame and the last paragrphs with a normal variable frame.
    I mean include the second repeating frame and the last group frame into a variable frame that spans over the two pages. then you should set the "print object on" to "first page" and to "enclosing object"
    for all parent frames.
    3. if it does not work .Try this one too: To avoid the gap use "Anchor", anchor the last paragraphs frame to the second repeating frame by minimizing the gap between them(See help online about anchoring).
    Hope this helps,
    CB

  • Some questions about Muse

    First of all, I would like to say that I am very impressed with how well Muse works and how easy it was to create a website that satisfies me. Before I started a daily updated website I thought I would encounter many problems I will not be able to solve. I have only had a few minor issues which I would like to share with you.
    The most problems I have with a horizontal layouts (http://www.leftlane.pl/sty14/dig-t-r-3-cylindrowy-silnik-nissana-o-wadze-40-kg-i-mocy-400- km.html). Marking and copying of a text is possible only on the last (top) layer of a document. The same situation is with widgets or anything connected with rollover state - it does not work. In the above example it would be perfect to use a composition/tooltip widget on the first page. Unfortunately, you cannot even move the cursor into it.
    It would be helpful to have an option of rolling a mouse to an anchor (like in here http://www.play.pl/super-smartfony/lg-nexus-5.html and here http://www.thepetedesign.com/demos/onepage_scroll_demo.html).  I mean any action of a mouse wheel would make a move to another anchor/screen. It would make navigation of my site very easy.
    Is it possible to create a widget with a function next anchor/previous anchor? Currently, in the menu every button must be connected to a different anchor for the menu to be functional.
    A question about Adobe Muse. Is it possible to create panels in different columns? It would make it easier to go through all the sophisticated program functions.
    The hits from Facebook have sometimes very long links, eg.
    (http://www.leftlane.pl/sty14/mclaren-p1-nowy-krol-nurburgring.html?fb_action_ids=143235557 3667782&fb_action_types=og.likes&fb_source=aggregation&fb_aggregation_id=288381481237582). If such a link is activated, the anchors in the menu do not work on any page. I mean the backlight of an active state, which helps the user to find out where on page they currently are. The problem also occurs when in the name of a html file polish fonts exist. And sometimes the dots does not work without any reason, mostly in the main page, sometimes in the cooperation page either (http://www.leftlane.pl/wspolpraca/). In the first case (on main page), I do not know why. I have checked if they did not drop into a state button by accident,  moved them among the layers, numbered them from scratch and it did not help. In the cooperation page, the first anchor does not work if it is in Y axle set at 0. If I move it right direction- everything is ok.
    The text frame with background fill does not change text color in overlay state (http://www.leftlane.pl/sty14/nowe-mini-krolestwo-silnikow-3-cylindrowych.html). I mean a source button at the beginning of every text. I would like a dark text and a light layer in a rollover, but  the text after export and moving cursor into it does not change color for some reason.
    I was not sure whether to keep everything (whole website) in one Muse file (but I may be mistaken?). I have decided to divide it into months. Everyone is in a different Muse file. If something goes wrong, I will not have any trouble with an upload of a whole site, which is going to get bigger and bigger.
    The problem is that every file has two master pages. Everything works well up to the moment when I realize how many times I have to make changes in upper menu when I need to add something there. I have already 5 files, every with 2 masters. Is there any way to solve this problem? Maybe something to do with Business Catalyst, where I could connect a menu to every subpage independently, deleting it from Muse file? Doing so I would be able to edit it everywhere from one place. It would make my work much easier, but I have no idea jendak how to do it.
    The comments Disqus do not load, especially at horizontal layouts  (http://www.leftlane.pl/sty14/2014-infiniti-q50-eau-rouge-concept.html). I have exchanged some mails and screenshots with Disqus help. I have sent them a screenshot where the comments are not loaded, because they almost never load. They have replied that it works at their place even with attached screenshot. I have a hard time to discuss it, because it does not work with me and with my friends either. Maybe you could fix it? I would not like to end up with awful facebook comments ;). The problem is with Firefox on PC and Mac. Chrome, Safari and Opera work ok.
    YouTube movie level layouts do not work well with IE11 and Safari 7 (http://www.leftlane.pl/sty14/wypadki-drogowe--004.html). The background should roll left, but in the above mentioned browsers it jumps up. Moreover the scrolling with menu dots is not fluent on Firefox, but I guess it is due to Firefox issues? The same layout but in vertical version rolls fluently in Firefox (http://www.leftlane.pl/sty14/polskie-wypadki--005.html).
    Now, viewing the website on new smartphones and tablets. I know it is not a mobile/tablet layout, but I tried to make it possible to be used on mobile hardware with HD (1280) display. I mean most of all horizontal layouts (http://www.leftlane.pl/sty14/2015-hyundai-genesis.html), where If we want to roll left, we need to roll down. Is there a way to make it possible to move the finger the direction in which the layout goes?
    On Android phones (Nexus 4, Android 4.4.2, Chrome 32) the fade away background effect does not work, although I have spent a lot of time over it (http://www.leftlane.pl/lut14/koniec-produkcji-elektrycznego-renault-fluence-ze!.html). It is ok on PC, but on the phone it does not look good. A whole picture moves from a lower layer instead of an edge which spoils everything.
    This layout does not look good on Android (http://www.leftlane.pl/sty14/nowe-mini-krolestwo-silnikow-3-cylindrowych.html#a07). The background does not fill the whole width of a page. There are also problems with a photo gallery, where full screen pictures should fill more of a screen.
    Is it possible to make an option of  scroll effects/motions for a fullscreen slideshow widget thumbnails (http://www.leftlane.pl/sty14/2014-chevrolet-ss%2c-rodzinny-sedan-z-415-konnym-v8.html#a06)? It would help me with designing layouts. Currently, it can go from a bottom of a page at x1 speed or emerge (like in this layout) by changing opacity. Something more will be needed, I suppose.
    Sometimes the pictures from gallery (http://www.leftlane.pl/sty14/2014-chevrolet-ss%2c-rodzinny-sedan-z-415-konnym-v8.html#a06 download very slowly. The website is hosted at Business Catalyst. I cannot state when exactly it happens, most of the time it works ok.
    I really like layouts like this (http://www.leftlane.pl/sty14/2014-chevrolet-ss%2c-rodzinny-sedan-z-415-konnym-v8.html#a03). On the top is a description and a main text, and the picture is a filled object with a hold set at the bottom edge. That is why there is a nice effect of a filling a whole screen- nevertheless the resolution that is set. It works perfect on PC, but on Android the picture goes beyond the screen. You can do something about it?
    In horizontal layouts (http://www.leftlane.pl/sty14/dig-t-r-3-cylindrowy-silnik-nissana-o-wadze-40-kg-i-mocy-400- km.html) holding of a filling object does not work. Everything is always held to upper edge of a screen regardless the settings. Possibility of holding the picture to the bottom edge or center would make my work much easier.
    According to UE regulations we have to inform about the cookies. I do not know how to do it in Muse. I mean, when the message shows up one time and is accepted, there would be no need to show it again and again during another visit on the website. Is there any way to do it? Is there any widget for it maybe?
    The YouTube widget sometimes changes size just like that. It is so when the miniature of the movie does not load, and the widget is set to stroke (in our case 4 pixels, rounded to 1 pixel). As I remember ( in case of a load error) it extends for 8 pixels wide.
    Last but not least - we use the cheapest hosting plan in Business Catalyst. The monthly bandwidth is enough, although we have a lot of pictures and we worried about it at first. Yet we are running out of the disk storage very quickly. We have used more than a half of a 1 GB after a month. We do not want to change BC for a different one, because we like the way it is connected with Muse. But we do not want to buy the most expensive package - but only this one has more disk space. We do not need any other of these functions and it would devastate our budget. Do we have any other option?
    I’m using Adobe Muse 7.2 on OS X 10.9.1.
    and I'm sending Muse file to <[email protected]>

    Unfortunatley, there is no way to get a code view in Muse. I know quite a few people requested it in the previous forum, but not really sure where that ended up. Also, you may not want to bring the html into DW unless you only have 1 or 2 small changes 2 make. Two reasons. First, it isnt backwards compatible, so if you are planning on updating that site in Muse, you will need to make those changes in DW everytime you update. Second, by all accounts the HTML that Muse puts out is not pretty or easy to work with. Unlike you, I am code averse, but there was a lenghty discussion on the previous forum on this topic. I know they were striving to make it better with every release, just not sure where it is at this point.
    Dont think I am reading that second question right, but there was a ton of info on that old site. You may want to take a look there, people posted a ton of great unique solutions, so it worth a look.
    Here is the link to the old forums- http://support.muse.adobe.com/muse

  • A question about the impact of SQL*PLUS SERVEROUTPUT option on v$sql

    Hello everybody,
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0  Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL>
    OS : Fedora Core 17 (X86_64) Kernel 3.6.6-1.fc17.x86_64I would like to ask a question about the SQL*Plus SET SERVEROUTPUT ON/OFF option and its impact on queries on views such as v$sql and v$session. Here is the problem
    Actually I define three variables in SQL*Plus in order to store sid, serial# and prev_sql_id columns from v$session in order to be able to use them later, several times in different other queries, while I'm still working in the current session.
    So, here is how I proceed
    SET SERVEROUTPUT ON;  -- I often activate this option as the first line of almost all of my SQL-PL/SQL script files
    SET SQLBLANKLINES ON;
    VARIABLE mysid NUMBER
    VARIABLE myserial# NUMBER;
    VARIABLE saved_sql_id VARCHAR2(13);
    -- So first I store sid and serial# for the current session
    BEGIN
        SELECT sid, serial# INTO :mysid, :myserial#
        FROM v$session
        WHERE audsid = SYS_CONTEXT('UserEnv', 'SessionId');
    END;
    PL/SQL procedure successfully completed.
    -- Just check to see the result
    SQL> SELECT :mysid, :myserial# FROM DUAL;
        :MYSID :MYSERIAL#
           129   1067
    SQL> Now, let's say that I want to run the following query as the last SQL statement run within my current session
    SELECT * FROM employees WHERE salary >= 2800 AND ROWNUM <= 10;According to Oracle® Database Reference 11g Release 2 (11.2) description for v$session
    http://docs.oracle.com/cd/E11882_01/server.112/e25513/dynviews_3016.htm#REFRN30223]
    the column prev_sql_id includes the sql_id of the last sql statement executed for the given sid and serial# which in the case of my example, it will be the above mentioned SELECT query on the employees table. As a result, right after the SELECT statement on the employees table I run the following
    BEGIN
        SELECT prev_sql_id INTO :saved_sql_id
        FROM v$session
        WHERE sid = :mysid AND serial# = :myserial#;
    END;
    PL/SQL procedure successfully completed.
    SQL> SELECT :saved_sql_id FROM DUAL;
    :SAVED_SQL_ID
    9babjv8yq8ru3
    SQL> Having the value of sql_id, I'm supposed to find all information about cursor(s) for my SELECT statement and also its sql_text value in v$sql. Yet here is what I get when I query v$sql upon the stored sql_id
    SELECT child_number, sql_id, sql_text
    FROM v$sql
    WHERE sql_id = :saved_sql_id;
    CHILD_NUMBER   SQL_ID          SQL_TEXT
    0              9babjv8yq8ru3    BEGIN DBMS_OUTPUT.GET_LINES(:LINES, :NUMLINES); END;Therefore instead of
    SELECT * FROM employees WHERE salary >= 2800 AND ROWNUM <= 10;for the value of sql_text I get the following value
    BEGIN DBMS_OUTPUT.GET_LINES(:LINES, :NUMLINES);Which is not of course what I was expecting to find in v$sql for the given sql_id.
    After a bit googling I found the following thread on the OTN forum where it had been suggested (well I think maybe not exactly for the same problem) to turn off SERVEROUTPUT.
    Problem with dbms_xplan.display_cursor
    This was precisely what I did
    SET SERVEROUTPUT OFFafter that I repeated the whole procedure and this time everything worked pretty well as expected. I checked SQL*Plus documentation for SERVEROUTPUT
    and also v$session page, yet I didn't find anything indicating that SERVEROUTPUT should be switched off whenever views such as v$sql, v$session
    are queired. I don't really understand the link in terms of impact that one can have on the other or better to say rather, why there is an impact
    Could anyone kindly make some clarification?
    thanks in advance,
    Regards,
    Dariyoosh

    >
    and also v$session page, yet I didn't find anything indicating that SERVEROUTPUT should be switched off whenever views such as v$sql, v$session
    are queired. I don't really understand the link in terms of impact that one can have on the other or better to say rather, why there is an impact
    Hi Dariyoosh,
    SET SERVEROUTPUT ON has the effect of executing dbms_output.get_lines after each and every statement. Not only related to system view.
    Here below what Tom Kyte is explaining in this page:
    Now, sqlplus sees this functionality and says "hey, would not it be nice for me to dump this buffer to screen for the user?". So, they added the SQLPlus command "set serveroutput on" which does two things
    1) it tells SQLPLUS you would like it <b>to execute dbms_output.get_lines after each and every statement</b>. You would like it to do this network rounding after each call. You would like this extra overhead to take place (think of an install script with hundreds/thousands of statements to be executed -- perhaps, just perhaps you don't want this extra call after every call)
    2) SQLPLUS automatically calls the dbms_output API "enable" to turn on the buffering that happens in the package.Regards.
    Al

  • Please, help a newbie:  Question about animating expanding containers

    Hi All,
    Short Version of my Question:
    I'm making a media player that needs to have an animation for panels sliding up and down and left and right, and the method I've been using to do this performs far slower than the speed I believe is possible, and required. What is a fast way to make a high performance animation for such an application?
    Details:
    So far, to do the animation, I've been using JSplitPanes and changing the position of the divider in a loop and calling paintImmediately or paintDirtyRegion like so:
    public void animateDividerLocation( JSplitPane j, int to, int direction) {
    for(int i=j.getDividerLocation(); i>=to; i-=JUMP_SIZE) {
    j.setDividerLocation(i);
    j.validate();
    j.paintImmediately(0, 0, j.getWidth(), j.getHeight());
    The validate and paintImmediately calls have been necessary to see any changes while the loop is going. I.e., if those calls are left out, the components appear to just skip right to where they were supposed to animate to, without having been animated at all.
    The animation requirement is pretty simple. Basically, the application looks like it has 3 panels. One on the right, one on the left, and a toolbar at the bottom. The animation just needs to make the panels expand and contract.
    Currenly, the animation only gets about, say, 4 frames a second on the 800 MHz Transmeta Crusoe processor, 114 MB Ram, Windows 2000 machine I must use (to approximate the performance of the processor I'll be using, which will run embedded Linux), even though I've taken most of the visible components out of the JPanels during the animation. I don't think this has to do with RAM reaching capacity, as the harddrive light does not light up often. Even if this were the case, the animation goes also goes slow (about 13 frames a second) on my 3 GHz P4 Windows XP if I keeps some JButtons, images etc., inside the JPanels. I get about 50 frames/sec on my 3 GHz P4, if I take most of the JButtons out, as I do for the 800 MHz processor. This is sufficient to animate the panels 400 pixels across the screen at 20 pixels per jump, but it isn't fast or smooth enough to animate across 400 pixels moving at 4 pixel jumps. I know 50 frames/sec is generally considered fast, but in this case, there is hardly anything changing on the screen (hardly any dirty pixels per new frame) and so I'd expect there to be some way to make the animation go much faster and smoother, since I've seen games and other application do much more much faster and much smoother.
    I'm hoping someone can suggest a different, faster way to do the animation I require. Perhaps using the JSplitPane trick is not a good idea in terms of performance. Perhaps there are some tricks I can apply to my JSplitPane trick?
    I haven't been using any fancy tricks - no double buffering, volatile images, canvas or other animation speed techniques. I haven't ever used any of those things as I'm fairly new to Swing and the 2D API. Actually I've read somewhere that Swing does double buffering without being told to, if I understood what I read. Is doing double buffering explicitly still required? And, if I do need to use double buffering or canvas or volatile images or anything else, I'm not sure how I would apply those techiniques to my problem, since I'm not animating a static image around the screen, but rather a set of containers (JSplitPanes and JPanels, mostly) and components (mostly JButtons) that often get re-adjusted or expanded as they are being animated. Do I need to get the Graphics object of the top container (would that contain the graphics objects for all the contained components?) and then double buffer, volatile image it, do the animation on a canvas, or something like that? Or what?
    Thanks you SO much for any help!
    Cortar
    Related Issues(?) (Secondary concerns):
    Although there are only three main panels, the actual number of GUI components I'm using, during the time of animation, is about 20 JPanels/JSplitPanes and 10 JButtons. Among the JPanels and the JSplitPanes, only a few JPanels are set to visible. I, for one, don't think this higher number of components is what is slowing me down, as I've tried taking out some components on my 3GHz machine and it didn't seem to affect performance much, if any. Am I wrong? Will minimizing components be among the necessary steps towards better performance?
    Anyhow, the total number of JContainers that the application creates (mostly JPanels) is perhaps less than 100, and the total number of JComponents created (mostly JButtons and ImageIcons) is less than 200. The application somehow manages to use up 50 MBs RAM. Why? Without looking at the code, can anyone offer a FAQ type of answer to this?

    You can comment out the lines that add buttons to the panels to see the behavior with empty panels.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.Timer;
    public class DancingPanels
        static GridBagLayout gridbag = new GridBagLayout();
        static Timer timer;
        static int delay = 40;
        static int weightInc = 50;
        static boolean goLeft = false;
        public static void main(String[] args)
            final GridBagConstraints gbc = new GridBagConstraints();
            gbc.weightx = 1.0;
            gbc.weighty = 1.0;
            gbc.fill = gbc.HORIZONTAL;
            final JPanel leftPanel = new JPanel(gridbag);
            leftPanel.setBackground(Color.blue);
            gbc.insets = new Insets(0,30,0,30);
            leftPanel.add(new JButton("1"), gbc);
            leftPanel.add(new JButton("2"), gbc);
            final JPanel rightPanel = new JPanel(gridbag);
            rightPanel.setBackground(Color.yellow);
            gbc.insets = new Insets(30,50,30,50);
            gbc.gridwidth = gbc.REMAINDER;
            rightPanel.add(new JButton("3"), gbc);
            rightPanel.add(new JButton("4"), gbc);
            final JPanel panel = new JPanel(gridbag);
            gbc.fill = gbc.BOTH;
            gbc.insets = new Insets(0,0,0,0);
            gbc.gridwidth = gbc.RELATIVE;
            panel.add(leftPanel, gbc);
            gbc.gridwidth = gbc.REMAINDER;
            panel.add(rightPanel, gbc);
            timer = new Timer(delay, new ActionListener()
                    gbc.fill = gbc.BOTH;
                    gbc.gridwidth = 1;
                public void actionPerformed(ActionEvent e)
                    double[] w = cycleWeights();
                    gbc.weightx = w[0];
                    gridbag.setConstraints(leftPanel, gbc);
                    gbc.weightx = w[1];
                    gridbag.setConstraints(rightPanel, gbc);
                    panel.revalidate();
                    panel.repaint();
            JFrame f = new JFrame("Dancing Panels");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(panel);
            f.setSize(400,300);
            f.setLocation(200,200);
            f.setVisible(true);
            timer.start();
        private static double[] cycleWeights()
            if(goLeft)
                weightInc--;
            else
                weightInc++;
            if(weightInc > 100)
                weightInc = 100;
                goLeft = true;
            if(weightInc < 0)
                weightInc = 0;
                goLeft = false;
            double wLeft = weightInc/ 100.0;
            double wRight = (100 - weightInc)/100.0;
            return new double[]{wLeft, wRight};
    }

  • Repeated frames when time remapping AVCHD clips in AE

    I will try to explain the best I can. Keep in mind I am a novice and by no means highly technical. First some background: I edit sports video for college bound athletes. I put together highlight videos for them. When I am filming I start/stop the camera at the beginning/end of a play so I can easily identify/edit "clips". I have imported 10 AVCHD "clips" from my Sony HDR-SR11 to a Premiere Pro CS4 project. I am using the "AVCHD 1080i anamorphic/29.97fps" sequence setting as my output for this project will be a 1440x1080 mepeg2 file. So I get my clips in the timeline add some transitions, no major edits, render the work area and playback. Everything looks fine, all clips play smooth. Now here's the rub. I want to freeze play, highlight an athlete then continue play. To do this I am using AFTER EFFECTS (NOTE I have done this with HDV footage off my Canon HV20 camera with no problems) so anyway with the new CS4 edition I can right click on a clip in my timeline and choose "replace with after effects composition"....I do and the clip migrates to AE into a a composition ready for me to work my magic. So my method for freezing play is select the "clip" in the composition, Ctrl-Alt-T for time remapping. I add 5 seconds to the duration of the composition since I am going to add time when I freeze the clip. I find the point in the clip where I want to freeze it. I place a "time remap" keyframe at that point. I then drag my mouse to highlight the keyframe I just placed and the keyframe at the end of the clip......I drag them to the right 2 seconds, then cut/paste the keyframe I added which is placed by the CTI (which is still at the original point). Now I have a 2 second freeze in play. I add a white solid and do some masking to highlight the athlete during that freeze. And that's it.....I press "O" then "N" to define the work area then I choose "trim comp to work area" from the composition menu. I repeat this process to all my clips and here is where I see the problem. I go back to my timeline in PP and I play the clips......I see my freeze/highlight edits from AE just fine but on SOME clips......2 out of 5 for example.....I get jittery playback. So I decided to scrub thru the clip frame by frame to see what is going on. So within 29 frames this is what I see. Girl is getting ready to serve a volleyball....Frame 1-15....she steps forward to serve THEN at frame 18 she pops back to the starting point...IT LOOKS LIKE FRAMES 1-12 ARE BEING REPEATED. I scrub the rest of the clip and this happens at random points....a small block of frames gets repeated throughout the clip which in the end looks like "jitter" or "jumpy" motion. I follow the same workflow in AE for each clip BUT this "jitter" does not happen on every clip...only some. So is my workflow at fault or is AE/PP/Adobe still buggy when it comes to working with AVCHD codec?? Anyone else experience this, if so do you have a fix?

    I haven't tested your theory yet Andrew but I did do this. In trying to track down exactly where these repeated frames are occurring. In AE I redid one clip that was repeating frames. I went frame by frame in AE and see no repeated frames. These changes should occur automatically in PP since the AE comp is still dynamically linked to my PP timeline. So I scrubbed the "source" (AE comp) file from the PP project panel frame by frame. And low and behold there are repeated frames, so it appears the problem is the handoff from AE to PP Sooooooo, ok I deleted the source file in the PP project panel and reimport it via dynamic link. Open the clip in the source monitor and yes...repeated frames at same point....recheck the comp in AE....no repeated frames. Delete the clip from PP project panel and this time import the clip directly instead of dynamic link.....repeated frames still there. So how about rendering the clip in AE the old fashion way then import to PP. AE Render Queue best settings - lossless.....blah blah blah. I ended up with an .avi file with no repeated frames. So to me the problem is the handoff between AE & PP. So rendering my AVCHD comps in AE first is my work around for now. Andrew...thanks! I will try your theory of converting the clip prior to the comp asap...right now I am trying to meet a deadline.

  • Using a Separator in a Repeating Frame - Solved (Sort of...)

    Hi Folks,
    I've got a report with a repeating frame going across it. I want to put a slash ('/') between the entries but NOT at the start or end so it looks like:
    Acceptance Test/Before Use Test/After Use Test
    Is this possible in Reports and, if so, how can I achieve it? There's nothing obvious about it on these forums or on MetaLink...
    Thanks,
    Simon.
    Message was edited by:
    SAFC 1973

    Hi ,
    those entries are fields for repating frame right?
    ok then,
    2 ways to do this.
    1)
    take bioler plate with text '/' for the required columns you want to seperated in the layout.
    2)
    concatenate the columns with '/' in the query itself for the required clumns u want
    in the data model
    try with this.
    --Basava.S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Question about Customizable Components in JDev 10.1.3.2 version

    Hi,
    I have some some questions about new ADF features.
    1) As we see at the image: http://www.sttb.pl/jakub/customComp.JPG custom component doesn't display polish letters. How to resolve it ?
    2) In command components (button or link) there is enable new value for Action attribute: frame.addContent - what is that and how to use it ?
    3) How to use <cust:showDetailFrame> facets ?
    Regards
    Kuba

    I can help you with 3)
    o Adding Customization to a JSF Application - demonstration
    o WebCenter Tutorial
    o WebCenter Developer's Guide
    Peter

Maybe you are looking for

  • Adobe Muse CC, Is it possible to achieve this effect?

    Hi everyone, it's me again. Now I was browsing through the internet when I come across these two websites: Supernova – WordPress Theme (This is a website theme/template) http://airnauts.com/ (This is an actual website) So, in the first one, the Wordp

  • Order of Installation?

    I am setting up a proof of concept 11g Release 1 Fusion Middleware environment, but I'm a bit confused regarding the installation order. I am coming to this environment with a background with OracleAS 10g Release 2. I have found various quick install

  • Javascript ajax loaded in adobe air

    Hello to all, I come on this forum because i meet a problem with AJAX and JAVASCRIPT. In my main script of ADOBE air, i load with "Ajax" the javascript contents but this javascript not execute not. All my functions are in the < head > only the calls

  • O2wifi can't connect / stuck in a login loop

    Does anyone else have trouble signing in to O2wifi. I just get stuck in an endless loop ? It recognises me "Hi Luke, welcome back", says press here to continue, does the grey circles, and then returns to the start. I'm using a HTC M8one, running andr

  • Using GET inside actionscript

    I'm deciding whether to use Adobe AIR to develop a desktop application. I'm wondering if it's suitable for the functionality I'm looking at. 1. Needs to be able to process a URL address with a GET parameter, upon which an XML file will be returned. 2