Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
laliki
laliki's Profile
2
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
full screen, two displays, no OS menu bar???
[0 Replies]
14-Apr-2013 10:23 AM
Forum:
Integration and Hardware
Hi,
I'm trying to run a sketch on two displays:
- one, the laptop monitor
- the second one, a projector
Example: a orange rectangle on the laptop, a blue rectangle on the projector.
I don't need independent frames.
However, when I "Run" the sketch, I get the OS menu bar on the main screen (the laptop).
I've tried to use Present mode with the size of display 1 + display 2,
as told in the wiki:
http://wiki.processing.org/w/Window_Size_and_Full_Screen
but doesn't work: Present resizes the sketch.
Any idea?
Perhaps someone has already dealt with this...
Thanks,
Lali
This is the code:
import java.awt.*;
import java.util.*;
int w,h;
void setup(){
w=displayWidth+1024;
h=displayHeight;
size(w,h);
}
void draw(){
frame.setLocation(0, 0);
background(100,100,255);
noStroke();
fill(255,150,0);
rect(0,0,displayWidth,displayHeight);
}
//----------------------------------------------------------------------------------
void init() {
// frame.dispose();
frame.removeNotify();
frame.setUndecorated(true);
frame.setResizable(false); // this doesn't work
frame.addNotify();
super.init();
}
problem with mouse focus and applet
[4 Replies]
23-Apr-2011 09:17 AM
Forum:
Integration and Hardware
I don't know how to integrate a Processing applet in a webpage, without passing the mouse focus to the applet.
I would like to have my processing application running but the links hover active when the web page is loaded.
I suppose it has to be simple... does any one can help me?
thanks
L
«Prev
Next »
Moderate user : laliki
Forum