i have a jtable calendar program and i want the user to be able to click on the dates and i wrote a mouse listener and added it to the jtable nut its not firing .....what should i do my deadline is tomorrow....
hermela_1 0
Newbie Poster
Recommended Answers
Jump to Postwithout seeing any code, or any error message/stacktrace, bit hard for us to tell. If your deadline is tomorrow, well ... remember this next time: trying to get it done last minute usually blows up in your face.
Most likely, there's something wrong or missing in your code, but we …
Jump to PostYour problem description is wrong.
I ran your code with a print statement in the mouseClicked method as it WAS being called. It's the setBackground that's not working - presumably because you have a custom cell renderer that sets the background to fixed values.ps: I ran this on a …
Jump to PostThis could help you out.
Jump to PostI wouldn't start with the enter key yet, first start with buttons, and the listeners you have so far.
Have the information you enter stored (in the application in memory, and on closing the application, on your hard drive in an xml file (for example)).That way, once you choose …
Jump to Postyou can create a database, but for now, I would start without one, just store the data in local files, txt or xml for instance.
There are tons of tutorials and resources to learn how to work with xml files.
Take a look
All 17 Replies
stultuske 1,116
Posting Maven Featured Poster
hermela_1 0
Newbie Poster
hermela_1 0
Newbie Poster
hermela_1 0
Newbie Poster
JamesCherrill 4,733
Most Valuable Poster Team Colleague Featured Poster
hermela_1 0
Newbie Poster
hermela_1 0
Newbie Poster
hermela_1 0
Newbie Poster
stultuske 1,116
Posting Maven Featured Poster
hermela_1 0
Newbie Poster
hermela_1 0
Newbie Poster
stultuske 1,116
Posting Maven Featured Poster
hermela_1 0
Newbie Poster
stultuske 1,116
Posting Maven Featured Poster
JamesCherrill 4,733
Most Valuable Poster Team Colleague Featured Poster
hermela_1 0
Newbie Poster
JamesCherrill 4,733
Most Valuable Poster Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.