Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail |
|---|---|
| From | Gulp® <gulp@hotmail.it> |
| Newsgroups | it.comp.java |
| Subject | doppio click su jTab |
| Date | Thu, 29 Oct 2015 12:28:45 +0100 |
| Organization | Aioe.org NNTP Server |
| Lines | 22 |
| Message-ID | <n0t03f$7tv$1@speranza.aioe.org> (permalink) |
| NNTP-Posting-Host | iEIXdzl/eNc4wUOSv1Veyw.user.speranza.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-15; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| X-Mozilla-News-Host | news://news.readfreenews.net:119 |
| Xref | csiph.com it.comp.java:8737 |
Show key headers only | View raw
private void tableDataMouseClicked(java.awt.event.MouseEvent evt) {
if (evt.getClickCount() == 2) {
JOptionPane.showMessageDialog(null, vox + " " + sgl);
}
}
private void JListMouseClicked(java.awt.event.MouseEvent evt) {
if (evt.getClickCount() == 2) {
JList jl = (JList) evt.getSource();
EliminaRiga(jl);
}
Il primo void il cui Listner è su una Javatab non funziona. Il secondo
il cui Listner è su una JList funziona.
Ma il primo se pongo il getClickCount()==1 funziona.
Ergo il listner funziona, ma non sente il doppio click su una JavaTab,
perchè?
--
Gulp®
(forse mi sono perso qualcosa :))
Back to it.comp.java | Previous | Next — Next in thread | Find similar
doppio click su jTab Gulp® <gulp@hotmail.it> - 2015-10-29 12:28 +0100
Re: doppio click su jTab Gulp® <gulp@hotmail.it> - 2015-10-29 13:58 +0100
Re: doppio click su jTab Gulp® <gulp@hotmail.it> - 2015-10-29 14:25 +0100
csiph-web