Scala calling super from a base class that extends a java class -


a scala class inherits jframe class

class app extends jframe {   public app {     //how call super method     super("hello world");   } } 

the correct syntax is:

class app extends jframe("hello world") {   // code } 

Comments

Popular posts from this blog

python - argument must be rect style object - Pygame -

c++ - Qt setGeometry: Unable to set geometry -

php - Zend Framework / Skeleton-Application / Composer install issue -