I want exprot document using jasper report. I have exproted the document. How to remove grid lines that are shown in the document?I want to edit the document like form how to do that?
I am developing swing application. When mouse clicked on text box i have to open a dialog. It works fine.
When clicked on text box using stylus, mouse click event handling does not happens properly.
What event should I use to handle stylus click.
When system is connected to internet I could get the IP address of my system. If is is not connected to the internet, it just returns IP as 127.0.0.1. I would like to get the IP address of the system even if it is not connected to internet. Can anyone help to solve this problem? Thank in advance.
I have crated onscreen keyboard. I could simulate the keypress for alpaha and numeric key but for the special character it is not working.
Code sample
// For #
robot.keyPress(KeyEvent.VK_SHIFT);
robot.keyPress(KeyEvent.VK_NUMBER_SIGN);
robot.keyRelease(KeyEvent.VK_NUMBER_SIGN);
robot.keyRelease(KeyEvent.VK_SHIFT);
// For @
robot.keyPress(KeyEvent.VK_SHIFT);
robot.keyPress(KeyEvent.VK_AT);
robot.keyRelease(KeyEvent.VK_AT);
robot.keyRelease(KeyEvent.VK_SHIFT);
I get the following error
Exception in thread "main" java.lang.IllegalArgumentException: Invalid key code
at sun.awt.windows.WRobotPeer.keyPress(Native Method)
at java.awt.Robot.keyPress(Unknown Source)
at com.perfint.virtualkeyboard.Test.main(Test.java:15)
I am working on Java application in Windows 7. Application should support touch screen and on screen key board. And need to do a on screen key board. I have no idea about it that how to do. So can you guys please help me out to do this. Any one have some idea about it. Thanks
Since you extend Thread class all the public methods of thread class becomes the part
of the extended class. As you know to call local method of the class can be just called with their name
we call sleep methods. For more information please see