Performance with repaint problem
Hi,
I have a performance and repaint problem.
My problem is than I have a layer pane with about 500 JScrollPane, each JScrollPane has a JLabel, and each JLabel has an Icon. I can have to maintain this hierarchy.
I have a thread that makes the icon change from a color state to a grey state; in fact it makes them all blink.
My problem is that is takes 50% of the CPU when the blink thread is running. As well, they do not all blink at the same time. The thread changes the icon color and calls a repaint. They seem to repaint independently.
What I would like is to collapse the paint calls into one without having to call repaint on the whole JFrame which does solve my problem but it is a hack.
Swing should collapse all the repaints into one call to the parent but I think because of the JScrollPanes it is not. Can anyone shed any light into why it does not paint all in one call instead of 500 repaint calls.
Thanks,
Pat
Well, I'd change the design first, but if you must play around with paint() then you can try using this setIgnoreRepaint(true) in the Component class.
You could do the grouping yourself and then when you really want things repainted, flag all your components again with setIgnoreRepaint(false), and then call revlaidate() to the parent, and it should repaint everything at once. That is what's I'd try, anyway.
Similar Messages
-
Problem with repaint of display after a click event
Hi,
I have a problem with repaint of display. In particular in method keyPressed() i inserted a statement that, after i clicked bottom 2 of phone, must draw a string. But this string doesn't drawing.
Instead if i reduce to icon the window, which emulate my application, and then i enlarge it, i see display repainted with the string.
I don't know why.
Any suggestions?
Please help me.modified your code little
don't draw in keyPressed
import java.io.IOException;
import javax.microedition.lcdui.Canvas;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.Graphics;
import javax.microedition.lcdui.Image;
public class PlayerCanvas extends Canvas implements CommandListener{
Display display;
Displayable dsp11;
private Image play, pause, stop, next, previous = null;
private int gamcode;
private Command quitCmd = new Command("Back", Command.ITEM, 1);
public PlayerCanvas(Display display,Displayable dsp11){
this.display =display;
this.dsp11 =dsp11;
addCommand(quitCmd);
createController();
setCommandListener(this);
display.setCurrent(this);
protected void paint(Graphics g)
g.setColor(255,200,150);
g.fillRect(0, 0, getWidth(), getHeight());
if (play != null){
g.drawImage(play, getWidth()/5, getHeight()-50, Graphics.BOTTOM | Graphics.HCENTER);
if (stop != null){
g.drawImage(stop, getWidth()/5, getHeight()-10, Graphics.BOTTOM | Graphics.HCENTER);
if (next != null){
g.drawImage(next, (getWidth()/5)+10, getHeight()-30, Graphics.BOTTOM | Graphics.LEFT);
if (previous != null){
g.drawImage(previous, (getWidth()/5)-30, getHeight()-30, Graphics.BOTTOM | Graphics.LEFT);
/////this will draw on key UP
g.setColor(0,0,0);
System.out.print(gamcode);
if(gamcode==Canvas.UP){
g.drawString("PROVA",10, 0, 0);
}else if(gamcode==Canvas.DOWN){
g.drawString("DIFFERENT",10, 30, 0);
private void createController()
try {
play = Image.createImage("/icon3.png");//replace your original images plz
pause = Image.createImage("/icon3.png");
stop = Image.createImage("/icon3.png");
next = Image.createImage("/icon3.png");
previous = Image.createImage("/icon3.png");
} catch (IOException e) {
play = null;
pause = null;
stop = null;
next = null;
previous = null;
if (play == null){
System.out.println("cannot load play.png");
if (pause == null){
System.out.println("cannot load pause.png");
if (stop == null){
System.out.println("cannot load stop.png");
if (next == null){
System.out.println("cannot load next.png");
if (previous == null){
System.out.println("cannot load previous.png");
protected void keyPressed(int keyCode)
repaint();
if ( (keyCode == 2) || (UP == getGameAction(keyCode)) ){
gamcode = UP;
repaint();
else if ( (keyCode == 8) || (DOWN == getGameAction(keyCode)) ){
gamcode =DOWN;
repaint();
else if ( (keyCode == 4) || (LEFT == getGameAction(keyCode)) ){
else if ( (keyCode == 6) || (RIGHT == getGameAction(keyCode)) ){
public void commandAction(Command arg0, Displayable arg1) {
// TODO Auto-generated method stub
if(arg0==quitCmd){
display.setCurrent(dsp11);
} -
reinstalled my windows operating system and decided to put on windows 8. After loading all of my music back into a freshly installed itunes, my 4th gen ipod is not recognized by itunes. My 1st gen ipod nano works with no problem. I can eliminate any problems with the cable and connection.
I've stopped and started the service, and also have performed cold reboots.
Nothing seems to have helped the situation.
Help!See:
iOS: Device not recognized in iTunes for Windows
I would start with
Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
iTunes for Windows: Device Sync Tests
Have you tried on another computer to help determine if you have a computer or iPod problem?
The iPod Classic uses different drivers than the Nano -
Performance with external display
Hello,
when I'm connecting my 19'' TFT to the MacBook the performance (with the same applications runnig) is realy bad. It tooks longer to switch between apps and if I don't use an app for some time, it can took up to 30 sec to "reactivate" the app.
Because the HD is working when I switch apps, it looks like the OS is swapping. My question: Would it help to upgrade the MacBook to 2GB ram? AFAIC the intel card uses shared memory.
Thanks for your help
Till
MacBook 1.83 GHz/1GB Mac OS X (10.4.8)How much RAM do you have? Remember that the MB does not have dedicated VRAM like some computers do and that it uses the system RAM to drive the graphics chipset.
I use my MB with the mini-DVI to DVI adapter to drive a 20" widescreen monitor without any of the problems that you describe, but I have 2GB of RAM. If you only have the stock 512MB of RAM, that may be part of what you are seeing. -
Performance with LinkedList in java
Hello All,
Please suggest me any solution to further improve the performance with List.
The problem description is as follows:
I have a huge number of objects, lets say 10,000 , and need to store the objects in such a collection so that if i want to store an object at some particular index i , I get the best performance.
I suppose as I need indexed based access, using List makes the best sense as Lists are ordered.
Using LinkedList over ArrayList gives the better performance in the aforementioned context.
Is there are way I can further improve the performance of LinkedList while solving this particular problem
OR
Is there any other index based collection using that i get better performance than LinkedList?
Thanks in advanceThe trouble with a LinkedList as implemented in the Java libraries is that if you want to insert at index 100, it has no option but to step through the first 100 links of the list to find the insert point. Likewise is you retrieve by index. The strength of the linked list approach is lost if you work by index and the List interface gives no other way to insert in the middle of the list. The natural interface for a linked list would include an extended Iterator with methods for insert and replace. Of course LinkedLists are fine when you insert first or last.
My guess would be that if your habitual insertion point was half way or more through the list then ArrayList would serve you better especially if you leave ample room for growth. Moving array elements up is probably not much more expensive, per element, than walking the linked list. Maybe 150% or thereabouts.
Much depends on how you retrieve, and how volatile the list is. Certainly if you are a read-mostly situation and cannot use an iterator then a LinkedList won't suit. -
Poor Performance with Webi on top of BW - Large Navigational Attributes
We have recently developed a reporting model based on having a BW cube of approx 20 million records. This has 2 very large line item dimensions (one 14 million records, on 6 million records) that both have navigational attributes stored against them.
We need the design to be like this because the attributes change monthly and we do not wish to do a complete drop and reload of cube data each month (this takes 10-12 hours).
When we build a Universe on top of the cube and try Webi reporting the performance is dreadful - many reports time out completely. This happens whether or not the large line item dimensions are selected in the query. The BW query is very simple just 2 key figures and approx 30 Navigational Attributes as default values. No filters are applied.
For example a query that just contains Calander Year and one key figure either times out after 10 minutes or fails.
Our source of the data is Oracle tables and the same query runs in 2 1/2 minutes and the query runs in RSRT in approx 5 minutes with no problems so it is definately a problem with BOBJ to MDX to BW.
We are on BW7.01 SP5 and XI3.1 SP2. SAP have recommend going to SP3 and using query stripping to help with this but I doubt if this will work.
We have tried building aggregates, splitting into yearly cubes etc but nothing seems to help.
My question is do the large navigational attributes mean Webi simply can't cope with this?
ThanksThanks for the suggestions.
Although this did not directly help I've now found a solution.
We had a calculated key figure in the query that doing a count of records on a huge navigational attribute. This was causing all queries to run very slowly (even if the key figure wasn't selected in Webi).
Removing it solved the problem. Will have to find another way to do the count key figure.
Thanks -
Very Slow SMB Performance with DroboShare
Hi there,
We have a big issue with a DroboShare NAS device connected to a Drobo Drive (FAT32):
If we connect to our DroboShare NAS directly via LAN, the performance with SMB is terrible. Browsing folders takes minutes until the contents (15 items) are shown, opening and saving files takes minutes.
If we connect the Drobo via USB to one of our Macs and then share it via SMB, it is fast as ****.
Problem is that we cannot leave it this way, as we only have portable macs, so if they are removed, nobody can access the Drobo.
The problem nevertheless seems to be restricted to Macs: If we connect to the DroboShare with Linux or Windows Boxes, everything is as fast as expected.
Does anyone has similar issues with weak performance and/or knows how this can improved?
Any help is greatly appreciated.
Thanks,
SimonI just ported netatalk (AFP) over to the DroboShare.
http://code.google.com/p/drobocapsule/ -
Adobe Bridge shuts down when I try to access files on my external drive. Have been using the drive for several months with no problems.
Due to the current unavailability of clairvoyants and mind-readers in the forum, we respectfully request you supply sensible, complete details.
A lot more information about your hardware and software is needed.
BOILERPLATE TEXT:
If you give complete and detailed information about your setup and the issue at hand,
such as your platform (Mac or Win),
exact versions of your OS, of Photoshop (not just "CC", but something like CC2014.v.2.2) and of Bridge,
your settings in Photoshop > Preference > Performance
the type of file you were working on,
machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
what troubleshooting steps you have taken so far,
what error message(s) you receive,
if having issues opening raw files also the exact camera make and model that generated them,
if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
a screen shot of your settings or of the image could be very helpful too,
etc.,
someone may be able to help you (not necessarily this poster, who is not a Windows user).
Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
http://forums.adobe.com/thread/419981?tstart=0
Thanks! -
Extremely slow performance with Radeon HD 7870
Hi,
I am using a number of Adobe programs on my new Windows 8 64 bit system, with 16 gigs of ram, an Intel Core i5 2.67ghz, and AMD Radeon HD 7870 2 gig. All the programs (including After Effects and Illustrator) work very well with the exception of Photoshop CS6 64 bit, which has extremely slow performance with Use Graphics Processor enabled in my preferences (which Photoshop selects by default). If I turn off Use Graphics Processor, the slow performance vanishes. If I change Drawing Mode to Basic, there might be a slightly detectable improvement over Normal and Advanced, but it's still horribly slow. The refresh rate seems to be just a few frames per second. Everything is slow: brushes, zooming, panning, everything.
I've tried changing the settings I've seen suggested elsewhere: I switched Cache levels to 2, history states to 10, and tile size to 128k. No effect. Photoshop is currently at the default of using 60% of available ram. Efficiency has remained at 100% throughout all my tests. Also, this slow performance has affected me from the moment I installed Photoshop; it didn't crop up after previous good performance. The problem exists regardless of the size or number of documents I have open. Performance is still terrible even when I create a 500 x 500 pixel blank new canvas and try a simple task like drawing with the brush.
Photoshop is fully up to date, and so are my graphics drivers (Catalyst version 13.1). Any help would be greatly appreciated; at the moment performance is so bad in Photoshop that it's unusable with graphics acceleration enabled. Thanks in advance for replying.
Photoshop System Info:
Adobe Photoshop Version: 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00) x64
Operating System: Windows 8 64-bit
Version: 6.2
System architecture: Intel CPU Family:6, Model:14, Stepping:5 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
Physical processor count: 4
Processor speed: 2665 MHz
Built-in memory: 16379 MB
Free memory: 13443 MB
Memory available to Photoshop: 14697 MB
Memory used by Photoshop: 60 %
Image tile size: 128K
Image cache levels: 2
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
OpenCL Version: 1.2 AMD-APP (1084.4)
OpenGL Version: 3.0
Video Rect Texture Size: 16384
OpenGL Memory: 2048 MB
Video Card Vendor: ATI Technologies Inc.
Video Card Renderer: AMD Radeon HD 7800 Series
Display: 1
Display Bounds: top=0, left=0, bottom=1080, right=1920
Video Card Number: 2
Video Card: AMD Radeon HD 7800 Series
Driver Version:
Driver Date:
Video Card Driver: aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.d ll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Video Mode: 1920 x 1080 x 4294967296 colors
Video Card Caption: AMD Radeon HD 7800 Series
Video Card Memory: 2048 MB
Video Card Number: 1
Video Card: Microsoft Basic Render Driver
Driver Version: 9.12.0.0
Driver Date: 20121219000000.000000-000
Video Card Driver:
Video Mode:
Video Card Caption: Microsoft Basic Render Driver
Video Card Memory: 0 MB
Serial number: 90970078453021833509
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
Temporary file path: C:\Users\RAFFAE~1\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
C:\, 931.5G, 534.8G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
ACE.dll ACE 2012/06/05-15:16:32 66.507768 66.507768
adbeape.dll Adobe APE 2012/01/25-10:04:55 66.1025012 66.1025012
AdobeLinguistic.dll Adobe Linguisitc Library 6.0.0
AdobeOwl.dll Adobe Owl 2012/09/10-12:31:21 5.0.4 79.517869
AdobePDFL.dll PDFL 2011/12/12-16:12:37 66.419471 66.419471
AdobePIP.dll Adobe Product Improvement Program 7.0.0.1686
AdobeXMP.dll Adobe XMP Core 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPFiles.dll Adobe XMP Files 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPScript.dll Adobe XMP Script 2012/02/06-14:56:27 66.145661 66.145661
adobe_caps.dll Adobe CAPS 6,0,29,0
AGM.dll AGM 2012/06/05-15:16:32 66.507768 66.507768
ahclient.dll AdobeHelp Dynamic Link Library 1,7,0,56
aif_core.dll AIF 3.0 62.490293
aif_ocl.dll AIF 3.0 62.490293
aif_ogl.dll AIF 3.0 62.490293
amtlib.dll AMTLib (64 Bit) 6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00) 1.000000
ARE.dll ARE 2012/06/05-15:16:32 66.507768 66.507768
AXE8SharedExpat.dll AXE8SharedExpat 2011/12/16-15:10:49 66.26830 66.26830
AXEDOMCore.dll AXEDOMCore 2011/12/16-15:10:49 66.26830 66.26830
Bib.dll BIB 2012/06/05-15:16:32 66.507768 66.507768
BIBUtils.dll BIBUtils 2012/06/05-15:16:32 66.507768 66.507768
boost_date_time.dll DVA Product 6.0.0
boost_signals.dll DVA Product 6.0.0
boost_system.dll DVA Product 6.0.0
boost_threads.dll DVA Product 6.0.0
cg.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
CIT.dll Adobe CIT 2.1.0.20577 2.1.0.20577
CoolType.dll CoolType 2012/06/05-15:16:32 66.507768 66.507768
data_flow.dll AIF 3.0 62.490293
dvaaudiodevice.dll DVA Product 6.0.0
dvacore.dll DVA Product 6.0.0
dvamarshal.dll DVA Product 6.0.0
dvamediatypes.dll DVA Product 6.0.0
dvaplayer.dll DVA Product 6.0.0
dvatransport.dll DVA Product 6.0.0
dvaunittesting.dll DVA Product 6.0.0
dynamiclink.dll DVA Product 6.0.0
ExtendScript.dll ExtendScript 2011/12/14-15:08:46 66.490082 66.490082
FileInfo.dll Adobe XMP FileInfo 2012/01/17-15:11:19 66.145433 66.145433
filter_graph.dll AIF 3.0 62.490293
hydra_filters.dll AIF 3.0 62.490293
icucnv40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
icudt40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
image_compiler.dll AIF 3.0 62.490293
image_flow.dll AIF 3.0 62.490293
image_runtime.dll AIF 3.0 62.490293
JP2KLib.dll JP2KLib 2011/12/12-16:12:37 66.236923 66.236923
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 12.0
LogSession.dll LogSession 2.1.2.1681
mediacoreif.dll DVA Product 6.0.0
MPS.dll MPS 2012/02/03-10:33:13 66.495174 66.495174
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.6910
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcp100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.6910
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcr100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.6910
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS6 CS6
Plugin.dll Adobe Photoshop CS6 CS6
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (64 bit) 3.0.0.383
PSArt.dll Adobe Photoshop CS6 CS6
PSViews.dll Adobe Photoshop CS6 CS6
SCCore.dll ScCore 2011/12/14-15:08:46 66.490082 66.490082
ScriptUIFlex.dll ScriptUIFlex 2011/12/14-15:08:46 66.490082 66.490082
svml_dispmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 12.0
tbb.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
updaternotifications.dll Adobe Updater Notifications Library 6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 6.0.0.24
WRServices.dll WRServices Friday January 27 2012 13:22:12 Build 0.17112 0.17112
Required plug-ins:
3D Studio 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Accented Edges 13.0
Adaptive Wide Angle 13.0
Angled Strokes 13.0
Average 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Bas Relief 13.0
BMP 13.0
Camera Raw 7.3
Chalk & Charcoal 13.0
Charcoal 13.0
Chrome 13.0
Cineon 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Clouds 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Collada 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Color Halftone 13.0
Colored Pencil 13.0
CompuServe GIF 13.0
Conté Crayon 13.0
Craquelure 13.0
Crop and Straighten Photos 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Crop and Straighten Photos Filter 13.0
Crosshatch 13.0
Crystallize 13.0
Cutout 13.0
Dark Strokes 13.0
De-Interlace 13.0
Dicom 13.0
Difference Clouds 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Diffuse Glow 13.0
Displace 13.0
Dry Brush 13.0
Eazel Acquire 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Embed Watermark 4.0
Entropy 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Extrude 13.0
FastCore Routines 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Fibers 13.0
Film Grain 13.0
Filter Gallery 13.0
Flash 3D 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Fresco 13.0
Glass 13.0
Glowing Edges 13.0
Google Earth 4 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Grain 13.0
Graphic Pen 13.0
Halftone Pattern 13.0
HDRMergeUI 13.0
IFF Format 13.0
Ink Outlines 13.0
JPEG 2000 13.0
Kurtosis 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Lens Blur 13.0
Lens Correction 13.0
Lens Flare 13.0
Liquify 13.0
Matlab Operation 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Maximum 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Mean 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Measurement Core 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Median 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Mezzotint 13.0
Minimum 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
MMXCore Routines 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Mosaic Tiles 13.0
Multiprocessor Support 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Neon Glow 13.0
Note Paper 13.0
NTSC Colors 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Ocean Ripple 13.0
Oil Paint 13.0
OpenEXR 13.0
Paint Daubs 13.0
Palette Knife 13.0
Patchwork 13.0
Paths to Illustrator 13.0
PCX 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Photocopy 13.0
Photoshop 3D Engine 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Picture Package Filter 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Pinch 13.0
Pixar 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Plaster 13.0
Plastic Wrap 13.0
PNG 13.0
Pointillize 13.0
Polar Coordinates 13.0
Portable Bit Map 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Poster Edges 13.0
Radial Blur 13.0
Radiance 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Range 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Read Watermark 4.0
Reticulation 13.0
Ripple 13.0
Rough Pastels 13.0
Save for Web 13.0
ScriptingSupport 13.1.2
Shear 13.0
Skewness 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Smart Blur 13.0
Smudge Stick 13.0
Solarize 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Spatter 13.0
Spherize 13.0
Sponge 13.0
Sprayed Strokes 13.0
Stained Glass 13.0
Stamp 13.0
Standard Deviation 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
STL 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Sumi-e 13.0
Summation 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Targa 13.0
Texturizer 13.0
Tiles 13.0
Torn Edges 13.0
Twirl 13.0
Underpainting 13.0
Vanishing Point 13.0
Variance 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Variations 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Water Paper 13.0
Watercolor 13.0
Wave 13.0
Wavefront|OBJ 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
WIA Support 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
Wind 13.0
Wireless Bitmap 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00)
ZigZag 13.0
Optional and third party plug-ins:
DAZ Studio 3D Bridge 12.0
DazUpdateScene 12.0
Plug-ins that failed to load: NONE
Flash:
Mini Bridge
Kuler
Installed TWAIN devices: NONEGreat news!
I followed your suggestion, Noel, and uninstalled my drivers with the Catalyst Uninstall Utility (which I hadn't used before), rebooted, reinstalled Catalyst 13.2 Beta 7, rebooted, deleted the PS Prefs, started PS, and now the performance is radically improved!
It baffles me why I would need to do a clean driver uninstall in a new system environment that has only ever had this video card, and is only a few months old, but that action seems to be what's improved the situation. Note that because I deleted the PS preferences, the good performance now occurs with the default Use Graphics Processor enabled, and Drawing Mode set to Advanced (with every feature in the Advanced dialog checked except 30bit display).
Having no reference point, I can't tell for sure if performance is as good as it theoretically ought to be for my system specs, but using the standard 13px brush is only slightly laggy behind the cursor, even if I become reckless and squiggle on the canvas violently. It wasn't just sluggish response before: Photoshop seemed to be in pain trying to draw the line segments as it laboured to catch up to the cursor. That is pretty much gone now.
Much more tellingly, zooming and panning the canvas is like it ought to be, responsive and clean, more or less like it was for me in CS4 with my old Nvidia 9600GT. The poor performance with zooming and panning was the most worrying aspect of the issue. It's a great relief to see these working more properly now.
I have to confess I'm a little embarrassed to have drug you through all this hassle only to discover that something as rudimentary as properly cleaning out the drivers would be the apparent solution. I never would have imagined that doing that, with such a new and stable system, would make any difference, since I don't have a legacy of older drivers dotting my hard drive. In any event, I'm really grateful that you guys took the time to try to help me.
In the interest of completeness, here's the relevant portion of my system info after doing the reinstall steps I mentioned above:
Adobe Photoshop Version: 13.1.2 (13.1.2 20130105.r.224 2013/01/05:23:00:00) x64
Operating System: Windows 8 64-bit
Version: 6.2
System architecture: Intel CPU Family:6, Model:14, Stepping:5 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
Physical processor count: 4
Processor speed: 2665 MHz
Built-in memory: 16379 MB
Free memory: 13680 MB
Memory available to Photoshop: 14695 MB
Memory used by Photoshop: 60 %
Image tile size: 1024K
Image cache levels: 4
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
OpenCL Version: 3.0
OpenGL Version: 3.0
Video Rect Texture Size: 16384
OpenGL Memory: 2048 MB
Video Card Vendor: ATI Technologies Inc.
Video Card Renderer: AMD Radeon HD 7800 Series
Display: 1
Display Bounds: top=0, left=0, bottom=1080, right=1920
Video Card Number: 2
Video Card: AMD Radeon HD 7800 Series
Driver Version:
Driver Date:
Video Card Driver: aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.d ll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Video Mode: 1920 x 1080 x 4294967296 colors
Video Card Caption: AMD Radeon HD 7800 Series
Video Card Memory: 2048 MB
Video Card Number: 1
Video Card: Microsoft Basic Render Driver
Driver Version: 12.100.17.0
Driver Date: 20130226000000.000000-000
Video Card Driver:
Video Mode:
Video Card Caption: Microsoft Basic Render Driver
Video Card Memory: 0 MB
As you can see, the Microsoft Basic Render Driver still appears as a Video Card in the list. This presumably has something to do with Windows 8, and I really don't know if its presence here is still a sign that my card is not being used to its optimal capability. I have a hunch that the slight lag that I am still experiencing with the brush when Use Graphics Processor is on -- totally absent with the acceleration turned off -- implies that Photoshop is still unable to take maximum advantage of my card. I would assume that the brush tool should be more responsive with acceleration on than off, in a rig without any issues, but that's just assumption on my part. If you turn off Use Graphics Processor on your systems, is the brush tool more or less responsive?
But again, panning the canvas with the hand tool is now extremely responsive, without any screen tearing or visible lag, and that's a massive improvement over the total meltdown of performance I was suffering from before.
Thanks again very much for your help. I'm grateful to all of you who took the time to chime in. -
Bad performance with brandnew system
hello,
i set up a completely new win7-64bit based on a fresh osx (snow-leopard update) on a fresh harddisk....and i have very bad 3d performance with only 3 (!!) programs installed. i am working with autodesk 3ds max and autocad and both run very slow. my last system was win7-64bit, too, but running MUCH faster.
it must be a driver problem, but i dont know how to change the nvidia driver.
edit:
after having changed driver from directx 9 to open-gl performance is very fast.
please help.
alex
Message was edited by: mbp_3dHi Bruno
In the following Re: Generic Sync: Object can not be deserilized / Multiple synchronization call you had mentioned that you are using MI 2.5 SP16 Client. For your information MI doesnt support Windows Mobile 5 OS on SP16 but only from SP18 does it support this OS. Have you tried upgrading the client to any of the SPs i had mentioned in the above thread and then checked the performance?
Best Regards
Sivakumar -
DC creation finished with some problems
Hello,
After finish the DC creation below message is getting
DC Creation finished with some problems
Reason: Some used DC's not avilable Locally, You Have to sync used DC's for the project.
and when I open the view implementation many errors in the default methods.
below is the error log:
java.lang.Exception: C:\Users\xxxx\.dtc\LocalDevelopment\buildvariant.config is missing
at com.sap.ide.eclipse.component.core.Util.getBuildVariantDocument(Util.java:205)
at com.sap.ide.eclipse.component.core.Util.initBuildVariant(Util.java:261)
at com.sap.ide.eclipse.component.devconf.DevConfManager.getInstalledDevConfs(DevConfManager.java:432)
at com.sap.ide.eclipse.component.devconf.DevConfManager.getInstalledDevConfs(DevConfManager.java:372)
at com.sap.ide.eclipse.cbs.activation.internal.ActivationRuntimeDataStorage.setActiveDevelopmentConfiguration(ActivationRuntimeDataStorage.java:225)
at com.sap.ide.eclipse.cbs.activation.internal.ActivationRuntimeDataStorage.onActiveClientChanged(ActivationRuntimeDataStorage.java:944)
at com.tssap.dtr.client.lib.vfs.config.impl.Configuration.setActiveClient(Configuration.java:477)
at com.sap.ide.eclipse.component.wizard.DevConfWizard.updateDTR(DevConfWizard.java:687)
at com.sap.ide.eclipse.component.wizard.DevConfWizard.addDevConf(DevConfWizard.java:546)
at com.sap.ide.eclipse.component.wizard.DevConfWizard.access$100(DevConfWizard.java:67)
at com.sap.ide.eclipse.component.wizard.DevConfWizard$1.run(DevConfWizard.java:348)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.sap.ide.eclipse.component.wizard.DevConfWizard.performFinish(DevConfWizard.java:346)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.sap.ide.eclipse.component.provider.actions.DevConfNewAction.run(DevConfNewAction.java:46)
at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:229)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1391)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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:324)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
Thanks
PolakaHi Polaka,
the Error clearly tells the root cause...
Some used DC's not avilable Locally, You Have to sync used DC's for the project.
This means that the DC for which you have created project structure is now present on your Local client DTR, but the same DC is using some other DCs as dependencies. And these used DC(s) are not available on your Local Client DTR.
Please perform the below mentioned steps...
1) The DC for which you are creating the project structure, is having dependecies on other DCs.
2) Open the public parts of that DC and check the Used DCs that are needed.
3) You need to create the project structure of those used DCs too from Inactive DCs view.
4) Also make sure that buildtime depencies are also sychronized from Active DC view.
If the problem still persists, then i would request you to provide the following details.
1) Types of the DCs that you are using.
2) in the CBS web UI,
-->(http://<host>:<port>/webdynpro/dispatcher/sap.com/tc.CBS.WebUI/WebUI)
-->Here, find out the build spaces specific to your track inside Buildspaces Table.
<SID>_<TrackName>_D
check the Development buildspace of your track whether it is consistent or not?
3) If the build space is having some broken DCs then provide the Logs of the Build failure on CBS for those broken DCs.
Regards,
Shreyas Pandya -
Repaint problem while clicking the popup menuitem
Hi all,
iam facing repainting problem in my application. User can initiate a single action from different options such as JButton, double-click of mouse and clicking the menu item form the JPopupMenu.
All these will execute the same code. But when iam using the first two ways, the repainting is properly working and aim getting the required UI and opening the JInternalFrame.
When the last case is being used(ie., clicking the menu item form the JPopupMenu), then the repaint is not working and the window being opened is coming in pieces and then finally i could see the window after some time, which is not the case with the first two cases.
Please help me how to solve and get the window at once. Iam attaching the code.
MainFrame.java
package com.swing;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.awt.event.MouseWheelEvent;
import java.awt.event.MouseWheelListener;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
public class MainFrame extends JFrame implements ActionListener{
static final long serialVersionUID = 3345648L;
public MainFrame() {
setSize(1000,750);
setLayout(null);
setVisible(true);
addMenuBar();
invalidate();
public void actionPerformed(ActionEvent actionEvent) {
Object source = actionEvent.getSource();
if( source == s_mnuItmFirstFrame ) {
FirstFrame s_frameFirst = new FirstFrame(this);
this.add(s_frameFirst);
* @param args
public static void main(String[] args) {
MainFrame mFrame = new MainFrame();
JMenuBar s_menuBar = null;
JMenuItem s_mnuItmFirstFrame = new JMenuItem("Add Internal Frame");
void addMenuBar(){
Font fontNormal = new Font("Dialog", Font.PLAIN, 11);
s_menuBar = new JMenuBar();
s_menuBar.setDoubleBuffered(true);
getRootPane().setJMenuBar(s_menuBar);
s_mnuItmFirstFrame.setFont(fontNormal);
s_mnuItmFirstFrame.addActionListener(this);
JMenu s_menuFrames = new JMenu("Frames");
s_menuFrames.setFont(fontNormal);
s_menuFrames.add(s_mnuItmFirstFrame);
s_menuBar.add(s_menuFrames);
FirstFrame.java
package com.swing;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.awt.event.MouseWheelEvent;
import java.util.Vector;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JInternalFrame;
import javax.swing.JMenuItem;
import javax.swing.JPopupMenu;
import javax.swing.JTable;
import javax.swing.event.InternalFrameAdapter;
import javax.swing.event.InternalFrameEvent;
import javax.swing.table.DefaultTableModel;
public class FirstFrame extends JInternalFrame implements ActionListener
static final long serialVersionUID = 2345657L;
public FirstFrame(JFrame parentFrame) {
super(" First Frame ", true, true, true, true);
mainFrame = parentFrame;
setSize(400, 400);
setVisible(true);
setLayout(new FlowLayout());
try {
setMaximum(false);
} catch (Exception e) {
e.printStackTrace();
DefaultTableModel s_modelFirstTable = new DefaultTableModel();
Vector tableData = new Vector();
Vector namesVector = new Vector();
namesVector.add("OneFirst");
namesVector.add("OneMiddle");
namesVector.add("OneLast");
tableData.add(namesVector);
namesVector = new Vector();
namesVector.add("TwoFirst");
namesVector.add("TwoMiddle");
namesVector.add("TwoLast");
tableData.add(namesVector);
namesVector = new Vector();
namesVector.add("ThreeFirst");
namesVector.add("ThreeMiddle");
namesVector.add("ThreeLast");
tableData.add(namesVector);
namesVector = new Vector();
namesVector.add("FourFirst");
namesVector.add("FourMiddle");
namesVector.add("FourLast");
tableData.add(namesVector);
namesVector = new Vector();
namesVector.add("FiveFirst");
namesVector.add("FiveMiddle");
namesVector.add("FiveLast");
tableData.add(namesVector);
Vector tableHeader = new Vector();
tableHeader.add("First Name");
tableHeader.add("Middle Name");
tableHeader.add("Last Name");
s_modelFirstTable.setDataVector(tableData, tableHeader);
s_tblFirst.setModel(s_modelFirstTable);
add(s_tblFirst);
add(s_btnSecondButton);
s_mnuPopupMenu.add(s_mnuItmSecondButton);
s_mnuPopupMenu.add(s_mnuItmSecondButton1);
s_mnuPopupMenu.add(s_mnuItmSecondButton2);
s_mnuPopupMenu.add(s_mnuItmSecondButton3);
s_mnuPopupMenu.add(s_mnuItmSecondButton4);
s_tblFirst.addMouseListener(new MouseAdapter() {
public void mouseReleased(MouseEvent mouseEvent) {
s_mnuPopupMenu.setVisible(true);
// if (mouseEvent.isPopupTrigger()) {
s_mnuPopupMenu.show(mouseEvent.getComponent(), mouseEvent
.getX(), mouseEvent.getY());
s_btnSecondButton.addActionListener(this);
s_mnuItmSecondButton.addActionListener(this);
this.addInternalFrameListener(new InternalFrameAdapter() {
public void internalFrameClosing(InternalFrameEvent ifEvent) {
Object object = ifEvent.getSource();
if (object == FirstFrame.this) {
try {
if (s_frameSecond != null)
s_frameSecond.setClosed(true);
} catch (Exception e) {
e.printStackTrace();
public void actionPerformed(ActionEvent actionEvent) {
if (s_frameSecond != null) {
try {
s_frameSecond.setClosed(true);
} catch (Exception e) {
e.printStackTrace();
s_frameSecond = new SecondFrame();
mainFrame.add(s_frameSecond);
s_frameSecond.moveToFront();
s_frameSecond.setVisible(true);
JFrame mainFrame ;
JTable s_tblFirst = new JTable();
JButton s_btnSecondButton = new JButton("Second Frame");
JMenuItem s_mnuItmSecondButton = new JMenuItem("Second Frame");
JMenuItem s_mnuItmSecondButton1 = new JMenuItem("Second Frame1");
JMenuItem s_mnuItmSecondButton2 = new JMenuItem("Second Frame2");
JMenuItem s_mnuItmSecondButton3 = new JMenuItem("Second Frame3");
JMenuItem s_mnuItmSecondButton4 = new JMenuItem("Second Frame4");
JPopupMenu s_mnuPopupMenu = new JPopupMenu();
SecondFrame s_frameSecond;
SecondFrame.java
package com.swing;
import java.awt.GridLayout;
import javax.swing.JButton;
import javax.swing.JInternalFrame;
public class SecondFrame extends JInternalFrame {
static final long serialVersionUID = 1345648L;
public SecondFrame() {
super(" Second Frame ", true, true, true, true);
try {
setLayout(new GridLayout(4, 4));
setSize(400,400);
//setVisible(true);
setMaximizable(true);
for(int i=0; i<4; i++){
for(int j=0; j<4; j++){
add(new JButton(""+(i+1)+", "+(j+1)));
catch(Exception e){
e.printStackTrace();
}Don't post an IDE generated code as is. It's a torture for human eye. At least, you should rename
all the identifiers to some meaningful names.
You MUST use JDesktopPane when you use JInternalFrames.
Here's a working code:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.table.*;
import javax.swing.event.*;
import java.util.*;
public class MainFrame extends JFrame implements ActionListener{
static final long serialVersionUID = 3345648;
JFrame frame;
JDesktopPane jdp;
public MainFrame() {
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setSize(1000,750);
// setLayout(null); //you MUST use a real LayoutManager
addMenuBar();
frame = this;
jdp = new JDesktopPane();
frame.add(jdp);
setVisible(true);
public void actionPerformed(ActionEvent actionEvent) {
Object source = actionEvent.getSource();
if( source == s_mnuItmFirstFrame ) {
FirstFrame s_frameFirst = new FirstFrame(this);
jdp.add(s_frameFirst);
s_frameFirst.setVisible(true);
public static void main(String[] args) {
MainFrame mFrame = new MainFrame();
JMenuBar s_menuBar = null;
JMenuItem s_mnuItmFirstFrame = new JMenuItem("Add Internal Frame");
void addMenuBar(){
Font fontNormal = new Font("Dialog", Font.PLAIN, 11);
s_menuBar = new JMenuBar();
s_menuBar.setDoubleBuffered(true);
getRootPane().setJMenuBar(s_menuBar);
s_mnuItmFirstFrame.setFont(fontNormal);
s_mnuItmFirstFrame.addActionListener(this);
JMenu s_menuFrames = new JMenu("Frames");
s_menuFrames.setFont(fontNormal);
s_menuFrames.add(s_mnuItmFirstFrame);
s_menuBar.add(s_menuFrames);
setJMenuBar(s_menuBar);
class FirstFrame extends JInternalFrame implements ActionListener{
static final long serialVersionUID = 2345657;
public FirstFrame(MainFrame parentFrame) {
super(" First Frame ", true, true, true, true);
mainFrame = parentFrame;
setSize(400, 400);
setVisible(true);
setLayout(new FlowLayout());
try {
setMaximum(false);
} catch (Exception e) {
e.printStackTrace();
DefaultTableModel s_modelFirstTable = new DefaultTableModel();
Vector<Vector> tableData = new Vector<Vector>();
Vector<String> namesVector = new Vector<String>();
namesVector.add("OneFirst");
namesVector.add("OneMiddle");
namesVector.add("OneLast");
tableData.add(namesVector);
namesVector = new Vector<String>();
namesVector.add("TwoFirst");
namesVector.add("TwoMiddle");
namesVector.add("TwoLast");
tableData.add(namesVector);
namesVector = new Vector<String>();
namesVector.add("ThreeFirst");
namesVector.add("ThreeMiddle");
namesVector.add("ThreeLast");
tableData.add(namesVector);
namesVector = new Vector<String>();
namesVector.add("FourFirst");
namesVector.add("FourMiddle");
namesVector.add("FourLast");
tableData.add(namesVector);
namesVector = new Vector<String>();
namesVector.add("FiveFirst");
namesVector.add("FiveMiddle");
namesVector.add("FiveLast");
tableData.add(namesVector);
Vector<String> tableHeader = new Vector<String>();
tableHeader.add("First Name");
tableHeader.add("Middle Name");
tableHeader.add("Last Name");
s_modelFirstTable.setDataVector(tableData, tableHeader);
s_tblFirst.setModel(s_modelFirstTable);
add(s_tblFirst);
add(s_btnSecondButton);
s_mnuPopupMenu.add(s_mnuItmSecondButton);
s_mnuPopupMenu.add(s_mnuItmSecondButton1);
s_mnuPopupMenu.add(s_mnuItmSecondButton2);
s_mnuPopupMenu.add(s_mnuItmSecondButton3);
s_mnuPopupMenu.add(s_mnuItmSecondButton4);
s_tblFirst.addMouseListener(new MouseAdapter() {
public void mousePressed(MouseEvent mouseEvent){
if (mouseEvent.isPopupTrigger()) {
s_mnuPopupMenu.show(mouseEvent.getComponent(),
mouseEvent.getX(), mouseEvent.getY());
public void mouseReleased(MouseEvent mouseEvent) {
if (mouseEvent.isPopupTrigger()) {
s_mnuPopupMenu.show(mouseEvent.getComponent(),
mouseEvent.getX(), mouseEvent.getY());
s_btnSecondButton.addActionListener(this);
s_mnuItmSecondButton.addActionListener(this);
addInternalFrameListener(new InternalFrameAdapter() {
public void internalFrameClosing(InternalFrameEvent ifEvent) {
Object object = ifEvent.getSource();
if (object == this) {
try {
if (s_frameSecond != null){
s_frameSecond.setClosed(true);
} catch (Exception e) {
e.printStackTrace();
} // FirstFrame constructor
public void actionPerformed(ActionEvent actionEvent) {
if (s_frameSecond != null) {
try {
s_frameSecond.setClosed(true);
} catch (Exception e) {
e.printStackTrace();
s_frameSecond = new SecondFrame();
mainFrame.jdp.add(s_frameSecond);
s_frameSecond.moveToFront();
s_frameSecond.setVisible(true);
MainFrame mainFrame ;
JTable s_tblFirst = new JTable();
JButton s_btnSecondButton = new JButton("Second Frame");
JMenuItem s_mnuItmSecondButton = new JMenuItem("Second Frame");
JMenuItem s_mnuItmSecondButton1 = new JMenuItem("Second Frame1");
JMenuItem s_mnuItmSecondButton2 = new JMenuItem("Second Frame2");
JMenuItem s_mnuItmSecondButton3 = new JMenuItem("Second Frame3");
JMenuItem s_mnuItmSecondButton4 = new JMenuItem("Second Frame4");
JPopupMenu s_mnuPopupMenu = new JPopupMenu();
SecondFrame s_frameSecond;
class SecondFrame extends JInternalFrame {
static final long serialVersionUID = 1345648;
public SecondFrame() {
super(" Second Frame ", true, true, true, true);
try {
setLayout(new GridLayout(4, 4));
setSize(400, 400);
setMaximizable(true);
for(int i=0; i<4; i++){
for(int j = 0; j < 4; ++j){
add(new JButton("" + (i + 1) + ", " + (j + 1)));
catch(Exception e){
e.printStackTrace();
} -
Best performance with forms 4.5 than 6i ?!!!
Hi,
Since i'd upgrade my app with forms 6i, i find that when i make a query, this is more slow with 6i than 4.5, with the same db(8i).
Does anyone else had the same problem?
What could i do to resolve the problem?
Thanks.
nullSee my earlier posting 'Speeding load time of WEB Forms50'. I
have had no takers yet on a solution to this. There may be some
hints for you there.
Good luck on this one - Forms over the WEB seems to be very
processor and memory hungry. We would like to support about 200
users on a VERY simple search screen, but we need about 2Gbyte
of physical memory on the server to get any amount of useful
speed out of it. Each Forms session takes up about 10Mbyte on
the server - as soon as this starts swapping out to disk then
your run-time performance goes right downhill. The earlier-
mentioned posting gives some hints on speeding up the startup
time, and it does work.
Regards,
Jason Judge
Natasha Murillo (guest) wrote:
: How I can Get better performance with Forms 4.5 and 6.0 on the
: WEB???
: It is very slow and my customers are not very happy with
that...
: Please help me...
null -
hello! My iMac frozed and I had to switch the electricty supply off and on in order to start again the system, with the problem that the screen looks wierd, I tried to calibrate it... doesnt works any suggestion?
Dear Paul, thank you very much for your time and answer, I followed those steps, somehow it helped the performance of my Imac, is faster now, but the screen issue about the very High contrast colours is still there. Since I am a photographer I am very depending on the screen calibration. I am worried that I came to damage the video card when I shut down the computer from the swicth when It was frozed.
-
I am unable to view the full content of various web sites after purchasing Advanced System Care Pro. I was using the free version before with no problems. I cannot figure out if or which setting was changed. I tried doing a system restore but that did not work. I tried turning off all features of ASC pro but that did not work. Javascript is enabled. Please help.
BrianMany thanks.
With those symptoms, I'd try the following document:
Apple software on Windows: May see performance issues and blank iTunes Store
(If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)
Maybe you are looking for
-
Badis for PO and Central Contract in SRM 7.0 in classic
Hi everyone, I need you help. We are working in a implementation of SRM7.0 with ECC 6.0 Ehp 4 in a classic scenario. We want to know which badis we can use in order to change the purchasing group of the PO an Central Contract when their are transfere
-
When I Ctrl-click a link and choose "Open Link in New Tab" it chooses to open the new tab in a different window (one that's already open) rather than opening the new tab in the same window. Even though the other window is minimized, it automatically
-
Creation of production campaign and deletion of orders from campaign
Hi APO Gurus, This is regarding campaign creation for a set or group of orders. I have a group of orders in a z table, I want to create a campaign in PP/DS by using Heuristic : /sapapo/heur_pcm_create. Can I do this without going to DS board, Simply
-
How to tune the threshold to a very low value
Hi, how to set the thershold to a very low value for database 9i. on which critieria we will tune this thershold value of DB
-
Given WSDL, need to generate example request / response XML to give testers
Without actually making the service calls I need to generate example XML request and response messages for each service in a given a WSDL. So far the only other tool that can do this is the Oxygen xml editor wsdl inspector. Not even XMLspy does this.