Problem with values of some components per card in CardLayout
in card 1 i ask the user to enter the numbers (say the user entered, 55.3,62.5,73.2,86.7)
parsed it, count the observations..
now in card 2, i have a JComboBox of sample sizes from the numbers the user entered. (in the example, the JComboBox should show 1,2,3,4 since the sample size should be from 1 to "n" numbers of observations the user entered)
the problem now is, how can i set the "n" for card 2 where the "n" will come from card 1?
hope i made it clear... please help me...
i think i figure it out already...
i put the initiation of card 2 in a different method..
whew!
Similar Messages
-
Problem with new Scandisk 32GB CompactFlash Memory Card Extreme Pro 600x UDM
Canon provides an XF utility to read, combine, and export video files from the card to the computer. The utility works well with every CF card that I have used until I bought a new Scandisk CF card. The utility can access the XF files on the card but it cannot play them. Actually it does start to play then stops and starts. When I try to export a file to the computer it will not finish with even the smallest file. There is no problem with any of my other CF cards. Has anyone else seen this problem?
Now that I am in the correct forum the question is for those users who use the Canon XF Utility - is there any reason for it to act differently with one type of CF card as opposed to another? I have sort of solved the problem by using the PP Media Browser instead of the Canon Utility to read my CF cards.
-
Problem with ESM on some computers
We have been having a problem with ESM on some older computers. The
computers all seem to be older computers running WinXP SP2 (Dell
OptiPlex SX260). The computers have the Novell client, either 4.91 SP4
or SP5, and either have the Microsoft client for Microsoft Networks
turned off (unchecked) or uninstalled. The computer will be running
fine, we'll install ESM on them and then when the computer comes up
after that it won't login properly. It will accept the login, but then
says access denied but keeps going. All drive mappings fail with a 470
error code and the login script ends with an 8885 error. I look in the
Novell client and it says that the user is authenticated to the tree and
connected to the servers but can't access anything on them. I can try
logging in as many times as I want and it won't map the drives. If I
try to get to the NSS volumes using UNC paths, it won't work. I can try
a UNC path with the IP address instead of the name and still the same story.
We've found two ways around the problem and neither are acceptable:
1. Remove ESM
2. Go into the network control panel and uncheck the Senforce ESS
Filter Engine. After that, I can try to login and it goes right
through. I don't even have to logout, just right-click on the red N and
choose login. Everything maps just fine.
The firewall is set to all open so it isn't blocking the ports. Or at
least it isn't set to block them.
I say we've had the problems on the SX260's. We've only tried this on
SX260's and a small number of newer Dell desktops and laptops (Optiplex
740, 745, 755, Latitude D620, D630). Only the SX260's are having the
problem. They also, however, are the ones with the Microsoft client for
Microsoft Networks either turned off or uninstalled.
We're about to open another SR with Novell support but it is difficult
for us to leave a computer in a non-working state so we can work with
support on it.
Any ideas?Originally Posted by Sean Eckton
We have been having a problem with ESM on some older computers. The
computers all seem to be older computers running WinXP SP2 (Dell
OptiPlex SX260). The computers have the Novell client, either 4.91 SP4
or SP5, and either have the Microsoft client for Microsoft Networks
turned off (unchecked) or uninstalled. The computer will be running
fine, we'll install ESM on them and then when the computer comes up
after that it won't login properly. It will accept the login, but then
says access denied but keeps going. All drive mappings fail with a 470
error code and the login script ends with an 8885 error. I look in the
Novell client and it says that the user is authenticated to the tree and
connected to the servers but can't access anything on them. I can try
logging in as many times as I want and it won't map the drives. If I
try to get to the NSS volumes using UNC paths, it won't work. I can try
a UNC path with the IP address instead of the name and still the same story.
We've found two ways around the problem and neither are acceptable:
1. Remove ESM
2. Go into the network control panel and uncheck the Senforce ESS
Filter Engine. After that, I can try to login and it goes right
through. I don't even have to logout, just right-click on the red N and
choose login. Everything maps just fine.
The firewall is set to all open so it isn't blocking the ports. Or at
least it isn't set to block them.
I say we've had the problems on the SX260's. We've only tried this on
SX260's and a small number of newer Dell desktops and laptops (Optiplex
740, 745, 755, Latitude D620, D630). Only the SX260's are having the
problem. They also, however, are the ones with the Microsoft client for
Microsoft Networks either turned off or uninstalled.
We're about to open another SR with Novell support but it is difficult
for us to leave a computer in a non-working state so we can work with
support on it.
Any ideas?
Sean,
I have seen login issue with the Novell client and zesm if a firewall is enabled.
Is it possible to do the following:
Right click the ZESM client and go to About
Click Diagnostics, Logging and select all
Once you have logging enabled on the client please duplicate the issue.
Please post or attach the log so we can see it.
You will find the log in c:\documents and settings\all users\application data\senforce\logs -
Problem with 5300 and 2 GB memory card
Hi,
I just bought 5300 phone and 2 gb micro sd card, sandisk.
And I am now storing music files to the card via usb connection and phone is shown to pc as a disk.
It transfers 990 MB of music and after that is says card is full.
From gallery it shows memory card as 2 gb card, and full status is 990 MB, free fine also. I tried transfer also with music manager same result. Like the 1 gb is the limit somehow.
Is it ?
/Harri13-Jun-200709:39 PM
stgotio wrote:
I also have problems with my new Kingston 2GB micro SD card on Nokia 5300. However quite different. I uploaded appr. 1.5 GB music and it worked fine. Then I switched the phone off. When I tried to switch it on again the screen started to flash and after 15 sec the phone switched off itself. It took for a while till I discovered that the problem somehow relates to the memory card. When it was removed the phone worked fine (no flashing, no switch off). I reformatted the memory card and everything worked fine till the next switch off. Then it started again. I updated the software (V 04.70), but it didn't help. I'm not 100% sure but it seems to me that the problem relates to the music player which tries to update the music library after the switch off and somehow it freezes the phone.
Any idea how to solve this?
In short because I don't have a 5300 - No ...
However - something to try is to see if your card works without problems on a PC (via USB card reader) or laptop (some have memory card slots built in)
Lastly on Nokia's 5300 webpage it states that they only recommend using authorised cards ... it might be worth seeing if you experience the same issue with Nokia's own 2Gb microSD card ?
Regards,
Edward -
Firefox has problems with images.
In sites like deviantART or ImageShack with full-view option, images that are not in full size/thumbnails get slightly pixelated e.g. http://img251.imageshack.us/f/screenshot2tq.jpg/
Long images get completely messed up if full-viewed e.g. http://img689.imageshack.us/f/screenshot5z.jpg/ (though if the file is only big, it loads just fine)
Also, thumbnails in some sites get messed up e.g. http://img201.imageshack.us/f/screenshotyr.jpg/
And in general, Firefox has more 'glitches' like not allowing to add more search engines. It wasn't like that before and I can only assume that it got messed up somewhere with updates, but I'm not really sure.
I've tried cleaning out cache, re-installing Firefox (multiple times) and even downloaded Firefox 4 beta, but the problem remains.
I use Ubuntu.
Does anyone else have similar problems? Or know where the problem lies?Do you have the latest driver for your graphics display card?
Create a new profile as a test to check if your current profile is causing the problems.
See [[Basic Troubleshooting#Make_a_new_profile|Basic Troubleshooting: Make a new profile]]
If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox -
Problems with Photoshop CS6 Recognizing Multiple Graphics Cards
Hi,
I have a quad monitor setup with two graphics cards with the latest drivers downloaded today and installed directly off of the manufacturer's websites:
1) AMD Radeon R9 200 Series 4GB GDDR5
2) NVIDIA GeForce GTX 460 1GB GDDR5
I have Photoshop CS6 64-bit (along with the rest of the Adobe Design and Web Premium) installed on my computer - which I uninstalled and reinstalled today also - and it's claiming that it has detected an error with my display driver. The Graphics Processor Settings box in Preferences is greyed out, and I've used the shift+ctrl+alt to reset preferences and check again to no avail. I've also set both of my graphics cards to turn on OpenGL Triple Buffering and to let the 3D application decide the image settings. Here's my system info, where you can see that the GPU sniffer crashed and that no video card is detected:
Adobe Photoshop Version: 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00) x64
Operating System: Windows NT
Version: 6.2
System architecture: AMD CPU Family:15, Model:2, Stepping:0 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
Physical processor count: 4
Logical processor count: 8
Processor speed: 4018 MHz
Built-in memory: 16349 MB
Free memory: 12120 MB
Memory available to Photoshop: 14671 MB
Memory used by Photoshop: 70 %
Image tile size: 132K
Image cache levels: 4
Photoshop crashed on 12/5/2014 at 9:37:01 PM (GetImageViewResourceSharingGLContext)
The GPU Sniffer crashed on 12/5/2014 at 10:47:20 PM
Display: 4
Display Bounds:= top: 0, left: 1920, bottom: 1080, right: 3840
Display: 3
Display Bounds:= top: -1080, left: 0, bottom: 0, right: 1920
Display: 2
Display Bounds:= top: 0, left: 0, bottom: 1080, right: 1920
Display: 1
Display Bounds:= top: -1080, left: 1920, bottom: 0, right: 3840
No video card detected
Serial number: 90148051671449209572
Application folder: E:\Program Files (x86)\Adobe\Adobe Photoshop CS6 (64 Bit)\
Temporary file path: C:\Users\April\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
Startup, 111.7G, 8.82G free
Required Plug-ins folder: E:\Program Files (x86)\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
Primary Plug-ins folder: E:\Program Files (x86)\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2012/01/18-15:07:40 66.492997 66.492997
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/02/09-16:00:02 4.0.93 66.496052
AdobePDFL.dll PDFL 2011/12/12-16:12:37 66.419471 66.419471
AdobePIP.dll Adobe Product Improvement Program 6.0.0.1654
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/01/18-15:07:40 66.492997 66.492997
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/01/18-15:07:40 66.492997 66.492997
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/01/18-15:07:40 66.492997 66.492997
BIBUtils.dll BIBUtils 2012/01/18-15:07:40 66.492997 66.492997
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.0.5.19287 2.0.5.19287
CoolType.dll CoolType 2012/01/18-15:07:40 66.492997 66.492997
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 10.0
LogSession.dll LogSession 2.1.2.1640
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.8428
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.8428
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.8428
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
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
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
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
wu3d.dll U3D Writer 9.3.0.113
Required plug-ins:
3D Studio 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Accented Edges 13.0
Adaptive Wide Angle 13.0
ADM 3.11x01
Angled Strokes 13.0
Average 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Bas Relief 13.0
BMP 13.0
Chalk & Charcoal 13.0
Charcoal 13.0
Chrome 13.0
Cineon 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Clouds 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Collada 13.0 (13.0 20120315.r.428 2012/03/15:21: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.0 (13.0 20120315.r.428 2012/03/15:21: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.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Diffuse Glow 13.0
Displace 13.0
Dry Brush 13.0
Eazel Acquire 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Embed Watermark 4.0
Entropy 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Extrude 13.0
FastCore Routines 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Fibers 13.0
Film Grain 13.0
Filter Gallery 13.0
Flash 3D 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Fresco 13.0
Glass 13.0
Glowing Edges 13.0
Google Earth 4 13.0 (13.0 20120315.r.428 2012/03/15:21: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.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Lens Blur 13.0
Lens Correction 13.0
Lens Flare 13.0
Liquify 13.0
Matlab Operation 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Maximum 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Mean 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Measurement Core 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Median 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Mezzotint 13.0
Minimum 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
MMXCore Routines 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Mosaic Tiles 13.0
Multiprocessor Support 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Neon Glow 13.0
Note Paper 13.0
NTSC Colors 13.0 (13.0 20120315.r.428 2012/03/15:21: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.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Photocopy 13.0
Photoshop 3D Engine 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Picture Package Filter 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Pinch 13.0
Pixar 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Plaster 13.0
Plastic Wrap 13.0
PNG 13.0
Pointillize 13.0
Polar Coordinates 13.0
Portable Bit Map 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Poster Edges 13.0
Radial Blur 13.0
Radiance 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Range 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Read Watermark 4.0
Reticulation 13.0
Ripple 13.0
Rough Pastels 13.0
Save for Web 13.0
ScriptingSupport 13.0
Shear 13.0
Skewness 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Smart Blur 13.0
Smudge Stick 13.0
Solarize 13.0 (13.0 20120315.r.428 2012/03/15:21: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.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Sumi-e 13.0
Summation 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Targa 13.0
Texturizer 13.0
Tiles 13.0
Torn Edges 13.0
Twirl 13.0
U3D 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Underpainting 13.0
Vanishing Point 13.0
Variance 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Variations 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Water Paper 13.0
Watercolor 13.0
Wave 13.0
Wavefront|OBJ 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
WIA Support 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Wind 13.0
Wireless Bitmap 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
ZigZag 13.0
Optional and third party plug-ins:
Camera Raw 7.0
Plug-ins that failed to load: NONE
Flash:
Mini Bridge
Kuler
Installed TWAIN devices: NONE
Please help!Yes Adobe states if you use more then one GPU adapter they should be the same else Photoshop may have problems. Photoshop CC and CC 2014 GPU FAQ
Are you using more than one video card?
Multiple video adapters can cause problems with GPU-accelerated or enabled features in Photoshop. It's best to connect two (or more) monitors into one video adapter. If you have to use more than one video adapter, make sure that they are the same make and model.
Otherwise, crashes and other problems can occur in Photoshop.
Note: Using more than one video adapter does not enhance Photoshop's performance. -
Any problem with AMD Radeon or FirePro graphic cards?
Hi.
I know that Adobe recommend Nvidia cards for SpeedGrade, but I ask to owners of AMD cards if they have found any problems with AMD cards: bad performance, not realtime with relatively few layers, etc, etc
Which is your experience?
Thanks.FWIW: I'm using a AMD Radeon HD 6750M (1GB RAM) on my Mac Book Pro. So far it performs fine, in some cases it even feels faster than the Quadro 4000 in my Mac Pro, but I think that has more to do with the type of projects. Mostly doing DSLR on the MBP and R3D on the Mac Pro.
-
SwingUtilities.paintComponent - problems with painting childs of components
Maybe this question was mention already but i cant find any answer...
Thats what could be found in API about method paintComponent in SwingUtilities:
Paints a component c on an arbitrary graphics g in the specified rectangle, specifying the rectangle's upper left corner and size. The component is reparented to a private container (whose parent becomes p) which prevents c.validate() and c.repaint() calls from propagating up the tree. The intermediate container has no other effect.
The component should either descend from JComponent or be another kind of lightweight component. A lightweight component is one whose "lightweight" property (returned by the Component isLightweight method) is true. If the Component is not lightweight, bad things map happen: crashes, exceptions, painting problems...
So this method perfectly works for simple Java components like JButton / JCheckbox e.t.c.
But there are problems with painting JScrollBar / JScrollPane (only background of this component appears).
I tried to understand why this happens and i think the answer is that it has child components that does not draw at all using SwingUtilities.paintComponent()
(JScrollBar got at least 2 childs - 2 buttons on its both sides for scroll)
Only parent component appears on graphics - and thats why i see only gray background of scrollbar
So is there any way to draw something like panel with a few components on it if i have some Graphics2D to paint on and component itself?
Simple example with JScrollPane:
JScrollPane pane = new JScrollPane(new JLabel("TEST"));
pane.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
pane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
SwingUtilities.paintComponent(g2d, pane, new JPanel(), 0, 0, 200, 200);Edited by: mgarin on Aug 11, 2008 7:48 AMWell the thing you advised could work... but this wont be effective, because i call repaint of the area, where Components painted, very often..
So it will lag like hell when i make 10-20 repaints in a second... (for e.g. when i drag anything i need mass repainting of the area)
Isnt there any more optimal way to do painting of the sub-components?
As i understand when any component (even complicated with childs) paints in swing - its paint method calls its child components paint() to show them... can this thing be reproduced to paint such components as JScrollPane? -
TO BLACKBERRY- YOU HAVE A PROBLEM WITH BLACKBERRY WORLD NOT ACCEPTING CREDIT CARDS
HI, I AM AN OWNER OF A BLACKBERRY Q10 AND A LOYAL BLACKBERRY USER SINCE THE 8800 SERIES BLACKBERRY CURVES. THERE IS SOME TYPE OF PROBLEM WITH BLACKBERRY WORLD. I AM CURRENTLY RUNNING 10.3.2.556. UNTIL LAST THURSDAY BLACKBERRY APP WORLD WORKED WITH MY CREDIT CARD. THEN ALL OF A SUDDEN IT JUST STOPPED. SAYING THAT THERE WAS A PROBLEM WITH THE TRANSACTION AND TO TRY AGAIN LATER. NOW I CANNOT USE MY CREDIT CARD AT ALL. I AM POSTING THIS IN MULTIPLE FORUM BECAUSE I AM NOT THE ONLY ONE HAVING THIS ISSUE. I HAVE RECENTLY POSTED THIS PROBLEM ON CRACKBERRY.COM AND OTHERS ARE HAVING THE SAME PROBLEM. http://forums.crackberry.com/ask-question-f432/why-blackberry-world-will-not-let-me-purchase-apps-when-working-before-1032609/?mn_qa=1#post11839564 AND IF YOU LOOK ON THIS SITE AND CRACKBERRY FURTHER YOU WILL SEE OTHERS ARE HAVING SIMILAR ISSUES. I HAVE ALREADY TRIED TO GO ONTO THE BLACKBERRY APP SITE ON MY COMPUTER BUT NOW THERE IS NO OPTION TO CHANGE THE PAYMENT OPTIONS THERE ANY MORE. WHAT IS THIS. WHY IS IT HAPPENING?????? CAN YOU PLEASE LOOK INTO THIS PLEASE WHOMEVER FROM BLACKBERRY SEES THIS POST. SINCE THERE IS NO NUMBER TO CALL FOR HELP ABOUT THIS I AM POSTING HERE UNTIL SOME TYPE OF BLACKBERRY PERSON ANWERS. I AM ALSO GOING TO TRY AND POST THIS IN THE FORUMS FOR Q10, CLASSIC, PASSPORT, LEAP, ETC., SO SOMEBODY CAN HELP US. SOME PEOPLE SAY IT HAS BEEN GOING ON FOR MONTHS ON THEIR ACCOUNT AND NOTHING HAS BEEN DONE. HELP US PLEASE. THANK YOU.
I have the same problem today. Suddenly Appworld stopped accepting my AMEX credit card. I called AMEX and they told me that all is notmal from their sied and that they did authorize transactions. However, Approwld says that credit card cannot be accepted. WHAT A MESS!!! And there is NO EMAIL or phone number to contact regarding this problem which is quite RIDICULOUS !!!
-
Problem with calling on some numbers
Hi my mum has problem with calling on my number. She is in the USA and has a lof of money on her Skype account. When she was in Poland (country when I am now) she could without any troubles calling on my number. What is wird now in the USA she can call on some other polish numbers (I think that Skype doesn't support connection with my mobile operator).
I fell deceived because I created Skype account and transfered some money on it for my mum to give her possibility to call to me. Is possible to fix it? Is somewhere table with can help me check which one numbers (mobile operators) Skype supports in the USA?
My mom used Skype from Android smartphone.Hi my mum has problem with calling on my number. She is in the USA and has a lof of money on her Skype account. When she was in Poland (country when I am now) she could without any troubles calling on my number. What is wird now in the USA she can call on some other polish numbers (I think that Skype doesn't support connection with my mobile operator).
I fell deceived because I created Skype account and transfered some money on it for my mum to give her possibility to call to me. Is possible to fix it? Is somewhere table with can help me check which one numbers (mobile operators) Skype supports in the USA?
My mom used Skype from Android smartphone. -
Problem with value in object element declared as NUMBER(26,3)
We have an object OBJ_NAME_1 created like below and total element in the object are around 100 with in which only one element is of data type VARCHAR2(4000). Other are with small size as below
create or replace TYPE OBJ_NAME_1 AS OBJECT
( v_col1 VARCHAR2(4),
v_col2 VARCHAR2(4),
d_date DATE,
amount_1 NUMBER(26,3) . . . . . . . . . . .)
And we are creating an VARRY of above object as below:
create or replace TYPE ARRAY_NAME_1 AS VARRAY(1000) OF OBJ_NAME_1
Now we have one procedure with IN parameter of type ARRAY_NAME_1 as below and we are calling this procedure from java.
create or replace PROCEDURE SP_PROC_1 (
P_ARR_1 IN ARRAY_NAME_1,
P_FILE IN VARCHAR2,
E_MESS OUT VARCHAR2,
E_CODE OUT NUMBER) . . . . . . . .
My problem is with value of element amount_1 of array ARRAY_NAME_1 in the procedure. Actually data type of this element is NUMBER(26,3) in object. But from java we are able to pass value like 1234.12345 (with 5 decimal).
The declare section of the procedure are like below :
l_OBJ_NAME_1 OBJ_NAME_1;
m_amount_1 table_1.amount_1%type; /* amount_1 in table_1 declared as NUMBER(26,3)*/
n_amount_1 NUMBER(26,3);
In the begin section we are assigning variable like below:
IF (P_ARR_1 .COUNT>0) THEN
FOR i IN P_ARR_1.FIRST .. P_ARR_1.LAST LOOP
l_OBJ_NAME_1 := P_ARR_1(i);
m_amount_1 := P_ARR_1(i).amount_1;
n_amount_1 := P_ARR_1(i).amount_1;
END LOOP;
The value of variables are below after above assignment:
l_OBJ_NAME_1 . Amount_1 → 234.12345 (without round off)
m_amount_1 → 234.12345 (without round off)
n_amount_1 → 234.123 (with round off)
Actually all the above 3 variable/element has been declared as NUMBER(26,3), then the value in these variables should be with rounded up to 3 decimal place. Then why it is not happening with variable
l_OBJ_NAME_1 . Amount_1 and m_amount_1?
Please help.
Edited by: SANT007 on Aug 12, 2011 9:45 AMOkay, thanks Patrick. I commented that out so now I can see the full error message. Actually, now the page just returns an "OK" (nothing else), and I click on that to return back to the page where I see:
Checksum error for Hidden and Protected item ID (26968176992578859), value ([object]), posted checksum (326873D5A54A4AF425EC4D500B9B4D02), expected checksum (********************************), index_i (10), index_j (2), index_m (2);
Okay, so that's evidently a new option in 3.1, it should have just been a 'Hidden' item, not 'Hidden and Protected'. So, I change this back to just 'Hidden', refressh the page, the re-execute it and try to select from the popup again. This time, instead of the more-or-less blank page with only "OK" on it, I also get "ORA-01722: invalid number" above the "OK". When I click the "OK", then I am returned back to the last good 'runnable' page I executed (since the search page is no longer 'runnable' (the javascript evidently is still returning an object instead of a number).
On a previous run of trying to track the problem down, I made the :P3_SEQ as a regular text field so I could try to see what was going on, and it briefly displayed "[object]" before the search executed and returned the error.
So thanks for helping me get past the first stage so I could see a better version of what the error is. Now I just need to figure out why an object is being returned instead of number. This worked fine in 3.0, and the only thing I can think of is that something, somewhere in 3.1's javascript is slightly different now, but I really don't know.
Bill Ferguson -
Problems with value retorned by FM: 'SPELL_AMOUNT' with language 'ES'
Hi,
I'm having problems with the FM 'SPELL_AMOUNT' with language 'ES'.
When amount it's over 1 billion, the output is something like this:
<b>Amount (NUM)</b>--<b>Actual output</b>--
<b>wanted output</b>
1.000.000.000, 00 -
Un Millardo Millones -
Un Millardo or Mil Millones
25.000.000.000,00 -
Veinticinco millardos millones -
Veinticinco millardos or veinticincomil millones
Please, if somebody could help me, god bless you!!!
<b>Alexis Sanchez
ABAP Trainee
Valencia, Venezuela</b>Hi,
I tested it in SE37, i am getting the correct output, Please make sure that you are passing all the values correctly i mean the CURRENCY .
Regards
Sudheer -
Facing problem with Value Help
Hi Friends,
I am trying to use Value helps for 4 different variables.
When I click on any Value help for a range of that variable, it gives list of 1st variable only.
Please help..
JatinHi,
What is "We need all the variables with value help in a single form".
For this creat all variables with single form and then add value helps there.
You are getting same list means you are creating (using same design parameters) for both fields:
comp_code and Emp_code .
I think u did mistake in fields mapping while creating value help i.e step no 2
Can u check this once and if this is not correct just send ur gml file i will check and let u know the problem
Regards,
Govindu -
[Solved] Problem with GTK+ themes (some of the applications look ugly)
Hey everyone,
I just switched to Arch and have problems with getting the GTK+ themes to work. Some applications (i.e. pcmanfm, firefox) use the theme I set with lxappearance and other like transmission still look ugly. Any ideas what am I doing wrong?
Screenshot: http://s18.postimage.org/pz339bje1/screen.jpg
greets
Last edited by uns1gn3d (2013-02-01 16:32:52)Another possibility is that you have the correct theme but don't have the associated theme engine installed. Poke around the themes a bit:
For a GTK2 theme: in the "theme/gtk-2.0/gtkrc" file look for the line that says "engine" and a name. Make sure you have that name installed.
For a GTK3 theme: in the "theme/gtk-3.0/gtk.css" file also look for "engine" and the name. Also make sure that engine is installed.
Themes are almost always in "/usr/share/themes/theme_name"
The files you look for to see which engine a theme uses may be in different files than the ones specified above, poke around in the files. The file that specifies the engine will be a text file so you can look at them using "less" or an alternative.
Last edited by headkase (2013-02-01 15:41:21) -
Problems with CRC in some windows app's whit zip files generated with Java
Hello,
That is very strange but, we have an app for compressing a folder into a zip. For making, we use the Java.Util.Zip API. Our zip file looks fine, we can unzip the files into another folder without problems, even we can open the file with Winzip or Winrar.
But, we had encountered problems with anothers win apps like "Recovery ToolBox", or another win app built with the "Dynazip.dll" library. This apps give us the next error.
"Bad Crc".
But if we unzip this "corrupt" file and we zip the content again, all work without errors.
[http://img297.imageshack.us/i/dibujoou.jpg/]
Our code (this function only zips a single file):
public static File zipFile(String sFile, String sNameFileIn, String sFileOut)
throws IOException {
File file = new File(sFile);
FileOutputStream out = new FileOutputStream(sFileOut);
FileInputStream fin = new FileInputStream(file);
byte[] fileContent = new byte[(int) file.length()];
fin.read(fileContent);
ByteArrayOutputStream bout = new ByteArrayOutputStream();
ZipOutputStream zout = new ZipOutputStream(bout);
ZipEntry zipEntry = new ZipEntry(sNameFileIn);
zout.putNextEntry(zipEntry);
zout.write(fileContent, 0, fileContent.length);
zout.closeEntry();
zout.finish();
zout.flush();
zout.close();
out.write(bout.toByteArray());
out.flush();
out.close();
File fich = new File(sFileOut);
fin.close();
return fich;
}I try to calculate the crc number for my own without success... I don't know what's happening
Thanks in advanceFileOutputStream out = new FileOutputStream(sFileOut);ZipOutputStream zout = new ZipOutputStream(new FileOutputStream(sFileOut));
byte[] fileContent = new byte[(int) file.length()];Here you are assuming the file size is <= Integer.MAX_VALUE. What if it isn't? Remove.
fin.read(fileContent);Here you are assuming you filled the buffer. There is nothing in the API specification to warrant that assumption. Remove. See below.
ByteArrayOutputStream bout = new ByteArrayOutputStream();
ZipOutputStream zout = new ZipOutputStream(bout);Remove.
ZipEntry zipEntry = new ZipEntry(sNameFileIn);
zout.putNextEntry(zipEntry);Correct.
zout.write(fileContent, 0, fileContent.length);int count;
byte[] buffer = new byte[8192];
while ((count = fin.read(buffer)) > 0)
zout.write(buffer, 0, count);
zout.closeEntry();Correct.
zout.finish();
zout.flush();Redundant but not incorrect.
zout.close();Correct.
out.write(bout.toByteArray());
out.flush();
out.close();Remove.
File fich = new File(sFileOut);
fin.close();
return fich;I don't know why this method returns a File constructed out of one of its own arguments, which the caller could equally well do for himself, otherwise OK.
Maybe you are looking for
-
How to get Maximum Number of Concurrent users for last few days?
Hi, How I can get maximum number of concurrent users which were logged in to the system (ECC 5.0) I mean I want to check the hostory for last few weeks. Is there any way to get the same? I know that I can get Cumulative number of users in st03 under
-
Migration from BE3000 to BE6000
Hi, Has anyone done a successful migration from BE3000 to BE6000? I need the guides. Please assist. Thanks
-
IChat screensharing won't fully connect with dual-monitor setup
I've read through several threads but none seem to match the peculiar problem I am having. My mum just got a new "13 MacBook Air and an external LG LED (E2240T) monitor. I ran software update on it so her system is current, as is mine (late 2009 MBP/
-
Working iWeb project on multiple macs
I have an iMac at work and a powerbook at home (i know, backwards). I have started building a site in iWeb at work and would like to be able to work on the project at both locations (home and work). Is there any simple way to do this? I did find a su
-
Weird colored patterns in RGB mode document with Illustrator CC
Hi guys, I'm having weird glitches in Illustrator CC: when I open a new document with RGB mode, the artboard displays colored patterns : These patterns change when I move inside the artboard, when I zoom in ... I don't have this behavior when I work