Angan Sen

Greenhorn
+ Follow
since Jun 18, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Angan Sen

Hi,

I have started newly development in blackberry application. I want to show(overlay) a bitmap field on video screen. It should not re size the video screen once it is appears. I have gone through the overlayControl interface of Blackberry 5 API.

I am not able to understand how to implement it. Can anybody help me out with a solution. I am under deadline and have no clue.

Thanks a lot in advance.

13 years ago

pete stein wrote:I wonder if you would you be better off using a dedicated reporting tool for this portion of your program such as JasperReports. caveat: I'm no expert in this area. Luck!



I have downloaded Jasper reporting tool. Can you provide some information about using this tool for printing JPanel.Please at least some dedicated tutorial for that purpose.
13 years ago
Thanks for the response, I have tried with jtable's print method. I t works fine for printing Jtable only. But I have to print a invoice formatted on a JPanel, so there will be other lots of other JtextComponents, along with Table and images.just like the attached image.

I have planned to preview the format in a Jframe on a JPanel then on button click of that Frame the Jpanel will be sent to the printer.
please help me with this.I have a deadline to meet. Any help will be gladly appreciated.
13 years ago
Hi,

I want to print the JPanel on a JFrame on along with one table . Below is the snapshot of that Frame.

Please help me out... please provide the steps. The contents are available on the web is not sufficient for printing components like JTable. I am a newbie so please provide help considering my level of experience and knowledge. I don even need ready made code... just a proper working lead.
13 years ago
Hi Jeanne,

Thanks for explaining, it was my mistake, thanks to Rob too.

I kept the hsql db under src/db undet my myeclipse project folder. and there was no special character.

Rob Prime wrote:Moving to JDBC.


Sorry I did not understand you? please explain a bit.
I have create a data base using Myeclipse database explorer, however I am not able to connect to that database. I am getting the following error,


" 2010-06-27T21:39:58.250+0530 SEVERE could not reopen database
org.hsqldb.HsqlException: Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@8e64f300[file =null, exists=false, locked=false, valid=false, ] method: setPath reason: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.persist.LockFile.newLockFileLock(Unknown Source)
at org.hsqldb.persist.Logger.acquireLock(Unknown Source)
at org.hsqldb.persist.Logger.openPersistence(Unknown Source)
at org.hsqldb.Database.reopen(Unknown Source)
at org.hsqldb.Database.open(Unknown Source)
at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
at org.hsqldb.DatabaseManager.newSession(Unknown Source)
at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at cellTest.TestDB.main(TestDB.java:39)

java.sql.SQLException: Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@8e64f300[file =null, exists=false, locked=false, valid=false, ] method: setPath reason: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
SQL Exception
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at cellTest.TestDB.main(TestDB.java:39)
Caused by: org.hsqldb.HsqlException: Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@8e64f300[file =null, exists=false, locked=false, valid=false, ] method: setPath reason: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.persist.LockFile.newLockFileLock(Unknown Source)
at org.hsqldb.persist.Logger.acquireLock(Unknown Source)
at org.hsqldb.persist.Logger.openPersistence(Unknown Source)
at org.hsqldb.Database.reopen(Unknown Source)
at org.hsqldb.Database.open(Unknown Source)
at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
at org.hsqldb.DatabaseManager.newSession(Unknown Source)
... 6 more
"

I have also added the the screenshot of the myeclipse window.


Please help me to resolve this issue. I need it very soon.

Thanks to both of you for your kind help. Your distinct suggestion has lead me to the the solution. The best help a java newbie can get from here is unbelievable. You guys rock with simplicity. Thanks again we Greenhorns hats off to you.
13 years ago

Rob Prime wrote:Why do you want to stick to PostgreSQL or MySQL? There are several database engines, like SQLite and HSQLDB, that only require a driver and a stand-alone file.



I am open to use any database. However I am not familier with those. If I use these databases don't I have to install the database to the machine where my software is running. Please explain me elaborately. It'll be real help if you give me the steps to work with there db apps.
13 years ago
Hi,

I need help, please help me. I am developing a swing based application. in which I want to use postgre/mysql as database, and i want to create single installer file which will install the database and my application as well into any platform/computer.

I will very thankful if some show me a way to do that. step by step approach will be appriciable novice in java. Thanks in advance.
13 years ago