2. ããã ã for Java ãã¼ã¸ã§ã³197ï¼Jun4Java197ï¼ãã®MVC å³8ã«Jun4Java197ã®MVCã®ã¯ã©ã¹é層ã示ãã¾ããå³2ã®Jun4Smalltalkã¨ã»ã¨ãã©åãã§ããMVCã«é¢ä¿ããé¨åã§ï¼éãç¹ã以ä¸ã«åæãã¾ãã VisualWorksã§ã¯Viewã®ãµãã¯ã©ã¹ã«Canvasãããã¾ããï¼Jun4Javaã§ã¯StViewã®å±æ§ã¨ãã¦java.awt.Componentãæã¤ããã«ãï¼_getJavaComponent()ã§ã¢ã¯ã»ã¹ã§ããããã«ãã¾ãã StControllerã§java.awt.event.MouseListenerãMouseMotionListenerãªã©ãå®è£ ãã¾ãã Controllerã®èµ¤ï¼å·¦ï¼ãã¿ã³ã¤ãã³ãï¼redButtonPressedEventï¼ãªã©ãï¼MouseListenerã®mousePressed()ãªã©ã«å¤æ´ã
{{#tags}}- {{label}}
{{/tags}}