I am unable to figure out how to make my processing app go full screen.
Processing can both use it own  code  and java which it is based on.
I have been trying to use 


processing code
-size(displayWidth, displayHeight);  // but it does not hide the windows bar and still had the top bar 



i use the following code to hide the top but it will not open  on the top of the screen 

java  code 
public void init() {
  frame.removeNotify();
  frame.setUndecorated(true);
  frame.addNotify();
  super.init();
}