search for: jframe

Displaying 5 results from an estimated 5 matches for "jframe".

Did you mean: frame
2002 Dec 30
1
Java Swing App
...al number in output stream: 67 Terminated [dritch@twitch wine]$ When I compile it natively under linux and try to run it with wine, I get the same result. Here is the application, itself: import javax.swing.*; public class HelloWorldSwing { public static void main(String[] args) { JFrame frame = new JFrame("HelloWorldSwing"); final JLabel label = new JLabel("Hello World"); frame.getContentPane().add(label); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.pack(); frame.setVisible(true); } } I'm runnin...
2012 Dec 22
0
[LLVMdev] Problem executing Swing application with j3
...c 3, 2012 at 8:09 PM, Baptiste Saleil <baptiste.saleil at gmail.com>wrote: > Hi Nicolas, thanks for your answer. > > The swing hello world is the following (Running perfectly with OpenJDK) : > > public class HelloSwing { > public static void main(String[] args) { > JFrame frame = new JFrame("HelloWorldSwing"); > final JLabel label = new JLabel("Hello World"); > frame.getContentPane().add(label); > > frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); > frame.pack(); > frame.setVisible(true); > } > }...
2009 Jul 27
0
plotting a PNG from an in-memory object
Hi, I have code which, via rJava can bring up a JFrame to display an image. What I'd like to be able to is to capture that image and make an R plot out of it (analogous to plotting a PNG file, but not from an actual file). I can rite Java code that could be called from R to take a snapshot of the window, but is it at all possible to some return th...
2004 Jan 15
0
Sjava question on MacOS 10.3
...,"PI") $key [1] "1" $className [1] "org.omegahat.Environment.Language.StaticMethodAlias" attr(,"class") [1] "AnonymousOmegahatReference" > .Java("Math","sin",3.141592654) [1] -4.102069e-10 > f <- .JavaConstructor("JFrame")
2004 Aug 06
3
q about jspeex
Hi Marc, thanks for the quick reply. Marc Gimpel wrote: > It would appear the the 'pcm2speex.read(frame, 0, frame.length)' is > blocking which means that it is waiting for data from the underlying > inputstream (i.e.AudioInputStream(t.input)). If it could read > sufficient data it would transcode it. If it recieved an EOF, it > should do some zero padding and then