Developer 6.0 WebForms display problems
Well, looking at all the submissions here regarding fonts, etc., I don't think I'm alone here.
I am trying to migrate a Forms 4.5 application to Forms 6.0 so that I can use WebForms to run it over the Web. I'm using Developer 6.0 with Patch 5A applied, against OAS 4.0.7.1 on NT 4.0 SP 3 and a 8.1.5 database.
Before I applied the patch, I had the following problems:
- Icons on buttonbar were clipped around the edges, but appeared centred.
- Embedded images didn't display at all.
- A form using Verdana font for small text didn't display it's text.
- A login window appeared in the centre of the screen (OK).
After I applied the patch, the embedded images did display - yeeeehaaaa! However, I still have the following problems:
- The icons on the buttonbar now are indented from the left, with about 2mm of button that just wont show my image, with the image now off to the right and pushed upwards (worse than before!)
- The Verdana font still doesn't display, and I've tried adding it to the Registry.dat file to map it to a Java font. I might try using the FORMS60_DEFAULTFONT entry in the registry as mentioned elsewhere here (anyone tried this?)
- The login window is now "jammed" up into the top left of the Applet so that I can't see the input fields and can't move the window as I can't click its title bar (NOT OK).
If anyone has had similar problems, I'd like to hear from you - especially if you found how to fix any of these problems! If you've found that they're "unsolveable", I'd like to know that too.
In the last few years, I've been to SO many Oracle seminars/conferences, etc to hear them saying that WebForms works and is the only enterprise solution, etc. Why then, do they still have cosmetic problems with their product when it comes to things as simple as images on toolbars? I agree with others that they do not appear to be living up to their "hype".
Well, I haven't received any replies, but I have managed to find the cause and some solutions to some of the problems I mentioned.
I'm still having problems with the icons on the buttonbar having a left indent-type effect. Although, I can make it look bearable by modifying the images a bit.
The reason my login dialog was not being centred was to do with the Form using FORMS_MDI_WINDOW to get the width and height dimensions of the window in calculating where to place it. This works fine in the client-server version, but not the WebForms version. It appears to return 0. As this worked fine in the initial pre-patch version, my guess is that it was OK then, but not since Patch 5A was installed. I have worked around this for the time being by testing for dimensions of 0 and using an assumed size of 700x400 by default.
I managed to get the text on the Form using Verdana font to display afterall, although not in Verdana font as it maps to a Java font anyway. The problem wasn't actually with the Verdana font, it was that the canvas and item had large widths specified (so as to force scrollbars) and the text was actually way off to the left where it was not visible within the Java window. After I set the width to a value nearer to the windows width, I could see the text.
Although there can be problems when the window is resized as it doesn't "anchor" the content using the left side and provide scrollbars to go left and right to see all the content. It seems to try and make the field with current focus remain in the window, regardless if it means "hiding" the rest of the canvas. This may be a case of Java's Layout Managers not working the same as Windows?
I hope this helps others with similar problems. And if anyone has any ideas on my outstanding issues, I'd appreciate any emails.
Gene
Similar Messages
-
Hello -
My iMac has developed a video display problem. Everything now appears in a strange, cartoonish way. Purples, greens, blues. Can this be fixed, and if so, any idea how much it might cost? Also, could I output to a seperate monitor? I plan to replace the unit , but cannot right now. Thanks!Go to System Preferences > Universal Access > Seeing.
In the Display area, reset it to "Black on white" by clicking that checkbox.
You can also reset it by pressing Command-Option-Control-8 -
Sql developer UTF-8 display problems
Hi
I use a development tool that is supposed to allow utf-8 encoding. If you enter text 'ABCDÉFGH' (É is ctrl alt E) through the software it is written to a VARCHAR2 value. When you look at the value using SQL Developer or (Congnos Impromptu) this value is displayed as ABCDÃFGH.
Should Sql Developer convert à to É when displaying the value. Or is the problem with the development tool where it is not writing the value to the table correctly.
linux/unix platform.
The following NLS_DATABASE_PARAMETERS are.
PARAMETER VALUE
NLS_LANGUAGE ENGLISH
NLS_TERRITORY UNITED KINGDOM
NLS_CURRENCY #
NLS_ISO_CURRENCY UNITED KINGDOM
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET AL32UTF8
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE ENGLISH
NLS_SORT BINARY
NLS_TIME_FORMAT HH24.MI.SSXFF
NLS_TIMESTAMP_FORMAT DD-MON-RR HH24.MI.SSXFF
NLS_TIME_TZ_FORMAT HH24.MI.SSXFF TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH24.MI.SSXFF TZR
NLS_DUAL_CURRENCY ?
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET UTF8
NLS_RDBMS_VERSION 10.2.0.4.0
thanks
andy
Edited by: user8646247 on 21-Jul-2009 06:39There is a forum dedicated to SQL Developer, which is monitored by members of the product dev team. You should consider posting your question there. [Link to forum|http://forums.oracle.com/forums/forum.jspa?forumID=260].
Cheers, APC
blog: http://radiofreetooting.blogspot.com -
Display problem after RAM Upgrade to MS6712
Hi there,
after a RAM upgrade (512mb to 3GB) my PC has developed a display problem. The graphics are slow / rippled and video playback is very poor. In device manager no "display adapters" are present and there is also an error mesage referring to the VIA CPU to AGP2/AGP3.0 controller not having enough free resources to run due to a conflisct with VGAsave? I've downloaded the latest VIA chipset drivers to no effect?
System info: MS6712 MB, AMD Athlon 1.25GHZ, XP SP3.0OK, here's the info on my PSU;
It's a Powerman FSP250-60GTU(PF). Input: 230V - 5A, 50Hz. Max Output: 250W
While I had the case open I took out 2 of the RAM modules and without making any other changes everything appeared to work fine with just the 1GB, so I tried putting 1 more back in to take it to 2GB and again all seems fine? Does this indeed point to my PSU then? If so and it works fine with 2GB should I be thankfull for a 512mb to 2GB upgrade and send the 3rd module back to Crucial??
Before I posted this thread I did run a memtest from Memtest86+ with all three modules installed and it came up with NO problems?
Re Henry's post, I searched using the format of the part no on the RAM modules themselves i.e. M368L2923FLN-CB3 and it took me here:
http://www.samsung.com/global/business/semiconductor/productListNonflexTable.do?fmly_id=118&sht_id=1
Other info on printed the modules themselves: 1GB DDR PC2700 CL2.5
According to Everest my CPU temp (with 2GB installed) is: 43 degrees (MOBO 30 degrees and HD 42 degrees) - do these seem normal? -
Display problem only on win xp / 7 32bit ff fp version 0,1,102,64
iam a flash flex developer and have the following problem:
( sorry for my bad english )
at the start of my app iam playing a flv video, on [ firefox, windows 32, flashplayer 10,1,102,64, ] i get the following display error:
- the flash position is wrong, also the scaling and the video stops after a few seconds ( differs every reload )
- when i check position and scaling / or size in html with firebug everything looks correct.
- also hardware acceleration on or off changes nothing
- also caching is not the problem
here the screen from all other browsers:
- the video plays to the end and everything behaves correct.
has anyone a explanation?
or can someone recheck the problem:
holter.vfwebserver.com
regards andyWhat version of Firefox are you using, and do you use the FF plugin_container?
I don't know if this is actually a Flash Player problem; perhaps you should also ask in the Flash or Flex forum. -
Display problems in Mail messages with image attachment
Issue: Seeing intermittent display problems in Mail messages with image attachments
Annoyance level: minor, but Apple techs need to pass it along
Details: Regardless of mail client sending to iPhone (Outlook, OWA, Yahoo, Gmail) there are intermittent and what appear to be random occurrances of the pic being half rendered and/or the pic never loading (followed by message saying it can't be retrieved from server). In some instances the picture then appears fully rendered without a problem. Note: Image sizes varied from 14KB to 450KBHi,
I'm not familiar with C#, but if possible try the following:
1. Removing all thead and tbody tags from the body of the message.
2. Changing all inline CSS to embedded CSS.
I've seen a user said the message stopped showing up after making the changes.
If the issue persists, please note, since Outlook 2007, Outlook opens the HTML Email and converts it to Microsoft Word format before displaying it to the user. What happens during this process is that many CSS attributes and HTML support is completely removed.
Some of the most notable absences are background-image, and padding and margin support. Hardly can we do much about this, so the message "If there are problems with how this email is displayed, click here to view it in a web browser" is actually
a good workaround when we face this problem.
Regards,
Melon Chen
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
My new MacBook Pro has display problems
I am new to Mac. I had purchased a brand new MacBook Pro 13 inches with i7 processor on April2 this year, Within 10 days the display screen started to grey out and later on develop horizontal lines. I telephoned Apple support and when a telephonic solution became unlikely I was asked to take it to an Apple Authorized service centre in my town. The technician there could not clearly explain to me what was wrong with the system, but I understood him to say that he has reinstalled the graphics driver and the system was trouble free for a prolonged time thereafter (at the service centre). I also understood him to say that should the problem recur again, he would have to replace the motherboard. I was on a travelling tour for a week after this and was not able to test out this repair (I took my old windows system with me for the travel) To my utter dismay the problem has recurred again after 28 days of purchase. I have attached screenshots. The button for uploaing videos is greyed out therefore I will have to restrict myself to screenshots. All the three screen images occcur
in turn and the system becomes unusable and I have to use the poweroff button. The display problems start within 10 minutes of switiching on the system.
I took some time to discover these forums. The first time this problem occurred on my machin I posted this problem on mac-forums and I was advised to take it to an Apple store and let the apple genius bar worry about this one. I do not live wihtin any sort of manageable distance from such a place and the repair centre is an Apple Authorized Service Provider
Coming to the emotional aspects of this technological glitch. I feel like I have been hit by a truck.I had saved and scraped pennies to buy this dream machine and I believed I was escaping the ficleness of windows. But no windows system of mine (I have three) become so unusable
Will I have to spend time and effort to lug this machine to service centre to replace each of its component parts one by one ? Can I ever trust this machine to provide a presentation to an audience? What sort of an impression will I create if the system plays this trick on me in the middle of some presentation?Shootis007, What is CC company? I googled CC and got many different answers.
I called Apple Support and told them my story and pressed for replacement and they told me repeatedly that there is no policy for replacement. The initial support person who attended my call asked me to take it to the seller and ask the seller for replacement. I dont think that is the way to go. I dont know what is his fault. He gave me a brand new system, the package was opened by me. Since I am new to Mac, I had taken a Mac user friend with me who showed me how to get started (right there in the shop) Neither the experienced Mac user friend nor I felt anything remiss at that time or later at the Seller level. Nevertheless I called the reseller and he explained his helplessness. I dont think it his fault at all.
Since I kept insisting on replacment I was put through to another support person who took pains to reassure me that I should get the defective part replaced and thereafter all will be well. For now I trust him. I have no other alternative
I really am puzzled. All you dear Mac users should know that the machine I dreamed of and really saved to purchase is giving me no end of troubles whereas my three windows machines sit there with their numerous stated deficiencies but gives me uninterrupted service -
Hi,
We are creating an app and having some display problems that
only seems to be affecting OSX browsers. We have a custom component
that is based on a canvas. We dynamically add several of these
components to other display components at runtime ( through
actionscript by calling addChild usually ). Everything displays
fine on Windows browsers (Firefox, IE, Safari) but when loading it
in firefox or safari on osx, all we see is a blank space where the
component should be visible. Does anyone have any ideas?
ThanksI'm not sure that I can send a link, corporate web app and
all...
but it's very puzzling, I don't believe it is due to render
times, reports say it just never displays. I might have to try and
track down a mac development machine for a few days of testing as I
don't have a mac locally and makes it a real pain in the neck to
debug since I don't even know what I'm looking for. I thought I
would post here and see if anyone else has ever encountered
anything even remotely similar.
Thanks -
Wierd lines on my display and frequent lock-ups w/ and w/o display problems
When booting I sometimes get weird lines and blocks on my display (the GRAY Apple screen) and then it hangs, other times the computer will boot and run fine for 20-30 minutes and then the display goes wonkers with blocks and lines and the computer does not respond. The only way I can get it to boot is to reset the PRAM by letting it CHIME 3x and then occasionally it will boot without issue and run, while other times I still get the blocks and lines on the display.
When I am able to get it to recover and re-boot after the lock-up and display problems and occasionally the box in the middle asking me to re-boot similar to a kernel panic the OPS gives me the option to REPORT the error and here is the error for others who would know more...
Thank you in advance,
Darren
Interval Since Last Panic Report: 104960 sec
Panics Since Last Report: 5
Anonymous UUID: 7D1AEF43-7E19-4F58-A1E0-48FA992A2814
Wed Nov 18 15:49:50 2009
panic(cpu 0 caller 0x9cdb10): NVRM[0/1:0:0]: Read Error 0x00009410: CFG 0xffffffff 0xffffffff 0xd2000000, BAR0 0xd2000000 0x5d3e2000 0x084700a2, D0, P1/4
Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
0x5c99b7d8 : 0x21b2bd (0x5cf868 0x5c99b80c 0x223719 0x0)
0x5c99b828 : 0x9cdb10 (0xbb7fec 0xc209c0 0xbc3660 0x0)
0x5c99b8c8 : 0x147690d (0x8b5ac04 0x7edf004 0x9410 0xabd962)
0x5c99b908 : 0x1534e6a (0x7edf004 0x9410 0x5c99b968 0x9)
0x5c99b948 : 0xb51ca5 (0x7edf004 0x91ed004 0x0 0x0)
0x5c99b968 : 0xac155b (0x91ed004 0x5c99baa4 0x0 0x0)
0x5c99b9b8 : 0x145f290 (0x7edf004 0x3d0900 0x5c99baa4 0x0)
0x5c99bad8 : 0xab2821 (0x7edf004 0x91cf004 0x815200c 0x200)
0x5c99bb18 : 0xb1f172 (0x7edf004 0x91cf004 0xeb9bcc0 0xeb9bc04)
0x5c99bbc8 : 0xb202db (0x7edf004 0x91f0404 0x0 0x0)
0x5c99bc58 : 0x14bb7a3 (0x7edf004 0x91f0404 0x9 0x2)
0x5c99bd68 : 0x14ed407 (0x7edf004 0x91cf404 0x0 0x0)
0x5c99be98 : 0xad3934 (0x7edf004 0x91ca404 0x0 0x0)
0x5c99bec8 : 0x9d61fb (0x7edf004 0x91ca404 0x0 0x0)
0x5c99bf08 : 0x5491b5 (0x0 0x9499680 0x1 0x29c50a)
0x5c99bf58 : 0x5481e6 (0x9499680 0x1 0x5c99bf88 0x547d9d)
0x5c99bf88 : 0x548640 (0x8abaf00 0x7e9ecc0 0xe780850c 0x2a6e5f)
0x5c99bfc8 : 0x29d68c (0x8abaf00 0x0 0x10 0x88bbfc4)
Kernel Extensions in backtrace (with dependencies):
com.apple.nvidia.nv50hal(6.0.6)@0x136b000->0x17f1fff
dependency: com.apple.NVDAResman(6.0.6)@0x96f000
com.apple.NVDAResman(6.0.6)@0x96f000->0xc21fff
dependency: com.apple.iokit.IOPCIFamily(2.6)@0x932000
dependency: com.apple.iokit.IONDRVSupport(2.0)@0x961000
dependency: com.apple.iokit.IOGraphicsFamily(2.0)@0x943000
BSD process name corresponding to current thread: kernel_task
Mac OS version:
10C540
Kernel version:
Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386
System model name: MacBookPro3,1 (Mac-F4238BC8)
System uptime in nanoseconds: 3788331456483
unloaded kexts:
com.apple.driver.AppleFileSystemDriver 2.0 (addr 0xf02000, size 0x12288) - last unloaded 94521475551
loaded kexts:
org.virtualbox.kext.VBoxNetAdp 2.2.2
org.virtualbox.kext.VBoxNetFlt 2.2.2
org.virtualbox.kext.VBoxUSB 2.2.2
org.virtualbox.kext.VBoxDrv 2.2.2
com.bresink.driver.BRESINKx86Monitoring 5.0
com.pctools.iantivirus.kfs 1.0.1
com.apple.driver.AppleHWSensor 1.9.2d0 - last loaded 31800108689
com.apple.filesystems.ntfs 3.1
com.apple.filesystems.autofs 2.1.0
com.apple.driver.AppleHDA 1.7.9a4
com.apple.driver.AirPort.Atheros 412.19.4
com.apple.kext.AppleSMCLMU 1.4.5d1
com.apple.driver.SMCMotionSensor 3.0.0d4
com.apple.DontSteal_Mac_OSX 7.0.0
com.apple.driver.AudioIPCDriver 1.1.2
com.apple.driver.AppleIntelMeromProfile 19
com.apple.driver.ACPISMCPlatformPlugin 4.0.1d0
com.apple.driver.AppleLPC 1.4.9
com.apple.driver.AppleBacklight 170.0.14
com.apple.driver.AppleUpstreamUserClient 3.1.0
com.apple.GeForce 6.0.6
com.apple.driver.AppleUSBTrackpad 1.8.0b4
com.apple.driver.AppleUSBTCKeyEventDriver 1.8.0b4
com.apple.driver.AppleUSBTCKeyboard 1.8.0b4
com.apple.iokit.SCSITaskUserClient 2.6.0
com.apple.BootCache 31
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.iokit.IOAHCIBlockStorage 1.6.0
com.apple.iokit.AppleYukon2 3.1.14b1
com.apple.driver.AppleAHCIPort 2.0.1
com.apple.driver.AppleSmartBatteryManager 160.0.0
com.apple.driver.AppleIntelPIIXATA 2.5.0
com.apple.driver.AppleUSBHub 3.8.4
com.apple.driver.AppleFWOHCI 4.4.0
com.apple.driver.AppleUSBEHCI 3.7.5
com.apple.driver.AppleUSBUHCI 3.7.5
com.apple.driver.AppleEFINVRAM 1.3.0
com.apple.driver.AppleRTC 1.3
com.apple.driver.AppleHPET 1.4
com.apple.driver.AppleACPIButtons 1.3
com.apple.driver.AppleSMBIOS 1.4
com.apple.driver.AppleACPIEC 1.3
com.apple.driver.AppleAPIC 1.4
com.apple.security.sandbox 0
com.apple.security.quarantine 0
com.apple.nke.applicationfirewall 2.1.11
com.apple.driver.AppleIntelCPUPowerManagementClient 96.0.0
com.apple.driver.AppleIntelCPUPowerManagement 96.0.0
com.apple.driver.DspFuncLib 1.7.9a4
com.apple.driver.AppleProfileReadCounterAction 17
com.apple.driver.AppleProfileTimestampAction 10
com.apple.driver.AppleProfileThreadInfoAction 14
com.apple.driver.AppleProfileRegisterStateAction 10
com.apple.driver.AppleProfileKEventAction 10
com.apple.driver.AppleProfileCallstackAction 20
com.apple.iokit.IOFireWireIP 2.0.3
com.apple.iokit.IO80211Family 310.6
com.apple.iokit.IOSurface 73.0
com.apple.iokit.IOBluetoothSerialManager 2.2.4f3
com.apple.iokit.IOSerialFamily 10.0.3
com.apple.iokit.IOAudioFamily 1.7.2fc1
com.apple.kext.OSvKernDSPLib 1.3
com.apple.driver.AppleHDAController 1.7.9a4
com.apple.iokit.IOHDAFamily 1.7.9a4
com.apple.iokit.AppleProfileFamily 41
com.apple.driver.AppleSMC 3.0.1d2
com.apple.driver.IOPlatformPluginFamily 4.0.1d0
com.apple.nvidia.nv50hal 6.0.6
com.apple.NVDAResman 6.0.6
com.apple.iokit.IONDRVSupport 2.0
com.apple.iokit.IOGraphicsFamily 2.0
com.apple.driver.CSRUSBBluetoothHCIController 2.2.4f3
com.apple.driver.AppleUSBBluetoothHCIController 2.2.4f3
com.apple.iokit.IOBluetoothFamily 2.2.4f3
com.apple.iokit.IOUSBHIDDriver 3.8.4
com.apple.driver.AppleUSBMergeNub 3.8.5
com.apple.driver.AppleUSBComposite 3.7.5
com.apple.iokit.IOSCSIMultimediaCommandsDevice 2.6.0
com.apple.iokit.IOBDStorageFamily 1.6
com.apple.iokit.IODVDStorageFamily 1.6
com.apple.iokit.IOCDStorageFamily 1.6
com.apple.driver.XsanFilter 402.1
com.apple.iokit.IONetworkingFamily 1.9
com.apple.iokit.IOATAPIProtocolTransport 2.5.0
com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.0
com.apple.iokit.IOAHCIFamily 2.0.2
com.apple.iokit.IOATAFamily 2.5.0
com.apple.iokit.IOUSBUserClient 3.8.5
com.apple.iokit.IOFireWireFamily 4.1.7
com.apple.iokit.IOUSBFamily 3.8.5
com.apple.driver.AppleEFIRuntime 1.3.0
com.apple.iokit.IOHIDFamily 1.6.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 6
com.apple.driver.DiskImages 281
com.apple.iokit.IOStorageFamily 1.6
com.apple.driver.AppleACPIPlatform 1.3
com.apple.iokit.IOPCIFamily 2.6
com.apple.iokit.IOACPIFamily 1.3.0
Model: MacBookPro3,1, BootROM MBP31.0070.B07, 2 processors, Intel Core 2 Duo, 2.2 GHz, 4 GB, SMC 1.16f11
Graphics: NVIDIA GeForce 8600M GT, GeForce 8600M GT, PCIe, 128 MB
Memory Module: global_name
AirPort: spairportwireless_card_type_airportextreme (0x168C, 0x87), Atheros 5416: 2.0.19.4
Bluetooth: Version 2.2.4f3, 2 service, 0 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
PCI Card: pci168c,24, sppci_othernetwork, PCI Slot 5
Serial ATA Device: ST9320421ASG, 298.09 GB
Parallel ATA Device: MATSHITADVD-R UJ-857E
USB Device: Built-in iSight, 0x05ac (Apple Inc.), 0x8502, 0xfd400000
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x021a, 0x5d200000
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8205, 0x1a100000
Anyone know what is causing my problems? I thought it was heat so I downloaded a CPU and FAN temperature monitor and the CPU was getting VERY HOT at first so I then ramped-up the CPU FAN SPEED to maximum - it turns out the CPU FAN was not rotating well at low speed - since then I have cleaned and checked the fans and they all work as they should and blow on high(er) when the CPU temperature is above a certain level.S.U.
Is there a kb article or something that would illuminate what to look for in these logs, or is it a matter of learning by osmosis?
Both. I am not skilled in reading logs. It is a very technical and time consuming task for the uninitiated (me!) In scanning a log I look for the backtrace and loading dependencies. The first item in the backtrace is usually the roadblock.
Beyond that you can look at the Technical Note TN2063: Understanding and Debugging Kernel Panics
Should make for good bedtime reading. Puts you right to sleep.
c -
Display Problem with RowHeader of a Scroll Pane
Hi,
I am trying to display row headers for a table using another table
Here is the code
import javax.swing.*;
import javax.swing.table.*;
public class RowNumberHeader extends JTable {
protected JTable mainTable;
public RowNumberHeader(JTable table) {
super();
mainTable = table;
setModel(new RowNumberTableModel());
setRowSelectionAllowed(false);
JComponent renderer = (JComponent)getDefaultRenderer(Object.class);
public int getRowHeight(int row) {
return mainTable.getRowHeight();
class RowNumberTableModel extends AbstractTableModel {
public int getRowCount() {
return mainTable.getModel().getRowCount();
public int getColumnCount() {
return 1;
public Object getValueAt(int row, int column) {
return new Integer(row + 1);
}and then
JTable displayTable = new JTable(...);
scrollPane = new JScrollPane(displayTable);
JViewport jvp = new JViewport();
jvp.setView(new RowNumberHeader(displayTable));
scrollPane.setRowHeader(jvp);the problem I have is that when a row is selected inside the row header, some rows go blank and you can see the selection is all screwed up. I tried setting the selection mode to ListSelectionModel.SINGLE_SELECTION but that didn't help.
A refresh of the entire screen (minimize/maximize) seems to resolve the problem. I am using jdk1.4.1 in Windows 2000.
Any ideas?
SylvainAgain the problem is that when you click on the row headers, some row header rows go blank (completely white) so you can't see what they show.
ie say I have table
Row 1 - 1 2 3
Row 2 - 2 4 5
Row 3 - 5 7 7
Row 4 - 5 6 7where Row X is the row header. So for example, if you click on Row 2, you will get something like
Row 1 - 1 2 3
Row 2 - 2 4 5
- 5 7 7
Row 4 - 5 6 7until the screen is refreshed or you click some other row header.
hmm ok, I added calling repaint on the table whenever a row is selected and at least the display problem goes away; however, the selected indexes from the event don't always match the index of the row selected. I think actually that may be the source of the display problem.
Here is the code I added in the constructor:
getSelectionModel().addListSelectionListener(new ListSelectionListener()
public void valueChanged(ListSelectionEvent e)
System.out.println("Header table selection is: First = " + e.getFirstIndex() +
" Last = " + e.getLastIndex());
RowNumberHeader.this.repaint();
}); -
Macbook and HP 2510i monitor display problem - help
Hello,
I am having display problem with my Macbook (Intel) and my 25'' HP 2510i monitor via DVI.. Until last monday I do not have any problems and my monitor was working flawless with my macbook.. Last monday I used the monitor with my HP Notebook to try Windows 8 on large screen. And after that try when I connect the monitor back to Macbook there is no display.. I tried the steps below
- I connected Macbook to my Phillips Plasma TV and it worked (no error with display card of Macbook or the wire or the adaptor)
- I connected the monitor back to HP laptop it worked.. (so no error with the monitor)
- I unplugged monitor to cut electricity and tried.. nope not working
- I did several tricks with macbook no effect
- I reinstalled Mountain Lion .. no effect
- I formatted Macbook, reinstalled Snow Leopard.. Not working.. I installed back Mountain Lion .. not working
Whatever I tried the HP2510i is not displaying, mirroring my Macbook..
Any help will be appreciated
ThanksMy graphic card details;
NVIDIA GeForce 9400M:
Chipset Model: NVIDIA GeForce 9400M
Type: GPU
Bus: PCI
VRAM (Total): 256 MB
Vendor: NVIDIA (0x10de)
Device ID: 0x0863
Revision ID: 0x00b1
ROM Revision: 3462 -
My original post, locked by this forum. Display problem related
Hi G5 Gurus,
The display problem first, we all know when screen savers display, a click on the mouse will bring you back to the active desktop, this was how it worked., but now, sometimes a click cause the G5 to sleep!
As for the sleep, I dare not to put it to sleep these days, because I am afriad it may cause a fire by over heating. Sometmes, actually four times in the past few months, my G5 could wake up by itself, followed by a extrem high speed running of the cooling fan, it sounded like a hair dryer running in the same room. Sometimes the sreen could light up, just like real wake up, sometimes, it was black. No clicks the mouse or keyboeard could bring it back to normal, I had to press and hold the power button to turn it off.
This crazy problem happened for the first time last summer, a dead hard disk was the cost. Apple replaced it, but failed to detect the cooling or power or display problem. I was given one month extended free service, but right after its end, the problem was back and happened even more often.
Please let me know if any of you had the same problem and please advise what to do.
100s Gs of thanks.
Songyan
iMac G5 Mac OS X (10.4.8)
la teller
Posts: 1
From: Los Angeles
Registered: Jan 10, 2007
Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
Posted: Jan 10, 2007 2:21 PM in response to: Bad luck G5
I have the EXACT same problem. In fact, I could not have described it better myself. What gives? I brought it in to the "genius" bar and they repolaced the power supply free of charge but the problem is still there. I noticed they ordered a new logic board but did not end up replacing it after all. Did you have yours replaced and did it work? Is this a known issue?
imac G5 17 inch Mac OS X (10.3.9)
Bad luck G5
Posts: 8
From: UK
Registered: Jan 10, 2007
Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
Posted: Jan 11, 2007 1:20 PM in response to: la teller
Hi La teller,
Thank you for your reply. The 'genius' here in London only replace the dead hard disk, which I belive was a victim of this problem. I was told they couldn't find anything wrong with the power supply or the cooling system.
Now at lest I know I am not the only bad luck guy. Let's wait and see if others are having the same problem. I am not sure if this is a known issue to Apple, even if it is, it may take years before they can offer a recall or free repaire. I noticed that some G5s have already been suffering from power problems and a free repaire was offered.
Thank you again and hope Apple can take our concerns into their consideration soon.
Songyan
iMac G5 Mac OS X (10.4.8)
stopha6
Posts: 1
From: US
Registered: Jan 12, 2007
Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
Posted: Jan 12, 2007 7:43 AM in response to: Bad luck G5
Hello,
I'm also having this problem (fan running, won't come out of sleep), just spoke with an apple care rep. He confirmed my suspition that it was software, not hardware as I have just had the logic board and power supply replaced.
His suggestions were to:
1. Run disk repair from the startup CD
try running OS X from a firewire drive and see if the same behavior happens or
perform and archive and install.
When the fan starts to run like that it means the OS is not communicating with the hardware properly. The OS could be somewhat corrupt if you were having hardware issues beforehand, hence the need for a reinstall. I will be performing an archive and install after the disk repair, I'll let you know if it fixes the problem!
iMac G5 Mac OS X (10.4.8)
Bad luck G5
Posts: 8
From: UK
Registered: Jan 10, 2007
Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
Posted: Jan 14, 2007 12:52 PM in response to: stopha6
Hi Stopha6,
Thank you for your message. I never imagined it could be a software issue, cos it looked so hardware.
Please keep me updated with your progress.
By the way, as I said in my old posts, a hard disk went dead when this happened for the very first time, how do you read this?
Thank you.
Songyan
iMac G5 Mac OS X (10.4.8)
Bad luck G5
Posts: 8
From: UK
Registered: Jan 10, 2007
Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
Posted: Jan 15, 2007 6:58 AM in response to: stopha6
Hi Stopha6,
After reading your reply again, I realized that the system had already been reinstalled. As I said when it happened for the first time, the hard disk died with it, which was replaced, of course with a new OS X, but the same problem is still happening. May this suggest that it is not just a software problem? Thank you. Songyan
iMac G5 Mac OS X (10.4.8)
AG-Nate
Posts: 5
From: Pismo Beach,CA
Registered: Aug 26, 2006
Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
Posted: Jan 14, 2007 3:38 PM in response to: Bad luck G5
The Fans going at full is only because you have an application that is using a lot of cpu power and therefore causing the imac to heat up so it turns the fans on. The screen-saver and sleep problem you describe sounds like something that may just happen on accident. But this sounds mostly like a software problem. Try making sure to always quit all non-apple products and see if anything changes.
eMac, iMacG5 Mac OS X (10.4.7) 800mhz 1gig ram, 2ghz 2gigs of ram
Bad luck G5
Posts: 8
From: UK
Registered: Jan 10, 2007
Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
Posted: Jan 15, 2007 6:50 AM in response to: AG-Nate
Thank you, Ag-Nate. I will try as you adivised but I con't think the fans were activeted my intensive CPU using. In most of the cases, the problems happened when the Mac was sleeping, when the minimum CPU were being used.
iMac G5 Mac OS X (10.4.8)
Timothy Klein
Posts: 15
From: Denver, CO, USA
Registered: Dec 6, 2004
Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
Posted: Jan 31, 2007 1:02 PM in response to: AG-Nate
"The Fans going at full is only because you have an application that is using a lot of cpu power and therefore causing the imac to heat up so it turns the fans on."
That's only partly right. A hard-working process will make the fans run at high speed, of course.
But, the OS is in touch with the firmware of the iMac, telling it how to run the fans, based upon information the OS X kernel is getting about the state of the hardware.
If the firmware loses touch with the OS for some reason, and is not getting instructions on how to run the fan, it will default to running them at full blast, to be on the safe side (and this "full blast" fan mode is way louder than anything you'll generally experience during normal usage, I know from experience).
So it may not be so simple as a hard-working cpu process kicking the fans on.
iMac G5 17" 1.6 GHz Rev. A Mac OS X (10.4.8) 1 GB Ram
Kensall
Posts: 2
From: London, England
Registered: Feb 2, 2007
Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
Posted: Feb 2, 2007 9:05 AM in response to: Timothy Klein
Hi I have a 20" G5 imac it's about 18 months old and I am having the same problem, It freezes and the fan runs really loud. It's nothing to do with software as my I.T. guy has done a complete re-install. All of our admin people have imacs of differring ages and the flat panels are all OK but every one of the G5s has had a booting problem. Some fell into the recall for replacement logic boards but the one I have at home is the newest and doesn't. I'm waiting for my apple reseller to get back to me, but it looks like it's the logic board and as none of the serial numbers fall into the recall, I'm expecting a big bill. I'm really disappointed as I've been a professional apple user for over 15 years and have grown to expect a certain amount of honesty and integrity from them. Looking at all of the discussion boards and the amount of people complaining of the same problem the logic boards are defective and apple should be replacing these free of charge.
i mac G5 Mac OS X (10.4.8)
a brody
Posts: 15,170
From: Silver Spring, Maryland. Don't forget to backup your data!
Registered: Dec 23, 2000
Re: What's the problem? Display? Power supply? Cooling? My G5's gone mad
Posted: Feb 2, 2007 10:27 AM in response to: Kensall
Kensall,
Welcome to Apple Discussions!
As in the other thread I wrote:
Being from England, you may find the repair program under these pages:
http://www.apple.com/uk/support/imac/repairextensionprogram/
http://www.apple.com/uk/support/imac/powersupply/repairextension/
Check both of them as they refer to different models.
If neither of yours is under the program, please start a new topic thread so someone can help you.
http://discussions.apple.com/forum.jspa?forumID=881
First off, you'll get a wider audience who may be able to solve your problem. Secondly, responses to you won't confuse the original poster with solutions that don't apply to them. And thirdly, you'll know for certain whether or not a response applies to you.
iMac C2D 2.17/20 inch/iMac G5 1.8 1st gen/iMac G4 800 Mac OS 9 Mac OS X (10.4.8) EyeTV 200, Canon PS A530 , Epson P-R220, iSight, Airport Extreme, 5th Gen iPodI am having a very similar problem. My G5 imac has already had the logic board replaced from the leaking capacitor problem. 8 mos. later the power supply was replaced under the second recall program when it failed to start up.
It had been working now for almost a year, when about 3 mos. ago I started to experience the sudden dimming effect - if the display was untouched the screen would dim about 30% similar to a laptop in energy save mode. I checked and none of these types of options were set in the pref panes. At the same time I would have the iMac go to sleep after a while from non-use, and then when I tried to wake it it would stir for a few seconds and then go right back to sleep. It took 2-3 attempts to wake it up.
Then last week, as I tried to wake it, it just shut down instead completely. I had to hold the power button down to recycle it to get it to come back to life (3 times).
Today was it - I found what I thought was a sleeping iMac, but it will not power up at all. I opened the back cover and the power supply is working, but I cannot get the board to energize, I reset the PMU, but the #2 LED won't even blink. It is completely dead.
Basically every time I used this computer I held my breath that it would not work. After 2 recalls I still only get 9 mos. out of it? Apple is really starting to show it is like the "big" computer makers, the quality is going right down the tubes.
iMac G5 Mac OS X (10.4.4) -
I submitted this support request to NI on 8/12/2010.
When I compile my LV 8.6 app in LV2010 I get this error:
"LabVIEW 10.0 Development System has encountered a problem and needs to close. We are sorry for the inconvenience."
I was told to do a "Mass Compile" of my LV 8.6 app in LV2010...this failed too.
I was then told to go to each and every vi and "Mass Compile" individually...after about the 50th vi this got old quickly...and it still didn't compile. I then sent NI tech support "my code". The good news is my LV 8.6 app didn't compile with LV2010 @ NI.
My LV 8.6 app compiles and runs great in LV 8.6. I don't want to be left behind with the newer upgrades and I want to move to LV2010. I have lots of LV8.6 code to maintain and I really don't have the time to debug all of my apps.
I was told this will be looked @ in LV2010 SP1.
One note...back up your LV8.6 data before you move to LV2010. Once your LV8.6 code is compiled in LV2010 you will not be able to go back to LV8.6.
I restored all of my LV8.6 code and I'm back working with LV8.6.
It's a tough call, do I stay in LV8.6 and get left behind?
Do I bite the bullet and try to debug this mess in LV2010?
I was told the compiler is completely different in LV2010. That's great, but one reason I have NI Maintenance Agreement is to keep updated with the latest software. I can't afford to re-compile LV code every few years. Like most people, maintaining my Apps with customer's revisions, and modifications is enough work. I don't want more work!
I was told LV2010 SP1 would likely appear in May or June of 2011. I'd hate to break out my old Turbo Pascal apps again...but hey...they still work! My NI maintenance agreement is due this month too, I guess I'll pay NI one more year, and see if they come up with a solution. But if NI doesn't fix this LV8.6 compile in LV2010 problem...I don't see any value staying current with LV software.
I found another Bug with LV2010...you are going to love this one!
There is a new "LV Update Service". Perfect! I like updating my LV software when new patches are available. When I click "update" the update spins over and over "Checking for New Version". I have let it run ALL day with no results...just sits and spins over and over.
OK, I know give NI a break! Yes, LV2010 has a new compiler...and Yes, I will renew my NI maintenance agreement. I just want NI to know failing to compile just one LV8.6 app in LV2010 is not a good idea for customer relations.
Thanks,
DougFor your update service problem
Unable to Update Current Version of NI Update Service
Why am I Unable to Update My Version of NI Update Service in Windows Vista or Windows 7? -
Watching Netflix and all of a sudden it says "Display Problems" Make sure your monitor is HDCP Compliant and is not setup for mirror airplay??
The issue is from Safari defaulting to HTML5 vs using Silverlight like it did in Mavericks.
So the options are, if you want to use Safari goto your Netflix account, playback preferences and turn off HTML5. This will revert to Silverlight and will AirPlay fine*in Safari.
If you want to use HTML5, just leave the setting for HTML5 on in Netflix and use Chrome, Firefox, etc.
You can't currently have both Safari and HTML5 Netflix when using AirPlay. You'd think Safari would be a little bit more powerful with Apples stances on browser extensions. -
Display Problem with my Mac Pro and LG Flatron Wide Monitor in Mountain Lion
After upgrading to Mountain Lion, my Mac Pro has display problems with my LG Flatron display. The image is displayed with a black bar on the right and on the bottom. And the left side of the content is not visible. I tried every resolution available in the Display System Preferences, they are different in terms of how big the black bars are, and what part is not visible, but none of them are correct. I held down the option key to try to detect displays or switch to resolutions that are not normally available. When I restart the image is lined up with the display, but if the display ever goes to sleep or gets turned off, the image reverts to being off center, and the only way I can get it back is to restart... The interesting thing is that this monitor works fine with the same machine if I reboot using BootCamp into Windows 7. The Monitor also works fine, connecting the same connector to a Mac Mini, although that mac mini is running 10.6 and not Mountain Lion. I've reset the SMC and restarted countless times, I don't see any other levers to pull or things to try...
That card is for a PC it may not give you Startup and Option-Boot screens.
The 7950 "Mac Edition" card has a very distinctive look:
http://www.sapphiretech.com/presentation/product/product_index.aspx?cid=1&gid=3& sgid=1157&pid=1777&psn=&leg=0&lid=1
Maybe you are looking for
-
How to search a particular string in whole schema?
Hi Everyone, My DB version is Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi PL/SQL Release 10.2.0.1.0 - Production "CORE 10.2.0.1.0 Production" TNS for Linux: Version 10.2.0.1.0 - Production NLSRTL Version 10.2.0.1.0 - Production S
-
Deleting photos from disk via LR
When deleting photos in LR and choosing 'delete from disk' to delete these too from the disk, these photos are only deleted from LT but not from disk. How can I solve this problem?
-
Why does my hard drive state I have used 500 gb when I have only used 280 gb?
Why does my hard drive state I have used 500 gb when I have only used approximately 280 gb?
-
I recently updated my IPhone 4s to os 6 and my screen is frozen that I can't s
I recently updated my iphone 4s to OS6 and now my phone is frozen. I can't even slide to unlock the phone.
-
Hi, As per our discussion, I am sending you my requirement. call me if you feel any problem in this. My No. is : 610 733 7334. My Requirement is : In BW, I need to create a Jump query in RRI from Report to R/3 Transaction. Here Sender value is i.e f