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

android - questions about switching from C2DM to GCM -

c++ - rosrun via ssh doesnt start a node properly -

Error C2280 mutex in a class C++ -