|
|

Replace yourwithCode:public Jframe(String args[]) { super(); try { sign.signlink.startpriv(InetAddress.getByName(server)); initUI(); } catch (Exception ex) { ex.printStackTrace(); } }
Code:public static void main(String args[]) { super(); try { sign.signlink.startpriv(InetAddress.getByName(server)); initUI(); } catch (Exception ex) { ex.printStackTrace(); } }


Getting two errors with that kamiel
- Cannot make a static reference to the non-static method initUI() from the type Jframe
- Constructor call must be the first statement in a constructor
Couldn't make initUI static due to more shitty errors so I applied jf. to initUI(); but I'm still left with that shit super(); error, it's being called 1st so idk
Code:public static void main(String args[]) { super(); try { sign.signlink.startpriv(InetAddress.getByName(server)); jf.initUI(); } catch (Exception ex) { ex.printStackTrace(); } }
| « NICKname v5 dialogue error? | GFX Issue [REP ++, THANKS] » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |