I mean the bar at the top where the clock and others indicator are (see the image below). It is alway visible event in full-screen on in presentation mode. I have only one monitor. With default :
By exemple this code
int barWidth = 20;
int lastBar = -1;
void setup() {
fullScreen();
colorMode(HSB, width, 100, width);
noStroke();
background(0);
}
void draw() {
int whichBar = mouseX / barWidth;
if (whichBar != lastBar) {
int barX = whichBar * barWidth;
fill(barX, 100, mouseY);
rect(barX, 0, barWidth, height);
lastBar = whichBar;
}
}
Answers
Try this: https://forum.processing.org/two/discussion/22694/is-there-anyway-to-remove-deactivate-the-minimize-close-and-max-button-from-a-processing-window#latest
Kf
Which renderer? Default, JavaFX, P2D / P3D?
Do you have multiple monitors? If so, does it work with only a single monitor connected?
I mean the bar at the top where the clock and others indicator are (see the image below). It is alway visible event in full-screen on in presentation mode. I have only one monitor. With default : By exemple this code
int barWidth = 20; int lastBar = -1; void setup() { fullScreen(); colorMode(HSB, width, 100, width); noStroke(); background(0); } void draw() { int whichBar = mouseX / barWidth; if (whichBar != lastBar) { int barX = whichBar * barWidth; fill(barX, 100, mouseY); rect(barX, 0, barWidth, height); lastBar = whichBar; } }
It seems Processing doesn't use Full Screen Exclusive Mode with the default AWT renderer (see old bug at https://github.com/processing/processing/issues/178 ) Without this, the menu bar won't be hidden.
Try using
fullScreen(P2D);
instead if you can. That seems to work OK.Thank you neilcsmith_net.
fullScreen(P2D); works fine to get rid of that menu bar.
The fullScreen(P2D); work fine with Processing 3.0 ,to get rid of the menu bar But with 3.3.7 on Ubuntu it does not work.
@PascalAudet - yes, someone broke it! :( See my issue at https://github.com/processing/processing/issues/5426
The workaround is to use
fullScreen(P2D, SPAN)
. Currently having to deal with this in Praxis LIVE.fullScreen(P2D, SPAN); works fine. Thank you again neilcsmith_net.