• Post Reply Bookmark Topic Watch Topic
  • New Topic

setMainWindow() does not working  RSS feed

 
liya dean
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i got problem when trying to create a window after clicking a button(both window and button on different class). I'm using Java with vaadin on IntelliJ IDEA. My problem is the setMainWindow(main) on window class is not working. This method appear in red colour:




But when i run this program, only "Add" is displayed on console but the window is not available. Is it i'm missing any code somewhere? Please anyone help me


 
Dave Tolls
Ranch Foreman
Posts: 3056
37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, a very quick read of the Vaadin website seems to show apps being built on top of a UI class, which is entirely missing from your code above.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!