MVC mode application in the test system

xiaoxiao2021-03-06  40

Implement grade segment statistical functions, separate tables and histograms

View View

We want to implement a list of views view1 and a graphical way view of a list display style display View2 and let them implement the OBServer interface so that when the Model data changes, automatically refreshes yourself .public class view1 Extends JPanel Implements Observer {Model Model Public View1 ) {} Public view1 (model model) {Try {this.model = model} catch (exception e) {E.PrintStackTrace ();}}

转载请注明原文地址:https://www.9cbs.com/read-58435.html

New Post(0)