Slow performance when running non-swing Application?

I created a very simple GUI Application with some buttons. The App is sitting on a UNIX box and I am running it from my local PC. I have Hmmingbird Exceed running. It seems to come up very slowly. I am specifically not using any swing components. Is this normal? Anything I can do to speed it up? Thanks...

Regardless of whther it's a Java or a Hummingbird
issue, I think this is a valid place to ask for help
about this since the odds of there being someone else
here having conquered this same problem would be
rather high.Yep, people have the problem. I have had the problem. I haven't seen anyone that claims a solution.
>
I would also guess that there isn't much of any wayto speed it up.
What I don't understand is why the behavior of the
Java app on the Unix box is quite fast and yet the
redraw on the Exceed clent is excruciating slow. This
effect does seem to be present with our older apps
written in other languages.
Why would Exceed treat a Java app differently than one
written in any other language? I don't get it.
I believe someone at some time suggested it has to do with the way java interacts with the unix environment. But my memory on the subject is very fuzzy and the person explaining might not have known what they were talking about.
Of course I question the wisdom of running a GUIapplication written > in a language that is portable
across platform via a remote access
program in the first place.What is so unwise about it? The customer will run the
app in Unix. I have a PC on my desk. I use exceed to
connect to a Unix box to test behavior in Unix on my
PC. Sounds wiser than walking halfway accross the
company to sit in front of the Unix box.
Testing, of course, should only be done in the environment that will actually be run.
Admittedly I might be overly sensitive to this as I worked on a project where a customer complained about the same thing. Given that the contract did not specify running via hummingbird there was no grounds for complaint.

