Advertisement
enissay

Enissay

Sep 29th, 2014
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.58 KB | None | 0 0
  1. public class Main extends JFrame {
  2.     private Tab1 tab1 = new Tab1(this);
  3.  
  4.     ...
  5.     ...
  6. }
  7.  
  8. public class Tab1 extends JPanel{
  9.     // callback reference
  10.     private Main main;
  11.  
  12.     public Tab1(Main _main) {
  13.         this.main = _main;
  14.        
  15.         ...
  16.         ...
  17.     }
  18.  
  19.     ...
  20.     ...
  21. }
  22.  
  23.  
  24.  
  25. ////ERROR blocking the Design view in Eclipse-WindowBuilder
  26. new Tab1(this)
  27.  
  28. Internal Error
  29. WindowBuilder encountered unexpected internal error.
  30.  
  31. This could be caused by a WindowBuilder bug or by a misconfiguration issue, conflict, partial update, etc.
  32.  
  33. java.lang.IllegalArgumentException: argument type mismatch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement