/** NotUsed */ public void mouseClicked(MouseEvent e) { parent.showStatus("in mouseClicked"); } /** NotUsed */
/** NotUsed */ public void mouseReleased(MouseEvent e) { parent.showStatus("in mouseReleased"); } }
/** When mouse enters, clear showStatus */ public void mouseExited(MouseEvent e) { parent.showStatus(""); } /** When the button is pressed, go for it! */
/** When mouse enters, showStatus of URL */ public void mouseEntered(MouseEvent e) { parent.showStatus(u.toExternalForm()); } /** When mouse enters, clear showStatus */
import java.applet.*; import java.awt.*; public class abhidev extends Applet { /** Initializes the applet abhidev */ public void init() { try { setBackground(Color.cyan); } catch(Exception e){ e.printStackTrace(); } } public void paint(Graphics g){ try{ g.drawString("this ais an applet window",10,30); showStatus("this is astatus window"); } catch (Exception ex) { ex.printStackTrace(); } } }
this.showStatus("Causing Transformer and Parser to Load and JIT..."); this.showStatus("Ready to go!"); this.showStatus("Could not prime the pump!"); System.out.println("Could not prime the pump!"); e.printStackTrace();
this.showStatus("Causing Transformer and Parser to Load and JIT..."); this.showStatus("Ready to go!"); this.showStatus("Could not prime the pump!"); System.out.println("Could not prime the pump!"); e.printStackTrace();
/** When the button is pressed, go for it! */ public void mousePressed(MouseEvent e) { parent.showStatus("Showing document at URL " + u); parent.getAppletContext().showDocument(u); // No error checking on showDocument() -- the // browser will honk at the user if the link // is invalid. We should open "u" ourselves, // check the open, and close it. Or not... } /** NotUsed */
this.showStatus("Waiting for Transformer and Parser to finish loading and JITing..."); StreamResult result = new StreamResult(pw); this.showStatus("Begin Transformation..."); try this.showStatus("Transformation Done!"); htmlData = osw.toString();
this.showStatus("Waiting for Transformer and Parser to finish loading and JITing..."); StreamResult result = new StreamResult(pw); this.showStatus("Begin Transformation..."); try this.showStatus("Transformation Done!"); htmlData = osw.toString();
showStatus("Alex Collins");
showStatus("Moving mouse at " + me.getX() + ", " + me.getY());
super.paintComponents(g); g.drawString(msg, msgX, 20); showStatus(diff + "Text at " + msgX + ",20");
showStatus(message);
showStatus( "Mouse at (" + x + "," + y + ")" ); repaint();
showStatus(e.toString()); p = e.getPoint(); repaint();
showStatus("Roll again"); } else { if (gameStatus == WON) { showStatus("Player wins." + "Click Roll Dice to play again"); numberPlayerWins++; txtPlayerWins.setText(Integer.toString(numberPlayerWins)); showStatus("House wins." + "Click Roll Dice to play again"); numberHouseWins++; txtHouseWins.setText(Integer.toString(numberHouseWins));
applet.showStatus(e.toString()); Graphics2D g2 = (Graphics2D) image.getGraphics(); g2.fillOval(e.getPoint().x - 5, e.getPoint().y - 5, 10, 10);
showStatus(getAppletInfo());
getAppletContext().showDocument(url); catch(MalformedURLException ex) { showStatus(ex.toString()); } showStatus("Paused"); // display statusline message showStatus(""); // clear statusline