Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
mouseevent
- Page 1
mouseClicked(MouseEvent e)
Programming
Software Development
15 Years Ago
by complexcodes
…pointCounter++; rectn.setFrameFromDiagonal(beg, beg); repaint(); } public void mouseClicked(
MouseEvent
e) { if(flag==false) { repaint(); } } }); } public void paint(Graphics…
Re: mouseClicked(MouseEvent e)
Programming
Software Development
15 Years Ago
by BestJewSinceJC
[url]http://www.daniweb.com/forums/thread154611-3.html[/url] I spent 2-3 hours helping you, the least you can do is mark the thread as 'solved'. I also gave you a suggestion on how to do this in the other thread, although I don't think my suggestion was a good way to do it. But if you make the rectangle have no area, then when it is repainted, it …
Re: mouseClicked(MouseEvent e)
Programming
Software Development
15 Years Ago
by complexcodes
ok, how can I make my rectangle with no area? Can you actually show me the code? then, I will mark this thread as solved. Thanks again,
Re: mouseClicked(MouseEvent e)
Programming
Software Development
15 Years Ago
by BestJewSinceJC
[url]http://www.daniweb.com/forums/thread154611-3.html[/url] ^^ No, I was talking about marking that thread as solved, which is your previous thread. Its a matter of courtesy to mark a thread as solved, especially when someone spends a lot of their time helping you, as I have. Anyway, the way that you make a rectangle with no area is easy. …
minify imageview setonmouseclicked code
Programming
Software Development
4 Years Ago
by Vin vin
…get(10).setOnMouseClicked(new EventHandler<
MouseEvent
>() { @Override public void handle(
MouseEvent
event) { UI_SelectionMenu.selectedTile =…(11).setOnMouseClicked(new EventHandler<
MouseEvent
>() { @Override public void handle(
MouseEvent
event) { UI_SelectionMenu.selectedTile =…
Flash AS3, how to clone symbol on-the-fly?
Digital Media
UI / UX Design
13 Years Ago
by Lusiphur
…; tile_0.addEventListener(
MouseEvent
.MOUSE_DOWN, pickUp); tile_0.addEventListener(
MouseEvent
.MOUSE_UP, dropIt); tile_1.addEventListener(
MouseEvent
.MOUSE_DOWN, pickUp); tile_1.addEventListener(
MouseEvent
.MOUSE_UP, dropIt); tile_2.addEventListener(
MouseEvent
.MOUSE_DOWN, pickUp…
Stop mouse listener
Programming
Software Development
9 Years Ago
by Alex_27
…. } @Override public void mouseClicked(
MouseEvent
me) { throw new UnsupportedOperationException("…. } @Override public void mouseReleased(
MouseEvent
me) { throw new UnsupportedOperationException("…
Re: minify imageview setonmouseclicked code
Programming
Software Development
4 Years Ago
by JamesCherrill
…; MyHandler(int i) { this.i = i;} @Override public void handle(
MouseEvent
event) { UI_SelectionMenu.selectedTile = i; System.out.println(UI_SelectionMenu.selectedTile); } } ... for…
Re: minify imageview setonmouseclicked code
Programming
Software Development
4 Years Ago
by JamesCherrill
… i In the event handler get the node from the
MouseEvent
and get its id Now you can use a single…
why my key event not function ?
Programming
Software Development
11 Years Ago
by fazae
…private class List_ButtonADD implements MouseListener { public void mouseClicked(
MouseEvent
event) { double x=Double.parseDouble(jtfFirst.getText… { int cnt=0; public void mouseClicked(
MouseEvent
event) { double x=Double.parseDouble(jtfFirst.getText…
Can some experts tell me whats wrong with my code ?
Digital Media
UI / UX Design
15 Years Ago
by heavenkid
…;About"); } about_btn.addEventListener(
MouseEvent
.CLICK, goAbout); function goLinks (e:
MouseEvent
):void{ gotoAndStop("Links"); } links_btn.addEventListener(
MouseEvent
.CLICK, goLinks); function goContact…
Error on repairing program
Programming
Software Development
14 Years Ago
by Sandar Khin
…RED); googleLabel.addMouseListener(new MouseAdapter() { public void mouseClicked(
MouseEvent
e) { if (e.getClickCount() > 0)…RED); googleLabel.addMouseListener(new MouseAdapter() { public void mouseClicked(
MouseEvent
e) { if (e.getClickCount() > 0)…
AS3 Question on "Null Reference"
Programming
Web Development
13 Years Ago
by leroi green
… Blocks on left*/ abtBlck.addEventListener(
MouseEvent
.CLICK, gotoabtBlck); BioBlck.addEventListener(
MouseEvent
.CLICK, gotoBioBlck); CntctBlck.addEventListener(
MouseEvent
.CLICK, gotoCntctBlck);[/code] Line 122… AEG anime and then to the EvntsPage*/ function gotoEvnts(event:
MouseEvent
):void { gotoAndPlay(87); } /*About Page Button Methods*/ /*…
Re: Freehand drawing on transparent background
Programming
Software Development
12 Years Ago
by tr4nquility
… = 0; } public void mouseClicked(
MouseEvent
e) {} public void mouseEntered(
MouseEvent
e) {} public void mouseExited(
MouseEvent
e) {} public void mouseReleased(
MouseEvent
e) {} public void mouseDragged…
gui question
Programming
Software Development
15 Years Ago
by Lensva
…); } class DrawP extends JPanel implements MouseListener, MouseMotionListener { int mouseX, mouseY;
MouseEvent
mouseEvent
; public DrawP() { addMouseListener(this); addMouseMotionListener(this); } public void paintComponent(Graphics…
1120 access of undefined property?
Digital Media
UI / UX Design
14 Years Ago
by snitch321
…(); Index_btn.addEventListener(
MouseEvent
.CLICK, Click); T_btn.addEventListener(
MouseEvent
.CLICK, Click1); C_btn.addEventListener(
MouseEvent
.CLICK, Click2); B_btn.addEventListener(
MouseEvent
.CLICK, Click3); H_btn.addEventListener(
MouseEvent
.CLICK, Click4…
Inheritance and Polymorphism
Programming
Software Development
14 Years Ago
by VirtueAL
…void mousePressed(
MouseEvent
e){ } public void mouseReleased(
MouseEvent
e){ } public void mouseDragged(
MouseEvent
e){ } public void mouseClicked(
MouseEvent
e){ …; } public void mousePressed(
MouseEvent
e){ _myCompositeObject.mousePressed(e); } public void mouseDragged(
MouseEvent
e){ _myCompositeObject.mouseDragged(e);…
Problem with jlist
Programming
Software Development
12 Years Ago
by greatcornholio
… { public void mouseClicked(java.awt.event.
MouseEvent
evt) { btnDesabilitarProveedorMouseClicked(evt); } }); …() { public void mouseClicked(java.awt.event.
MouseEvent
evt) { listProveedoresMouseClicked(evt); } }); jScrollPane1…
Using candidates as objects
Programming
Software Development
12 Years Ago
by jhamill
…else { sarahVotes++; repaint(); } } public void mouseEntered(
MouseEvent
arg0) { // Not needed, but must be … sarah.registerVote(); repaint(); } } public void mouseEntered(
MouseEvent
arg0) { // Not needed, but must be …
Problem Loading Movieclips from library
Digital Media
UI / UX Design
16 Years Ago
by mikeandike22
…); contents.scrollV -= 1; } bscrollup.addEventListener(
MouseEvent
.CLICK, upscrolltext); function dwnscrolltext(evt:
MouseEvent
):void{ trace(contents.scrollV); contents.scrollV += 1…0,160); var dragging:Boolean = false; function dragscroll(evt:
MouseEvent
):void{ bscrolldrag.startDrag(false,bounds); dragging = true; }…
Help! JApplet -> JFrames
Programming
Software Development
15 Years Ago
by anbuhikaru
…, this); } public void mousePressed(
MouseEvent
evt) { } public void mouseEntered(
MouseEvent
evt) { } public void mouseExited(
MouseEvent
evt) { } public void mouseReleased(
MouseEvent
evt) { } public void mouseClicked…
Draw lines on panel
Programming
Software Development
15 Years Ago
by ahoest
…;); repaint(); } public void mousePressed(
MouseEvent
e) {} public void mouseReleased(
MouseEvent
e) {} public void mouseEntered(
MouseEvent
e) {} public void mouseExited(
MouseEvent
e) {} }); } protected void paintComponent…
Re: Draw lines on panel
Programming
Software Development
15 Years Ago
by ahoest
…;); repaint(); } public void mousePressed(
MouseEvent
e) {} public void mouseReleased(
MouseEvent
e) {} public void mouseEntered(
MouseEvent
e) {} public void mouseExited(
MouseEvent
e) {} }); } protected void paintComponent…
Currency Conversion
Programming
Software Development
13 Years Ago
by Matt89
…: } private void USDMouseClicked(java.awt.event.
MouseEvent
evt) { // TODO add your handling …: } private void formMouseClicked(java.awt.event.
MouseEvent
evt) { // TODO add your handling …
Freehand drawing on transparent background
Programming
Software Development
12 Years Ago
by tr4nquility
… setOpacity(0.55f); setVisible(true); } public void mousePressed(
MouseEvent
e) { start = new Point(e.getX(), e.getY…public void mouseEntered(
MouseEvent
e) {} public void mouseExited(
MouseEvent
e) {} public void mouseReleased(
MouseEvent
e) {} public void mouseDragged(
MouseEvent
e) {} …
Re: Freehand drawing on transparent background
Programming
Software Development
12 Years Ago
by tr4nquility
… new GradientTranslucentWindow(); gtw.setVisible(true); } public void mousePressed(
MouseEvent
e) { start = new Point(e.getX(), e.… void mouseEntered(
MouseEvent
e) {} public void mouseExited(
MouseEvent
e) {} public void mouseReleased(
MouseEvent
e) {} public void mouseDragged(
MouseEvent
e) {}…
Re: Minimize App
Programming
Software Development
12 Years Ago
by nsyncpilu
…() { public void mouseClicked(java.awt.event.
MouseEvent
evt) { jPasswordField1MouseClicked(evt); } }); jPasswordField1… } private void jLabel1MouseExited(java.awt.event.
MouseEvent
evt) { // TODO add your handling …
help with buttons
Programming
Software Development
10 Years Ago
by cobalt555
… your handling code here: } private void jSpinner2MouseClicked(java.awt.event.
MouseEvent
evt) { // TODO add your handling code here: } private void jSpinner3MouseClicked…
As3 Globals doesn't work
Programming
Software Development
6 Years Ago
by Ramasamy_1
…SearchBut.addEventListener(
MouseEvent
.CLICK, clickSearch); TestBut.addEventListener(
MouseEvent
.CLICK, clickTest); //DemoBut.addEventListener(
MouseEvent
.CLICK, clickDemo…;); //Security.allowDomain("*"); BackBut.addEventListener(
MouseEvent
.CLICK, backButListener ); //conn.connect('SearchConnection'); …
Re: Delete drawn lines
Programming
Software Development
15 Years Ago
by ahoest
…); repaint(); } } } public void mouseClicked(
MouseEvent
e) {} public void mouseEntered(
MouseEvent
e) {} public void mouseExited(
MouseEvent
e){} public void mouseDragged(
MouseEvent
e) { if (drawing) { Graphics…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC