lib/blanker.rb in sensible-cinema-0.9.7 vs lib/blanker.rb in sensible-cinema-0.10.1
- old
+ new
@@ -10,12 +10,16 @@
def self.startup
@fr = JFrame.new("Sensible Cinema blanker-outer overlay window")
@fr.default_close_operation = JFrame::EXIT_ON_CLOSE
@fr.set_size(2000, 2000) # ltodo better size ?
+ cp = @fr.getContentPane
+ cp.setBackground(java.awt.Color.black);
+
@label = JLabel.new
@fr.add(@label)
+ @label.setForeground(java.awt.Color.white);
@label.repaint
@label.revalidate
@fr.set_resizable(false)
@fr.set_visible(true) # have to do this once, to ever see the thing
\ No newline at end of file