Similar Messages

  • My mac has slow performance when running two or more applications, ran onyx and cleaned cache but my macbook is still running slow. Recommendations?

    I've had my MacBook White running on Mac OSx 10 for about 2 years. My sister has the same type of MacBook and she isn't having any slow performance. I really don't want to install RAM and that can't be the end all be all of solutions. Please help!!

    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility.  For situations DU cannot handle the best third-party utilities are: Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. TechTool Pro provides additional repair options including file repair and recovery, system diagnostics, and disk defragmentation.  TechTool Pro 4.5.1 or higher are Intel Mac compatible;  Drive Genius is similar to TechTool Pro in terms of the various repair services provided.  Versions 1.5.1 or later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts had been significantly reduced in Tiger and Leopard.  These utilities have limited or no functionality with Snow Leopard and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems.
    I would also recommend downloading the shareware utility TinkerTool System that you can use for periodic maintenance such as removing old logfiles and archives, clearing caches, etc.  Other utilities are also available such as Onyx, Leopard Cache Cleaner, CockTail, and Xupport, for example.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the commandline.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    Backuplist
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    iBackup
    JaBack
    Silver Keeper
    MimMac
    Retrospect
    Super Flexible File Synchronizer
    SuperDuper!
    Synchronize Pro! X
    SyncTwoFolders
    Synk Pro
    Synk Standard
    Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.

  • UI problem when run java swing application on MAC OSX

    Hello,
    I have problem when i run my java swing application on MAC OSX.
    Dialog box is not properly visible in MAC means ita size increses.
    its size incresed and and some content or buttons on that dialog are not fully visible.
    I can only see partial message or button.
    If any one have idea about this problem then give the solution.
    Thanks :)
    Shweta

    I am using following way to create dialog
    JOptionPane optionpane = new JOptionPane(new Object[]{lblMsgUp}, JOptionPane.OK_CANCEL_OPTION, JOptionPane.INFORMATION_MESSAGE, null, choices, "Save");
    JDialog dialog = optionpane.createDialog(parent, "Save");
    dialog.setSize(450, 125);
    dialog.setVisible(true);

  • Slow script when run as an application

    I have created a script for processing images with Photoshop. When I run the script from Script Editor it completes its task literally twice as fast as when I run it as an application. Does any one have an explanation as to why this would be the case?
    The script in summary asks the user for 2 folders, it then pairs up images from the folders, opens them both in Photoshop, copies the paths from one image to the other, crops the image and saves a copy in the appropriate place, then moves on to the next pair of images.
    I don't understand why it woud run twice as sluggishly as an application?
    Any suggestions much appreciated.

    Rien,
    I have also consistently seen the same problem, and asked a similar question a couple of years ago without a satisfactory response. If you write an AppleScript studio application your script will run at about the same speed as when running the script from script editor.
    To observe the problem you just need an application script that is communicating information back and forth betweent the script and the application it is driving, and then check out the performance difference between running it as an application or not. If you run Activity Monitor you can see that the cpu spends plenty of its time idle when running the script as an application.
    If you grab a copy of iMagine Photo from:
    http://www.yvs.eu.com/downloads/iMaginePhoto.dmg
    and get PhotoScript1 from about 1/2 down the following page:
    http://www.yvs.eu.com/documentation/readingandwritin.html
    Run the script from both within script editor and as the application droplet.
    It demonstrates the problem. But I have seen worse, this was just the first script on my website that I found that demonstrates the problem.
    Kevin

  • Slow performance when running Multiple programs at once

     When I try to run 2 or 3 programs at once like converting some video and watching something on I tunes My A205-S6808 throws a Fit any Ideas I have already upgraded the memory to 4gigs 

    Satellite A205-S6808
    Some tips..
       Get maximum performance from Windows Vista
       Optimize Windows Vista for better performance
       Ways to improve your computer's performance
    -Jerry

  • InDesign CC 2014 very slow performance when dragging images and changing text

    InDesign CC 2014 very slow performance when dragging images and changing text.
    Running on 2010 Macpro 2.4GHz. 8GB RAM. Any solutions? I've read through many forums on this and tried several fixes.

    Have exact same issue on  my Windows 7 machine. Resetting preferences is a workaround.
    So I start InDesign whilst holding down these keys.
    Ctrl + Alt + Shift (Windows) or Cmd + Ctrl + Opt + Shift (Mac)
    Whilst inDesign is usable again with this fix- I have to do it every time so it trashes all my preferences so NOT GOOD long term fix. Otherwise InDesign freezes and can only be stopped by forcing a quit.
    I have manually deleted the preference files and I have created a brand new admin account - but still no luck - will be onto support tomorrow

  • Problem when running a WebDynpro application

    Hi,
    Can any one help me in solving this.
    I got a problem when running a WebDynpro application Which used to run fine before, when i developed it.
    Now i got an error showing,
       <b>com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=B MSHOST=obtdev4 GROUP=SPACE R3NAME=O20 MSSERV=sapmsO20 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '127.0.0.1:3320' not reached TIME Tue Aug 07 10:06:07 2007 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -10 MODULE nixxi.cpp LINE 2764 DETAIL NiPConnect2 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 2</b>
    can any one tell me the solution for it.
    Thanks in advance,
    MrChowdary

    Arun,
    I had checked for the JCo Connection, tested it I got some error.
    But i am unable to understand where exately the problem is as is i already told that it used to work fine with same JCo.
    Thanks,
    Bharath.

  • Cloning context file on db tier fails when run non-interactively

    Hi all,
    I have a problem where cloning the DB tier context file using adclonectx.pl non-interactively using a pairsfile and noprompt fails in certain circumstances and continually returns this error
    Target System Port Pool [0-99] : RC-00201: Error: Not a valid port pool number
    If we clone from prod or uat (which are on different nodes) to non-prod it works fine, if we clone from a different non-prod environment (on the same node) it fails.
    We can run adclonectx.pl interactively with the same pairsfile and it works, so I copied all of the variables in the log into the pairsfile and ran it non-interactively and it failed with the same error.
    My understanding is that adclonectx.pl uses the source DB context file and the pairsfile to create the new context file. I've tried cloning the context file non-interactively from several different non-prod envs with the same error, so I don't think it's specific to 1 source env.
    It seems to want to prompt for the portpool when it's on the same node as the source environment.
    EBS 12.1.3, DB 11.2.0.3 RAC 2 node on Oracle Linux 5.
    I've raised 3-9540409031 : adclonectx.pl on db Tier errors with RC-00201 when run non-interactively using pairsfile - but haven't got an answer yet.
    This is the pairsfile with everthing in it - generated from an interactive session that worked.
    s_db_ons_remoteport = 6411
    s_cmanport = 1532
    s_clusterInterConnects = dxd1db01-ib
    s_dbhost = dxd1db01-ib
    s_dbSidLower = ebscnv1
    s_dbhome4 = +DATA_DXD1
    s_dbhome3 = +DATA_DXD1
    s_dbSid = EBSCNV1
    s_dbhome2 = +DATA_DXD1
    s_dbhome1 = +DATA_DXD1
    s_isAdmin = YES
    s_clonestage = /u01/EBSDEV/product/11.2.0/appsutil/clone
    s_jretop = /u01/EBSDEV/product/11.2.0/jdk/jre
    s_db_rollback_segs = NOROLLBACK
    s_db_util_filedir = /u01/EBSCNV/tmp
    s_isForms = YES
    s_undo_tablespace = APPS_UNDOTS1
    s_temp = /u01/EBSDEV/product/11.2.0/appsutil/temp
    s_database_type = RAC
    s_dbuser = orebscnv
    s_instName = EBSCNV1
    s_dbGlnam = EBSCNV
    s_domainname = mgmt.shared.health.nz
    s_dbgroup = oinstall
    s_hostname = dxd1db01-ib
    s_jdktop = /u01/EBSDEV/product/11.2.0/jdk/jre
    s_isConc = YES
    s_instThread = 1
    s_dbport = 1532
    s_isWeb = YES
    s_dbCluster = true
    s_contextname = EBSCNV1_dxd1db01-ib
    s_dbClusterInst = 2
    s_dbdomain = mgmt.shared.health.nz
    s_base = /u01/EBSCNV
    s_db_ons_localport = 6311
    s_contextfile = /u01/EBSCNV/tmp/EBSCNV1_dxd1db01-ib.xml
    s_db_oh = /u01/EBSDEV/product/11.2.0
    s_instNumber = 1
    s_virtual_hostname = dxd1db01-ib
    s_display = y
    this is the adclonectx.pl comand i use - I've checked all the env variables before running and they're all good
    perl ./adclonectx.pl \
    contextfile=$SRCCTX \
    template=$ORACLE_HOME/appsutil/template/adxdbctx.tmp \
    outfile=$NEWCTX \
    pairsfile=$PAIRSFILE \
    initialnode
    when run non-interactively i use this command  - and as mentioned above this works under certain circumstances
    dummypw=dummypw
    echo \$dummypw | perl ./adclonectx.pl \
    contextfile=$SRCCTX \
    template=$ORACLE_HOME/appsutil/template/adxdbctx.tmp \
    outfile=$NEWCTX \
    pairsfile=$PAIRSFILE \
    initialnode noprompt
    Any ideas, it's got 3 DBAs stumped...

    That makes sense to me ... the pool parameter should be in the pairsfile, .. or in the parameters when calling it at command line
    You can force the pool to be changed, even when you're on the same server. Actually, I would use different pools for any environment, different server or not. And, avoid the default pool as well. If you do it this way, one of the advantages is that you spot issues - like the one you have - much much earlier. In that case, you would need that extra parameter on every run.

  • Core dump when running the Proc Application

    I have client that has decided to upgrade from Oracle 10g to Oracle11g version. Presently the client code is compiled with Oracle version 11.1.0.7. We have tuxedo version as 9.0 patch02. When running the ProC application, I am getting the core dump. The stack trace for dump is as follows :-
    core 'core' of 7784: bp_Customer -C dom=KenanFX -g 5 -i 225 -u dsesun10 -U /users/denver/pc
    ffffffff6e8d9bbc kill (2, ffffffff7ffe002c, 1, ffffffff7de3b9a0, ffffffff7ffe0028, ffffffff7e10b5a0) + 8
    ffffffff7d27b1f4 skgesigCrash (ffffffff7ffe09a8, ffffffff7e10a070, 1a0c00, ffffffff7dfdbc40, d60a7c, 1) + 34
    ffffffff7d27b81c skgesig_sigactionHandler (ffffffff7d6fb9a0, ffffffff7ffe1800, ffffffff7ffe0990, ffffffff7e10b578, ffffffff7ffe0998, ffffffff7ffe09a8) + dc
    ffffffff6e8d62e0 __sighndlr (b, ffffffff7ffe1800, ffffffff7ffe1520, ffffffff7d27b740, 0, a) + c
    ffffffff6e8c9e44 call_user_handler (ffffffff75f00200, ffffffff75f00200, ffffffff7ffe1520, 8, 0, 0) + 3e0
    ffffffff6e8ca03c sigacthandler (0, ffffffff7ffe1800, ffffffff7ffe1520, ffffffff75f00200, 0, ffffffff6ea3c000) + 54
    --- called from signal handler with signal 0 (SIGEXIT) ---
    ffffffff7c24bb24 sqlrlc (ffffffff7e0f9fc0, 0, 60, c0, 4, 8) + 4
    ffffffff7c253594 sqlbrl (ffffffff7e0f9fc0, 1004bc630, 1004bc658, 1004bc5d0, ffffffff7ffe1b30, 2) + 114
    ffffffff7c2745ec sqlhvdsc (1004bc5c0, ffffffff7e0f9fc0, 8, ffffffff7fff27a0, 0, 1d676b0) + ac
    ffffffff7c274e68 sqlshv (c, 0, e, 0, f, 1c) + 128
    ffffffff7c25bd8c sqlsel (ffffffff7fff27a0, 1002d0850, 1002d0d80, 1, ffffffff7e0f9fc0, ffffffff7dd09d70) + 38c
    ffffffff7c24ed18 sqlcmex (1, ffffffff7ffe1e80, 0, c, 1002d0850, 0) + 278
    ffffffff7c24f724 sqlcxt (0, ffffffff74fd3800, ffffffff7fff27a0, ffffffff74e5d3e4, 16400, 0) + 44
    ffffffff74c65aec selectCMF_XIDDB (788, 16450, 2, ffffffff74fbb978, ffffffff7fff4344, ffffffff7971de60) + f14
    ffffffff79f5743c bp_AccountFind (0, 0, 1002b6118, 1002b6118, 1002b6118, 1002b6118) + 137c
    000000010001748c commonServiceWrapper (30, 0, 558, 1, 100140428, ffffffff6fa08560) + cac
    000000010001d1a4 I_AccountFind (100188220, 12336c, 2e60, 100186b80, ffffffff7fffa440, ffffffff6fa08560) + ec
    ffffffff7f25ea34 _tmsvcdsp (100186b80, 0, 1001f7b60, 800, 100186b80, 1400) + 11ac
    ffffffff7f28241c _tmrunserver (2bb4, 0, 100186b80, 10017c480, 10017d5a0, 0) + 11ac
    ffffffff7f25d47c _tmstartserver (1, 2c00, 100144c90, 800, 10017ebe0, 1001444e0) + 1ac
    0000000100014e4c main (1b, ffffffff7fffab18, ffffffff7fffabf8, ffffffff6e84b8e0, ffffffff75b05200, ffffffff75f00200) + 14
    0000000100014d9c _start (0, 0, 0, 0, 0, 0) + 17c
    Can you please help what is causing problem in the applications. Thanks in advanced.

    This forum is about C programming in general, and about using Oracle Studio C in particular.
    Your question seems to be about a database application that now crashes when run on an updated version of Oracle database.
    You mention "Proc" and ProC". If you are referring to the Pro*C compiler, that would also be a database question, since the Pro*C compiler is not related to Oracle Studio or Oracle Studio C.
    You are more likely to find a helpful answer in a database programming forum. Start here:
    https://forums.oracle.com/forums/category.jspa?categoryID=18

  • ZBook 17 g2 - poor DPC Latency performance when running from z Turbo Drive PCIe SSD

    I'm setting up a new zBook 17 g2 and am getting very poor DPC latency performance (> 6000 us) when running from the PCIe SSD. I've re-installed the OS (Win 7 64 bit) on both the PCIe SSD and a SATA HDD and the DPC latency performance is fine when running from the HDD (50 - 100 us) but horrible when running from the PCIe SSD (> 6000 us).  I've updated the BIOS and tried every combination of driver and component enabling/disabling I can think of.  The DPC latency is extremely high from the initial Windows install with no drivers installed.  Adding drivers seems to have no effect on the DPC latency. Before purchasing the laptop I found this review: http://www.notebookcheck.net/Review-HP-ZBook-17-E9X11AA-ABA-Workstation.106222.0.html where the DPC latency measurement (middle of the page) looks OK.  Of course, this is the prior version of the laptop and I believe it does not have the PCIe SSD.  Combining that with the fact that I get fine performance when running from the HDD I am led to believe that the PCIe SSD is the cause of the problem. Has anyone found a solution to this problem?  As it stands right now my zBook is not usable for digital audio work when running from the PCIe SSD.  But it cost me a lot of money so I'd sure like to use it...! Thanks, rgames

    Hi mooktank, No solution yet but, as of about six weeks ago, HP at least acknowledged that it's a problem (finally).  I reproduced it perfectly on another zBook 17 g2 and another PCIe SSD in the same laptop and HP was able to reproduce the problem as well.  So the problem is clearly in the BIOS or with some driver related to the PCIe SSD.  It could also be with the firmware in the drive, itself, but I can't find any other PCIe drives in the 60 mm form factor.  So there's no way to see if a differnt type of drive would fix the problem. My suspicion is that it's related to the PCIe sleep states - those are known to cause exactly these types of problems because the drive takes quick "naps" to save power and there's a delay when it is told to wake back up.  That delay causes a delay in the audio buffer that results in pops/crackles/stutters that would never be noticed doing other tasks like video editing or CAD work .  So it's a problem specific to folks who need low-latency audio performance (very few apps require low latency audio - video editing, for example, uses huge buffers with relatively high latency).  A lot of desktops offer a BIOS option to disable those sleep states but no such option exists in HP's BIOS for that laptop.  In theory you can do it from within Windows but it doesn't have an effect on my system.  That might be one of those options that Windows allows you to change but that actually has no effect. One workaround is to disable CPU throttling.  That makes the CPU run at full speed all the time and, I believe, also disables the PCIe and other sleep states.  When I disable CPU throttling, DPC latency goes back to normal.  However, the CPU is then running full-speed all the time so your battery life basically goes to nothing and the laptop gets *very* hot. Clearly that is not necessary because the laptop runs fine from the SATA SSD.  HP needs to fix the latency problem associated with the PCIe drive. The next logical step is to provide a BIOS update that provides a way to disable the PCIe sleep states without disabling CPU throttling, like on many desktop systems.  The bad news is that HP tech support is not very technical, so it takes forever for them to figure out what I'm talking about.  It took a couple months for them to start using the DPC Latency checker. Hopefully there will be a fix at some point... in the meantime, I hope that HP sends me a check for spending so much time educating their techs on how computers work.  And for countless hours lost re-installing different OSes only to show that the performance is exactly the same as shown in the DPC Latency checker. rgames

  • Error occurs when running autoconfig on application tier

    When running autoconfig on application tier, error occurs:
    Starting AutoConfig at Sun Jul 3 08:06:11 2011
    Using adconfig.pl version 115.78
         Classpath : /u01/prodapps/prodcomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u01/prodapps/prodcomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u01/prodapps/prodcomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u01/prodapps/prodcomn/java/appsborg2.zip:/u01/prodapps/prodcomn/java
    ===========================================================================
    Starting Utility to Report Version Conflicts at Sun Jul 03 08:06:14 PDT 2011
    Using VersionConflictListGenerator.java version 115.2
    All driver files processed.
    No version conflict encountered.
    ===========================================================================
    ERROR: Context Value Management Failed.
    Terminate.
    I referred to Note 461258.1: Autoconfig Error On Apps Tier: Context Value Management Failed (Doc ID 461258.1), and there's no such directory: $JAVA_TOP/oracle/sql/
    Please HELP!
    Thanks,
    Jackie

    Please see these docs.
    Adconfig.sh Fails With Error AC-30202 Unrecognized Action Apecified On Oracle EBS 11.5.10.2 [ID 1240795.1]
    How To Synchronize The Context file Stored In Database (FND_OAM_CONTEXT_FILES table) With The Context File In the File System?. Run Autoconfig Failed With "ERROR: Context Value Management Failed" [ID 463895.1]
    Autoconfig execution fails on Class StoreDataOfFile.getChkListConditions() [ID 1269146.1]
    Thanks,
    Hussein

  • Slow Performance When Application is Slow

    We have an application that unfortunately appears to eat up system free memory over time. When the load increase and memory decrease we also see that all queries against Oracle slow down dramatically doing a lot of physical reads. (Oracle runs on a separate server from the application.) When we restart the application memory is freed up on the application server and Oracle queries run very fast. However, over time they both slow down again. Again, we only restart the application not Oracle.
    Does anybody have any idea why a slow application would result in slow query times? We measured the slowness and it is indeed all in the query execution. Any help would be appreciated.
    Thanks,
    Steve

    when you execute it from toad, do you get all the rows back, or just a screen full and call it quits? if you don't actually page through all the rows, then they aren't really returned, and oracle wouldn't need to do as many reads.
    <br><br>
    you can also check v$sql to find out if both toad and your application are really using the same sql. perhaps there's an "alter session set current_schema" going on somewhere that is changing things (granted, it's probably not that, but my point is that it could be something).
    <br><br>
    maybe toad and the application have different optimizer modes (all_rows vs first_rows) which result in a different plan, and therefore different amounts of physical read.
    <br><br>
    you can try these scripts from my blog to check "What is actually running right now?". Start with the CURRENT_SQL script to get the address and child number of the running sql. even if two connections run the exact same sql statement, there could be differences (mentioned above) which would result in different children.

  • Crystal report run from ASP code significantly slower than when run in CRS

    We have CRS XI R2.  I developed a report that contains several on-demand sub-reports.  The report and sub-reports are very fast when run directly from CRS.  However, when I run from ASP (users run a link from the intranet), it takes 4 times longer (1 second on CRS, vs. 5-10 seconds on intranet).  The report takes longer, bringing up a sub-report takes longer and paging through sub-reports take longer.  What can be done to improve the speed of the report that is using the ASP code?  I used a sample program provided at this support site to develop the report and it is pretty basic code.  The only time I have a problem is when I have many sub-reports.  Since they are on-demand, I do not know why this would matter.

    This has been created as an incident with SAP support.  Things that you will want to check is making sure that you handle the postback to the code as you do not need to run your entire code on every postback.  This will help performance after the original load. 
    One other thing is to compare performance with the viewer within Infoview that uses the same backend server as your application, ie PSReportFactory uses the page server, so you'll want to test with the DHTML viewer.  RAS code (reportclientdocument) uses the Report Application Server so you will want to test with the Advanced DHTML viewer.

  • What are the requirements to run a Swing application?

    I'm trying to send a simple swing application to a friend that has Mac OSX, but the buttons don't show up.
    Do people actually need the Java SDK in order for swing apps to work? Or is plain java enough? (He has normal java, because we play minecraft sometimes)
    Anyway, my buttons are not showing up on his computer, not even when I use the cross platform look at feel

    Here is the code I'm using, it's an application that makes the user select a folder and stuff will happen to it.
    import java.awt.Font;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.swing.JButton;
    import javax.swing.JFileChooser;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.UIManager;
    import javax.swing.UnsupportedLookAndFeelException;
    public class SomeGUI extends JFrame implements ActionListener, Runnable
        public JButton exit;
        public JButton run;
        JPanel panel;
        JFileChooser chooser;
        String returnpath;
        JLabel progress;
      public SomeGUI()
         try
         UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
         catch (ClassNotFoundException ex)
             Logger.getLogger(SomeGUI.class.getName()).log(Level.SEVERE, null, ex);
         catch (InstantiationException ex)
             Logger.getLogger(SomeGUI.class.getName()).log(Level.SEVERE, null, ex);
         catch (IllegalAccessException ex)
             Logger.getLogger(SomeGUI.class.getName()).log(Level.SEVERE, null, ex);
         catch (UnsupportedLookAndFeelException ex)
             Logger.getLogger(SomeGUI.class.getName()).log(Level.SEVERE, null, ex);
          setTitle("BenkyoAdd");
          setSize(206,100);
          setResizable(false);
          setDefaultCloseOperation(EXIT_ON_CLOSE);
          setLocationRelativeTo(null);
          setVisible(true);
          panel = new JPanel();
          getContentPane().add(panel);
          panel.setLayout(null);
          run = new JButton("Run");
          run.setFocusable(false);
          run.setBounds(0,0,100,30);
          panel.add(run);
          run.addActionListener(this);
          progress = new JLabel("Please click run");
          progress.setFont(new Font("lol",Font.PLAIN,14));
          progress.setBounds(10, 30, 200, 50);
          panel.add(progress);
          exit = new JButton("Exit");
          exit.setFocusable(true);
          exit.setBounds(100, 0, 100, 30);
          panel.add(exit);
          exit.addActionListener(this);
          chooser = new JFileChooser();
          chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
        public void actionPerformed(ActionEvent e)
         if(e.getSource().equals(exit))
             System.exit(0);
         if(e.getSource().equals(run))
             progress.setText("Select a folder...");
             chooser.showOpenDialog(panel);
             this.returnpath = chooser.getSelectedFile().getAbsolutePath();
             exit.setEnabled(false);
             run.setEnabled(false);
             progress.setText("Copying to output folder...");
             new Thread(this).start();
      public static void main(String args[])
          new SomeGUI();
        public void run()
         new Changer(this, this.returnpath);
         exit.setEnabled(true);
         exit.requestFocusInWindow();
         progress.setText("Done! You can now exit!");
    }

  • Ridiculously Slow Performance when Movie Scoring - brand new macbook

    Hello there guys ! Sorry for my bad english, i will try to do my best.
    The title almost says it all. I have a brand new Intel Core Duo Macbook (White, 2ghz, 512 ram, I haven't added any extra ram or anything).
    The machine is blazing fast, I am really loving the experience. But when it comes to using a feature I would love to use everyday, it disappointed me. The movie score feature in Garage Band 3. So, I create a very simple movie in iMovie HD 6, capturing video from my fireware camera.
    It is a very simple video, no soundtracks, just the original sound that came with the camcorder footage. No stills, reverse, slow-motion, effects or anything. Plain video with sound, just the way it came from the camcorder.
    The problem is when creating a movie scoring project with that footage in garageband 3 , the performance is RIDICULOUSLY SLOW. I mean, I press space and the movie strats playing after 1,5 seconds, and the video is halting every other second. It is so laggy that when i press space again to stop the video, the motion continues for another 1,5 seconds until it pauses.
    There's absolutely no way to do any work in conditions like that. And the strange thing is that when using garage band to do other stuff, or when working in iMovie with that same movie there's no lag at all. I have even edited 30 minute long videos with effects and soundtracks in iMovie and it was blazing fast, no lag, no halting.
    But in Garagaband even the simplest of all videos gets this ultra-slow performance, and it makes me wonder why.
    - I have tried desabling recording on the audio track in garageband. I have tried to lock the track. I have done all the steps in the optimizing garage band performance in the help. I don't have firevault activated.
    Any help ? Does anyone have a macbook just like mine that is able of doing moving scoring ? Because EVERYTHING ELSE is ultra fast, including video and audio editing, but when movie scoring it *****.
    Apple Macbook 13inch 2.0ghz Core Duo 512 60GB White SuperDrive   Mac OS X (10.4.7)  

    Ha! It's funny really - you say it all yourself; no extra ram, it doesn't come with enough to run Pro Apps and when you start to use the Scoring feature you are accessing two different functions - playing movies and music tracks - movies are always a stress unless they are very small and the Right Codec - so first up - what format is your movie? Do you have Quicktime Pro? if the answer is No - get it, it's not expensive and it gives your machine many extra abilities - you can then convert your footage to something easy to play.
    How many tracks are you working with?
    Get more RAM - MacIntel or MacPro needs 4-6 gigs to multi-task happily - with only the base load of RAM it can't.
    I have a DP 2 Ghz G5, no where near as fast as yours but I have 4.5 GBs of RAM and a fast graphics card with 512Mbs VRAM - this means Motion and FCP can fly.
    We are about to get a MacPro 2.66 Dual with 6 GBs RAM, essential.
    Hope this helps.

Maybe you are looking for

  • How to extract HRM master data from R/3 into LDIF file?

    Recently I have been asked to provide an extract from our R/3 system with some Human Resource master data. The extract has to be in the LDIF format (LDAP data interchange format). It is needed to import into a DirX metahub solution from Siemens. How

  • Switching iPhone from PC to Mac, from one computer to another??

    I just got my iPhone. Haven't activated it yet, b/c I also ordered a Macbook Pro. Should I wait until the Macbook comes to activate my iPhone? Or can I just activate it using my PC, and then switch it over to the Macbook? I know that you cant do that

  • Usb Kensington mouse not recognized in Yosemite 10.10

    I have a simple Kensington USB mouse that I sometimes use on my MacBook Pro. But when I plugged it in the first time to my mac with 10.10 installed, I got a keyboard set-up prompt, asking me to hold down some buttons to calibrate it. So I rebooted th

  • BUG: This action could not be completed. Try again later.

    In trying to update the app, "Foursquare (Now)" via Preware, I am encountering the error, "This action could not be completed. Try again later."  I previously had installed this app, which ran normally.  I was updating the app with the newest version

  • Ical won't sync unless I upgrade to ML?

    OK, Mac Pro 2007,  Snow Leopard. I can no longer sync ical and other things from mac to iphone. I relied on this every single day. I'm told I may not be able to upgrade to Mountain Lion with my machine. Graphics card was upgraded (ATI Radeon HD 5770)