News


39 Votes Vote

right click on JTable problem

Posted by External 2 days ago General
http://www.daniweb.com — I observed one thing about my right click on the JTable.If I right click on a row. it shows my popUpMenu item.But now if I right click on another row, I must right click 2 times on the other row before my Jpopup appears.Is that any way to make it ... Read More
Discuss Bury
Tags: right click jtable problem All
38 Votes Vote

Ant cobertura build.xml for coverage

Posted by External 7 days ago General
http://www.daniweb.com — My build.xml can run junitTest well but when I tried to build with cobertura instrument, JunitTest failed, Why? ====== run target instrument ==== Read More
Discuss Bury
Tags: ant cobertura buildxml coverage All
35 Votes Vote

Show a message while a method is running

Posted by External 7 days ago General
http://www.daniweb.com — I have a button with action listener. When action is performed I call a method to show a label with my message using: Actionperformed(){ ShowMessage(); PerformAction(); } NOTE: This code is just an example.The problem is the message never shows even though the action is performed.Any help will be appreciated. ... Read More
Discuss Bury
Tags: show message method running All
33 Votes Vote

Java run windows system command and get result

Posted by External 8 days ago General
http://www.daniweb.com — Runtime r = Runtime.getRuntime();Process pr = r.exec(cmdString) I can get the prompt result when I try "cmd /c type f1.properties", however, when the size of file is larger the command will hang and no output I could get and no exception occurred.Is there any limitation for java to cache the ... Read More
Discuss Bury
Tags: java run windows command result All
28 Votes Vote

Record a video in java

Posted by External 11 days ago General
http://www.daniweb.com — Hello friends,I want to develop a video conferencing project in java.For that i have spent some time to try recording video in java.But i finally thought to get some help.I have tried using JMF.My system OS is Windows 8.1 pro 64 bit.Any Knowledge would be helpful.Regards. Read More
Discuss Bury
Tags: record video java All
27 Votes Vote

No qualifying bean of type [org.springframework.jdbc.core.JdbcTemplate]

Posted by External 12 days ago General
http://www.daniweb.com — Hi Everyone,I know this such Exception is not strange while doing J2EE, but I cant figure out how my app going wrong at this step. My Code is quite long, so I will post only what I think is relevant. For the full source code, please go to: http://code.google.com/p/eagleit/Please note ... Read More
Discuss Bury
Tags: no qualifying bean type orgspringframeworkjdbccorejdbctemplate All
31 Votes Vote

Java 8 cant do MS Access anymore?

Posted by External 13 days ago General
http://www.daniweb.com — I hear that the new version of Java, Java 8, does not support a way to connect to MS Access database... I have a rather big problem in this case as I created all my databases with access (And im not porting them to SQL). I wanted to update my ... Read More
Discuss Bury
Tags: java ms access anymore All
40 Votes Vote

Trouble clearing controls dynamically

Posted by External 16 days ago General
http://www.daniweb.com — I'm having trouble getting the Cards off the table in this card game I'm working on. The cards are JLabels that holdimages of the cards. These JLabels are created dynamically into a JLayeredPane.I have created some variables to hold the info I believe I need in order to complete this ... Read More
Discuss Bury
Tags: trouble clearing controls dynamically All