Clock in the code
hi,
I want to put clock in my code which is interacting with timesten db.
But the problem is as soon as m putting the code of select command with SQL prepare statement i cannot so anything else after tht no insertion,updation,deletion even select is being done only once tht is in the end.
One more problem i want to put timer before the transaction and then after the transaction so tht i can calculate the time taken in performing those transactions.
Thanks
wtg for some response
pooja
I m working in C.
everytime i forget to write this.
pooja
Similar Messages
-
Link repositioning breaks the code
This problem was reported on August 4th with no resolution. I have now updated to the latest version (Build 040621) on XP Pro, with Java 1.4.2_04, and the problem persists.
I can't believe that links on a page cannot be repositioned without breaking the code. I may be doing something wrong but please try the following and tell me what result you get:
1) - Create a New Project (nav4) - This creates a new page Page1.jsp
2) - Drop an "output text" : value = Page 1 just to give it a visual title.
3) - Right click on page1.jsp and select "Page Navigation"
4) - Right Click on Page1.jsp in the navigation panel and select [New Page] . Create 2 new pages: Page2.jsp, Page3.jsp
5) - Right Click on Page1.jsp and [Add button], [Add link] (as mentionned in tutorial)
6) - to create a navigation link from page1.jsp to page2.jsp and page3.jsp, drag from the hyperlink on page1.jsp to page 2.jsp and the button on page1.jsp to page3.jsp
7) - Double click on page2.jsp to open it into the design view, and drop an "output text" .Change its value to "page 2". Select page navigation again and do the same for page3.jsp . This is to show some kind of "message" on each page.
Run the application and everything is fine.....
Now I challenge you to move the Link on page1.jsp and see what happens.... The link won't work anymore... and you'll have to "undo" to get it to work again.
If there is any other way I can get around this(short of hacking into the code), please let me know, this functionality is extremely important to my project.
Thank you for your assistance.Hi John,
Please do me a favour.
After you moved the link, just verify which page the button forwards you to . You will see that after the link has moved,
both the button and the link take you to the same page. In my case page2.jsp
This is the content of the log file :
Log Session: Tuesday, August 31, 2004 4:48:09 o'clock PM PDT
System Info: Product Version = Java Studio Creator (Build 040621)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.4.2_04; Java HotSpot(TM) Client VM 1.4.2_04-b05; Sun Microsystems Inc.
Java Home = C:\Sun\Creator\java\jre
System Locale; Encod. = en_CA; Cp1252
Home Dir; Current Dir = C:\Documents and Settings\bcb; C:\Sun\Creator\bin
IDE Install; User Dir = C:\Sun\Creator; C:\Documents and Settings\bcb\.Creator\1_0
CLASSPATH = C:\Sun\Creator\lib\ext\boot.jar;C:\Sun\Creator\lib\ext\jgraph.jar;C:\Sun\Creator\lib\ext\naming.jar;C:\Sun\Creator\lib\ext\pbclient.jar;C:\Sun\Creator\lib\ext\pbtools.jar;C:\Sun\Creator\lib\ext\rowset.jar;C:\Sun\Creator\lib\ext\smbase.jar;C:\Sun\Creator\lib\ext\smdb2.jar;C:\Sun\Creator\lib\ext\sminformix.jar;C:\Sun\Creator\lib\ext\smoracle.jar;C:\Sun\Creator\lib\ext\smresource.jar;C:\Sun\Creator\lib\ext\smsqlserver.jar;C:\Sun\Creator\lib\ext\smsybase.jar;C:\Sun\Creator\lib\ext\smutil.jar;C:\Sun\Creator\lib\ext\sql.jar;C:\Sun\Creator\lib\ext\sqlx.jar;C:\Sun\Creator\java\lib\dt.jar;C:\Sun\Creator\java\lib\tools.jar
Boot & ext classpath = C:\Sun\Creator\java\jre\lib\rt.jar;C:\Sun\Creator\java\jre\lib\i18n.jar;C:\Sun\Creator\java\jre\lib\sunrsasign.jar;C:\Sun\Creator\java\jre\lib\jsse.jar;C:\Sun\Creator\java\jre\lib\jce.jar;C:\Sun\Creator\java\jre\lib\charsets.jar;C:\Sun\Creator\java\jre\classes;C:\Sun\Creator\java\jre\lib\ext\dnsns.jar;C:\Sun\Creator\java\jre\lib\ext\ldapsec.jar;C:\Sun\Creator\java\jre\lib\ext\localedata.jar;C:\Sun\Creator\java\jre\lib\ext\sunjce_provider.jar
Dynamic classpath = C:\Sun\Creator\lib\core.jar;C:\Sun\Creator\lib\openfile-cli.jar;C:\Sun\Creator\lib\openide-loaders.jar;C:\Sun\Creator\lib\openide.jar;C:\Sun\Creator\lib\ravelnf.jar
[org.netbeans.core.modules #4] Warning: the extension C:\Sun\Creator\modules\ext\sac.jar may be multiply loaded by modules: [C:\Sun\Creator\modules\css.jar, C:\Sun\Creator\modules\insync.jar]; see: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/classpath.html#class-path
Turning on modules:
org.openide/1 [4.26.1 040621]
org.openide.io [1.1.1 040621]
org.openide.execution [1.1.1 040621]
org.openide.compiler [1.2.1 040621]
org.netbeans.lib.terminalemulator [1.1.1 040621]
org.openide.src [1.1.1 040621]
org.openide.loaders [4.11.1 040621]
org.netbeans.core/1 [1.21.1 040621]
org.netbeans.core.output/1 [1.1.1 040621]
org.netbeans.core.compiler/1 [1.4.1 040621]
org.openide.debugger [1.1.1 040621]
org.netbeans.modules.j2eeapis/1 [1.0 040621]
org.netbeans.modules.settings/1 [1.4.1 040621]
org.netbeans.api.xml/1 [1.3.1.3.6.0 3.6.0 040621]
org.netbeans.modules.javahelp/1 [2.1.1 040621]
org.netbeans.modules.schema2beans/1 [1.7.1 040621]
org.netbeans.core.execution/1 [1.3.1 040621]
org.netbeans.modules.debugger.core/3 [2.10.1 040621]
org.netbeans.libs.j2eeeditor/1 [1.1.1 040621]
org.netbeans.modules.j2eeserver/3 [1.1.2 040701_4]
org.netbeans.api.java/1 [1.3.1 040621]
org.netbeans.libs.xerces/1 [1.4.1 2.6.0]
org.apache.tools.ant.module/3 [3.6.1 040621]
org.netbeans.modules.debugger.jpda/1 [1.17.1 040621]
org.netbeans.api.web.dd/1 [1.1.1 1.0 040621]
com.sun.rave.project/1 [1.0.1 040701_4]
com.sun.rave.jsfsupport/1 [1.0.1 040701_4]
org.netbeans.modules.editor/1 [1.14.2 040701_4]
com.sun.rave.insync/1 [1.0.1 040701_4]
org.netbeans.modules.diff/1 [1.7.1 040621]
com.sun.rave.jsfmetadata/1 [1.0 040621]
com.sun.rave.toolbox/1 [1.0.1 040701_4]
org.netbeans.modules.classfile/1 [1.8 040621]
org.netbeans.modules.java/1 [1.16.1 040621]
com.sun.rave.designer/1 [1.0.1 040701_4]
com.sun.rave.navigation/1 [1.0.1 040701_4]
org.netbeans.modules.xml.core/2 [1.1.1.3.6.0 3.6.0 040621]
org.netbeans.modules.xml.catalog/2 [1.1.1.3.6.0 3.6.0 040621]
com.sun.tools.appserver/1 [2.0 20040621-1109]
org.netbeans.core.ui/1 [1.3.1 040621]
com.sun.rave.servernav/1 [1.0 040621]
com.sun.rave.licensemgr/1 [1.2 040621]
org.openidex.util/2 [2.7.1 040621]
org.netbeans.modules.html/1 [1.12.1 040621]
org.netbeans.modules.extbrowser/1 [1.3.1 040621]
org.netbeans.modules.servletapi24/1 [2.0.1 2.0.1 040621]
org.netbeans.modules.web.jspparser/2 [2.0.1 040621]
org.netbeans.modules.xml.text/2 [1.1.1.3.6.0 3.6.0 040621]
org.netbeans.modules.web.core.syntax/1 [1.13.1 040621]
com.sun.rave.jspsyntaxint/1 [1.0 040621]
org.netbeans.modules.schema2beansdev/1 [1.1.1 040621]
com.sun.rave.welcome/1 [1.0 040621]
org.netbeans.modules.beans/1 [1.11.1 040621]
com.sun.rave.jwsdpsupport/1 [1.0 040621]
com.sun.rave.sam/1 [1.0.1 040701_4]
com.sun.rave.websvc/1 [1.0.1 040701_4]
org.netbeans.modules.text/1 [1.12.1 040621]
org.netbeans.modules.image/1 [1.11.1 040621]
org.netbeans.modules.autoupdate/1 [2.8.1 040621]
org.netbeans.modules.clazz/1 [1.13.1 040621]
com.sun.rave.raveupdate/1 [1.0.1 040621]
com.sun.rave.layoutmgr/1 [1.1 040621]
org.netbeans.modules.properties/1 [1.11.1 040621]
org.netbeans.modules.properties.syntax/1 [1.11 040621]
org.netbeans.core.ide/1 [1.3.1 040621]
org.netbeans.modules.utilities/1 [1.15.1 040621]
com.sun.rave.errorhandler.server/1 [0.1 040621]
com.sun.rave.plaf/1 [0.1 040621]
com.sun.rave.windowmgr/1 [1.1 040621]
com.sun.rave.dataconnectivity/1 [1.0.1 040701_4]
org.netbeans.modules.css/2 [1.1.1.3.6.0 3.6.0 040621]
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! After moving the link here
*********** Exception occurred ************ at Tue Aug 31 16:51:30 PDT 2004
java.lang.IllegalArgumentException: Dimensions (width=2147483645 height=2147483645) are too large
at java.awt.image.SampleModel.<init>(SampleModel.java:112)
at java.awt.image.SinglePixelPackedSampleModel.<init>(SinglePixelPackedSampleModel.java:124)
at java.awt.image.Raster.createPackedRaster(Raster.java:757)
at java.awt.image.Raster.createPackedRaster(Raster.java:460)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:250)
at com.sun.rave.designer.Dragger.initializeImages(Unknown Source)
at com.sun.rave.designer.Dragger.getImages(Unknown Source)
at com.sun.rave.designer.Dragger.paint(Unknown Source)
at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
[catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JViewport.paint(JViewport.java:722)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
*********** Exception occurred ************ at Tue Aug 31 16:51:30 PDT 2004
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at com.sun.rave.designer.Dragger.paint(Unknown Source)
at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
[catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JViewport.paint(JViewport.java:722)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
*********** Exception occurred ************ at Tue Aug 31 16:51:30 PDT 2004
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at com.sun.rave.designer.Dragger.paint(Unknown Source)
at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
[catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JViewport.paint(JViewport.java:722)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
*********** Exception occurred ************ at Tue Aug 31 16:51:30 PDT 2004
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at com.sun.rave.designer.Dragger.paint(Unknown Source)
at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
[catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JViewport.paint(JViewport.java:722)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
*********** Exception occurred ************ at Tue Aug 31 16:51:30 PDT 2004
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at com.sun.rave.designer.Dragger.paint(Unknown Source)
at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
[catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JViewport.paint(JViewport.java:722)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
*********** Exception occurred ************ at Tue Aug 31 16:51:30 PDT 2004
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at com.sun.rave.designer.Dragger.paint(Unknown Source)
at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
[catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JViewport.paint(JViewport.java:722)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
*********** Exception occurred ************ at Tue Aug 31 16:51:31 PDT 2004
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at com.sun.rave.designer.Dragger.paint(Unknown Source)
at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
[catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JViewport.paint(JViewport.java:722)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
*********** Exception occurred ************ at Tue Aug 31 16:51:31 PDT 2004
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at com.sun.rave.designer.Dragger.paint(Unknown Source)
at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
[catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JViewport.paint(JViewport.java:722)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
*********** Exception occurred ************ at Tue Aug 31 16:51:31 PDT 2004
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at com.sun.rave.designer.Dragger.paint(Unknown Source)
at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
[catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JViewport.paint(JViewport.java:722)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4787)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
at javax.swing.JComponent._paintImmediately(JComponent.java:4685)
at javax.swing.JComponent.paintImmediately(JComponent.java:4488)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:410)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:117)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
*********** Exception occurred ************ at Tue Aug 31 16:51:31 PDT 2004
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at com.sun.rave.designer.Dragger.paint(Unknown Source)
at com.sun.rave.designer.SelectionManager.paint(Unknown Source)
[catch] at com.sun.rave.designer.DesignerPaneUI.paintSafely(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.paint(Unknown Source)
at com.sun.rave.designer.DesignerPaneUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(JComponent.java:541)
at com.sun.rave.designer.DesignerPane.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:808)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JViewport.paint(JViewport.java:722)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at com.sun.winsys.layout.impl.DnDPanel.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at com.sun.winsys.layout.impl.DnDPanel.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at com.sun.winsys.layout.impl.DnDPanel.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at com.sun.winsys.layout.impl.DnDPanel.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paint(JComponent.java:817)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:557)
at javax.swing.JComponent.paintChildren(JComponent.java:647)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4794)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4740)
at javax.swing.JComponent.paint(JComponent.java:798)
at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
at java.awt.Container.paint(Container.java:1312)
at sun.awt.RepaintArea.paint(RepaintArea.java:177)
at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:260)
at java.awt.Component.dispatchEventImpl(Component.java:3678)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) -
How can I show status clock on the screen
hi,
how can I add the status bar clock on the bottom left side of the screen when in progress.
kind regards,
FaisalYou need to insert this FM in between your appropriate
code in Start-of-selection event. Please use text elements for the text and if possible PERFORM and FORM with Using parameters.
call function 'SAPGUI_PROGRESS_INDICATOR'
exporting
percentage = 20
text = 'Extracting Prepress Materials'.
call function 'SAPGUI_PROGRESS_INDICATOR'
exporting
percentage = 40
text = 'Extracting Finished Goods Material info'.
call function 'SAPGUI_PROGRESS_INDICATOR'
exporting
percentage = 60
text = 'Extracting Prepress orders'.
call function 'SAPGUI_PROGRESS_INDICATOR'
exporting
percentage = 65
text = 'Extracting Order Status and Longtext'.
call function 'SAPGUI_PROGRESS_INDICATOR'
exporting
percentage = 80
text = 'Extracting Sales orders'.
call function 'SAPGUI_PROGRESS_INDICATOR'
exporting
percentage = 85
text = 'Extracting FG orders'.
call function 'SAPGUI_PROGRESS_INDICATOR'
exporting
percentage = 90
text = 'Build list and filter'.
call function 'SAPGUI_PROGRESS_INDICATOR'
exporting
percentage = 95
text = 'Display Output'.
Edited by: senthil kumar on Oct 28, 2008 9:39 PM -
Accessing the 40MHz clock on the PXI-7831R FPGA Module
How do you access the 40MHz clock on the PXI-7831R FPGA Module?
I'm trying to the FPGA to do RS-422 communication with UART and HDLC protocols. I want to divide the clock signal to generate the necessary baud rates. I've downloaded the FPGA serial examples as a start, but I'm looking for a direct connection to the 40MHz signal.
I'm Using LabVIEW 7.1 and FPGA Module 1.1 with the LabVIEW Embedded Project Structure.settlesj,
If you are looking to have access to a 40MHz digital signal, it is possible to generate and acquire one using 7831R and LabVIEW FPGA module. To do this you would need to take advantage of the different compile speeds available with the FPGA module. The available compile clock frequencys are: 40MHz, 80MHz, 120MHz, 160MHz, 200MHz
For example to generate a 40MHz pulse train you could compile with 80MHz clock frequency (2 clock pulses are needed for a square wave period).
You will have to be careful when generating code because compiling with a clock frequency higher than the default one (40MHz) could give compile errors in some cases. These errors could happen more frequently if the code is more complex and needs more time to be executed.
I have attached an example program that generates a 40 MHz signal on a digital line. From there you could divide down the clock rate to which ever specified baud rates you needed. As a side not the LabVIEW FPGA 8.0 Module added the ability to derive additional clocks from FPGA base clocks in a LabVIEW project. Hope this helps.
Steven B.
Attachments:
Test40MHz.zip 57 KB -
Fpga using the clock of the CRIO chassis...
Hi.
I am designing an application to acquire data using FPGA. I am using an CRIO-9074. First at all, I want that the stamp of time for the records COME FROM THE CLOCK OF THE CHASSIS and not from the PC's one, because when the application be finished, the CRIO is going to connect directly to a network, without using a pc. I would like to use the Time Stamp Control. ¿How can I codify this?
Thank you for your time.When you use the standard LabVIEW date/time functions in code that is running on the cRIO, you get the time based on the cRIO's clock.
-
Stoping System Clock using Java code.
Is it possible to do so if yes then some code idea for
Stoping System Clock using Java code.
[email protected]The system clock is controlled from the BIOS, and as such, I don't think even windoze can stop it, though it can be continually reset. I don't believe that Java provides a sufficiently low level of control to set the system clock, although you could use a native method to accomplish the task.
Why would you want to do such a thing? -
Sorry to have to ask this but I am a newbie and have to "attend" a job interview on Skype this afternoon for the first time. I just received a 15 second phone call giving an automated Skype message about a code for the call I am expecting at 3 o'clock. No pen in hand and no idea what a code is but I cant afford to muck up this interview - can anyone help -QUICKLY!
I'm not sure. How can i find that out? It is possible as i have to enter my account password multiple times in order to buy things (part of the reason why i want to change those settings, its annoying). If it is ive no idea what the code is. Is there a way to reset that without a computer?
-
Changing the PC clock affects the Timer behvior
It seems that the class Timer , is sensitive to clock changes.
Looking at the code, It seems that it compares 'currenTime' with 'nextExecutionTime', while 'currentTime' is taken from System.currentTimeInMillis(), which is the number of milliSeconds since epoch (1970).
I did a simple test: I created a Timer, scheduled 2 tasks to it, the first 2 minutes ahead, and the next 4 minutes ahead. After the tasks were scheduled, I changed the PC clock by setting it 5 minutes ahead. The result was that both tasks were executed after 5 minutes.
a normal programmer would say that trigger a timer should not be affected by external events such as clock change ?!Guys - you are missing the point.Not at all.
I am not
interesting in knowing the time, I am just seeking a
TIMER mechanismThe only timer mechanism available to you is to check the system clock, check it again later, and compute the difference.
, for example for executing a periodic
operations. Such a TIMER should not be sensitive to
clock changing, That would require that the computer have a second hardware clock, one that is just always monotonically increasing and that can't be changed, and of course Java would have to have access to it.
As far as I know, most computers don't have such hardware. -
Little clock in the middle off the screen. How can i get rid off it?
Playing cod 2 for mac i have a small clock in the centre of the screen (middle of crosshair) on my imac 27 2012.
How can i get rid of it?
Henk.Hank ..
Try restarting your Mac.
If that doesn't help, submit a support request to the Call of Duty app devleoper > Aspyr Support : Submit a request for assistance -
How can i print all the contect of the code in sapscript window ? ?
how can i print all the contect of the code in sapscript window ? ?
Hi,
Do you mean that you want to print the ABAP code to SAPscrip form ?
Svetlin -
Am i the only one who when trying to enter the code for creative cloud activation ?
I give up,i have been trying to activate a 3 month subscription for CS6 from Staples and every time i try the code it will not work. I have used the chat live and spent about 3 hours already going nowhere. I do not like talking on the phone to some help desk overseas and the only thing i think left to do is to return the junk.
I tried all that and even took a picture of the numbers and blew them up so a blind person could read them and had 3 others read them off. A simple way to fix the problem is get someone on Adobes staff to find a font that most people can read from whatever product the stick it to.
John McDonough
Date: Wed, 1 Aug 2012 18:33:58 -0600
From: [email protected]
To: [email protected]
Subject: Am i the only one who when trying to enter the code for creative cloud activation ?
Re: Am i the only one who when trying to enter the code for creative cloud activation ?
created by David__B in Adobe Creative Cloud - View the full discussion
Hey John,
Not sure if it helps or not, but I know sometimes with codes like that its really hard to tell certain characters apart, O - like in Oscar versus 0 - number and number 1 versus lowercase L like in Lima.
Might test entering it both ways if you have any suspect characters?
-Dave
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4592955#4592955
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4592955#4592955. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Adobe Creative Cloud by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
I bought The Dark Knight a few years ago, I tried to download the digital copy before but I gave up. Now that I have my iPhone, I'm determined to get all the digital copies I'm entitled to! So I'm here to find out how to remedy the situation. iTunes says the code is invalid when it clearly should work. I didn't buy the DVD off the street or anything. iTunes doesn't give me any further options, so what can I do? Anybody have any advice, please?
Yeah, I actually did get it. I had to send an e-mail to Warner Bros. with all available info and my issue and they sent me another code that actually worked.
So I actually just had to do what varjak paw suggested, it just took a few days (maybe a week) and I forgot to get back to you guys. So, belated but all the same thank you, varjak paw! -
Can not view the code for views, triggers or table definition
Hello Gurus,
I can not see the code for any of the triggers, views, tables etc. in sql developer. For instance a view code will be
"create or replace" and then nothing, I could see the code in the past.
When clicking on SQL tab for table I get following errors
1. Ora-00904 Invalid Column name
2. Ora-31600: invalid input value emit_schema for parameter name in function SET_TRANSFORM_PARAMORA-06512: at SYs.DBMS_SYS_ERROR............................
please advice.
ThanksSqldev was only certified starting from 9.0.2, so it's possible that's the culprit. The latest update in the certification document even omits 9i entirely.
Did it start happening after upgrading sqldev? What version are you on?
K. -
I purchased the blu-ray of The Hunger Games and it came with a code to redeem for a digital copy. I redeemed the code in iTunes and the movie downloaded fine, but the "EXTRAS" have been downloading for 2 weeks! Everytime I launch iTunes it starts the download again and the counter keeps going UP, at one point it said it would take 3 weeks. I have paused and restarted the download, I have deleted the download, nothing works to finish or stop this download! Does anyone have a clue what's up?
ps when syncing it jumps through steps 1 - 4 real fast, i seem to remeber iphone showing the number of tracks transferring and names, but i see nothing? then it sits on 5 saying "waiting for changes to be applied"
-
I just hooked up my Apple tv and im having problems already..When i enter my ID and Password for itunes it says that it is not valid,yet I double checked and its correct. Also, when I try to find the code to connect my Net flix account in Air Play the icon for the code is not there.I have wireless internet connection and it says Im connected so thats not the problem. Im ready to return my Apple tv for another product..Does anyone have a fix for this problem??
Click here and request assistance.
(91679)
Maybe you are looking for
-
"i" button not appearing for descriptions added through get info screen
All movies and tv shows purchased from iTunes show a little gray "i" button in the description field. Clicking it opens a popup with the same text shown in the description field using get info. If I add my own movie or tv show and add a description i
-
Calling a abstract portal component from portal service
Hi Can i access a abstract portal component from portal service? My requirement is i have a method called getsessionID in portal service. My portal service is enabled as a webservice. Who ever consumes my webservice they will call this method. This m
-
I am trying to sync multiple ipod touch devices that are housed in a Bretford cart. Each time I go to sync I notice that the settings I previously set are not saving. For example, I have certain playlists that I always want to sync. Once I set the
-
Vertical text print in smartforms
Hi Experts, I want to print text vertically in smartforms. Can any one tell me how to do that. Thanks in advance Dhananjay
-
I have a Macbook Air and know how helpful it is to use the trackpad and Exposé, especially in apps like Safari. My parents are switching from PC to Mac and just bought a Mac mini, but are using the traditional mouse. They are likely to have multiple