mouseClicked(MouseEvent e) Programming Software Development 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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…