Swing and jmf

can u please have a look to the attached file
i know that this involves the jmf API but I have the feeling that has to do more with swing, thats whay I post my question here
this simple application is based on the MDI.java example of the jmf web
pages
I also added a slider and want to set the playback rate for the player from
there if possible
that is I want everytime that I move the slider and the value is biggerthan
50 the rate to be reduced according to a simple calculation that converts
the slider value to a value between 0 an1 for the rate...
so all i want to do is pass the slider value to the player everytime that
the slider changes value and this is bigger than 50
the attached file can do that only when the player starts playing the
file,,,,
after the player has started and the rate is set I cant change it even if
the slider moves
when I tried to do that from within the stateChanged method of the slider I
was getting a Nullpointer exception because of the EventDispatching thread,
so I thought to take this piece of code out of there (create the setnewrate
method in the jmframe instead),,,,but then of course doesnt work like I
would want,,,,,
do I have to register the class that implements the frame for the player as
a ChangeListener on the slider to achieve that, is something like that
possible....
I know that swing is not supposed to be thread safe, so maybe this is what
the problem is after all...any suggestions to that direction?
Can u please have a look??
I am a beginner so any help would really be very much appreciated
thanx :)
maria
.....and the attached file
I think the problem is with the stateChanged method for the Jslider...
I am getting a null pointerexception because of the eventdispatching thread
pls ignore any silly mistakes I am a completely newbie in java
myAppfr2.java
import javax.media.*;
import com.sun.media.ui.*;
import javax.media.protocol.*;
import javax.media.protocol.DataSource;
import javax.swing.*;
import javax.swing.event.*;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.io.*;
import java.util.Vector;
import javax.swing.border.Border.*;
import java.util.Hashtable;
public class myAppfr2 extends Frame {
* VARIABLES
JMFrame jmframe = null;
JDesktopPane desktop;
FileDialog fd = null;
CheckboxMenuItem cbAutoLoop = null;
Player player ;
//Player newPlayer = null;
String filename;
boolean stopped;
public my_slider test_slider;//put it here so I can use it by name by all code
float rate;
* MAIN PROGRAM / STATIC METHODS
public static void main(String args[]) {
//if (args.length > 0)
     //rate=Float.parseFloat(args[0]);
myAppfr2 mdi = new myAppfr2();
static void Fatal(String s) {
MessageBox mb = new MessageBox("JMF Error", s);
* METHODS
public myAppfr2() {
super("VHE Demo");
// Add the desktop pane
setLayout( new BorderLayout() );
desktop = new JDesktopPane();
desktop.setDoubleBuffered(true);
     desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);//makes dragging faster
add("Center", desktop);
setMenuBar(createMenuBar());
setSize(640, 480);
setVisible(true);
     test_slider = new my_slider("networkutil");
     createnetworkutil();
     try {
     UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel") ;
} catch (Exception e) {
System.err.println("Could not initialize personal look and feel");
addWindowListener( new WindowAdapter() {
public void windowClosing(WindowEvent we) {
System.exit(0);
Manager.setHint(Manager.LIGHTWEIGHT_RENDERER, new Boolean(true));
private MenuBar createMenuBar() {
ActionListener al = new ActionListener() {
public void actionPerformed(ActionEvent ae) {
String command = ae.getActionCommand();
if (command.equals("Open")) {
if (fd == null) {
fd = new FileDialog(myAppfr2.this, "Open File",
FileDialog.LOAD);
fd.setDirectory("~/movies");
fd.show();
if (fd.getFile() != null) {
String filename = fd.getDirectory() + fd.getFile();
openFile("file:" + filename);
} else if (command.equals("Exit")) {
dispose();
System.exit(0);
MenuItem item;
MenuBar mb = new MenuBar();
// File Menu
Menu mnFile = new Menu("File");
mnFile.add(item = new MenuItem("Open"));
item.addActionListener(al);
mnFile.add(item = new MenuItem("Exit"));
item.addActionListener(al);
// Options Menu
Menu mnOptions = new Menu("Options");
cbAutoLoop = new CheckboxMenuItem("Auto replay");
cbAutoLoop.setState(true);
mnOptions.add(cbAutoLoop);
mb.add(mnFile);
mb.add(mnOptions);
return mb;
//create slider and add it to desktop
public void createnetworkutil(){
test_slider.pack();
desktop.add(test_slider);
test_slider.setVisible(true);
* Open a media file.
private void openFile(String filename) {
String mediaFile = filename;
Player player = null;
// URL for our media file
URL url = null;
try {
// Create an url from the file name and the url to the
// document containing this applet.
if ((url = new URL(mediaFile)) == null) {
Fatal("Can't build URL for " + mediaFile);
return;
// Create an instance of a player for this media
try {
player = Manager.createPlayer(url);
} catch (NoPlayerException e) {
Fatal("Error: " + e);
} catch (MalformedURLException e) {
Fatal("Error:" + e);
} catch (IOException e) {
Fatal("Error:" + e);
if (player != null) {
this.filename = filename;
JMFrame jmframe = new JMFrame(player, filename);
desktop.add(jmframe);
class JMFrame extends JInternalFrame implements ControllerListener {
public Player mplayer;
Component visual = null;
Component control = null;
int videoWidth = 0;
int videoHeight = 0;
int controlHeight = 30;
int insetWidth = 10;
int insetHeight = 30;
// boolean firstTime = true;
public JMFrame(Player player, String title) {
super(title, true, true, true, true);
getContentPane().setLayout( new BorderLayout() );
//setSize(320, 10);
setLocation(200, 25);
setVisible(true);
mplayer = player;
mplayer.addControllerListener((ControllerListener) this);
mplayer.realize();
addInternalFrameListener( new InternalFrameAdapter() {
public void internalFrameClosing(InternalFrameEvent ife) {
mplayer.close();
public void controllerUpdate(ControllerEvent ce) {
// System.out.println("controllerUpdate");
//SwingUtilities.isEventDispatchThread();
if (ce instanceof RealizeCompleteEvent) {
mplayer.prefetch();
} else if (ce instanceof PrefetchCompleteEvent) {
if (visual != null)
return;
     //setnewrate();
     //rate=mplayer.getRate();
     System.out.println( mplayer.getRate());
if ((visual = mplayer.getVisualComponent()) != null) {
Dimension size = visual.getPreferredSize();
videoWidth = size.width;
videoHeight = size.height;
getContentPane().add("Center", visual);
} else
videoWidth = 320;
/*if ((control = mplayer.getControlPanelComponent()) != null) {
controlHeight = control.getPreferredSize().height;
getContentPane().add("South", control);
setSize(videoWidth + insetWidth,
videoHeight + controlHeight + insetHeight);
validate();
mplayer.start();
} else if (ce instanceof StartEvent){
     if (test_slider.netutil==0) {
     mplayer.stop();
     } else if (ce instanceof EndOfMediaEvent && cbAutoLoop.getState()) {
mplayer.setMediaTime(new Time(0));
          boolean stopped=true;
          mplayer.prefetch();
          mplayer.start();
          stopped=false;
class my_slider extends JInternalFrame implements ChangeListener{
//Set up parameters.
int netini=50;
public int netutil=netini;
public my_slider(String windowTitle) {
super(windowTitle, false, false, false, false);
getContentPane().setLayout(new BorderLayout());
setLocation(25,25);// for the internal frame that contains the slider
setVisible(true); //..same
//Create the slider(the component included in "my_slider" internal frame
     JSlider mslider = new JSlider(JSlider.VERTICAL,
0, 100, netini);
mslider.addChangeListener((ChangeListener) this);
mslider.setMajorTickSpacing(10);
mslider.setPaintTicks(true);
//Create the label table.
Hashtable labelTable = new Hashtable();
labelTable.put(new Integer( 0 ),
new JLabel("0%") );
labelTable.put(new Integer( 25 ),
new JLabel("25%") );
labelTable.put(new Integer( 50 ),
new JLabel("50%") );
labelTable.put(new Integer(75),
new JLabel("75%") );
     labelTable.put(new Integer( 100),
new JLabel("100%") );     
mslider.setLabelTable(labelTable);
mslider.setPaintLabels(true);
mslider.setBorder(
BorderFactory.createEmptyBorder(0,0,0,10));
     //Put everything in the content pane.
getContentPane().add(mslider, BorderLayout.CENTER);
public void stateChanged(ChangeEvent e) { //System.out.println("stateChanged");
// SwingUtilities.isEventDispatchThread();
if (e instanceof ChangeEvent){
JSlider source = (JSlider)e.getSource();
if (!source.getValueIsAdjusting()) {
netutil= (int)source.getValue();
     System.out.println(netutil);
          if (jmframe.mplayer!=null) {
     jmframe.mplayer.setRate((float)(netutil/(netutil+(0.3*netutil))));
          if (jmframe.mplayer.getTargetState() <Player.Started)
     jmframe.mplayer.prefetch();
i am stuck so any help would be really very much appreciated

did you ever resolve this.
I may be having similar problems
I have an JMF application running under webstart. It runs ok in Java 1.3
Now I am trying to get ti to run under Java 1.4. The attached error is rather useless,
but by guess at what is happening is that the JMF control has some .awt. stuff included
but that Java 1.4 emulates .awt. in swing. But something was not set and the default does not
work.
This error messages does not appear in the 1.3 run
Any suggestions would be greatly appriatated.
1.4 result:
mg version 2.1.1a
player created com.sun.media.content.unknown.Handler@3a1834
ctr com.sun.media.PlaybackEngine$BitRateA@4a9a7d
ctr com.sun.media.BasicJMD[panel0,0,0,512x200,invalid,layout=java.awt.BorderLayout]
duration? javax.media.Time@6b5666 sec = 9.223372036854776E9
time unknown javax.media.Time@754699
will realize the player
realize
javax.media.TransitionEvent[source=com.sun.media.content.unknown.
Handler@3a1834,previous=Unrealized,current=Realizing,
target=Realized]
start smxBADS
bass start
Exception occurred during event dispatching:
java.lang.NullPointerException
at javax.swing.plaf.metal.MetalLookAndFeel.getControlInfo(Unknown Source)
at javax.swing.plaf.metal.MetalScrollButton.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintWithBuffer(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception occurred during event dispatching:
java.lang.NullPointerException
at javax.swing.plaf.metal.MetalLookAndFeel.getControlInfo(Unknown Source)
at javax.swing.plaf.metal.MetalScrollButton.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintWithBuffer(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
realize done
panel found java.awt.Panel[panel1,0,0,0x0,invalid] java.awt.Panel[panel2,4,216,292x30,layout=java.awt.FlowLayout]
press a button
Exception occurred during event dispatching:
java.lang.NullPointerException
at javax.swing.plaf.metal.MetalLookAndFeel.getControlInfo(Unknown Source)
at javax.swing.plaf.metal.MetalScrollButton.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintWithBuffer(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception occurred during event dispatching:
java.lang.NullPointerException
1.3 result
mg version 2.1.1a
player created com.sun.media.content.unknown.Handler@354749
ctr com.sun.media.PlaybackEngine$BitRateA@5b484d
ctr com.sun.media.BasicJMD[panel3,0,0,512x200,invalid,layout=java.awt.BorderLayout]
duration? javax.media.Time@46d228 sec = 9.223372036854776E9
time unknown javax.media.Time@f7386
will realize the player
realize
javax.media.TransitionEvent[source=com.sun.media.content.unknown.
Handler@354749,previous=Unrealized,current=Realizing,
target=Realized]
start smxBADS
bass start
javax.media.DurationUpdateEvent[source=com.sun.media.content.unknown.Handler@354749,duration=javax.media.Time@55c0f9
javax.media.Time@55c0f9
javax.media.RealizeCompleteEvent[source=com.sun.media.content.unknown.Handler@354749,previous=Realizing,current=Realized,target=Realized]
realized complete
prefetch
realize done
controlComp com.sun.media.ui.DefaultControlPanel[,0,0,74x21,invalid,layout=java.awt.BorderLayout]
add controlComp 21 java.awt.Panel[panel4,10,-12,258x47,invalid]
javax.media.TransitionEvent[source=com.sun.media.content.unknown.Handler@354749,previous=Realized,current=Prefetching,target=Prefetched]
start smxBADS
bass start
running ok from here on

Similar Messages

  • Help required with JSP and JMF

    Hi
    Please check the following thread and let me know if JSP and JMF can be combined together
    http://forum.java.sun.com/thread.jspa?threadID=5161428&tstart=0
    ~Aman

    take a look at the Java Upload bean and it's examples
    http://www.javazoom.net/jzservlets/uploadbean/uploadbean.html

  • Java Swing and Socket Programming

    I am making a Messenger like yahoo Messenger using Swing and Socket Programming ,Multithreading .
    Is this techology feasible or i should try something else.
    I want to display my messenger icon on task bar as it comes when i install and run Yahoo Messenger.
    Which class i should use.

    I don't really have an answer to what you are asking. But I am developing the same kind of application. I am using RMI for client-server and server-server (i have distributed servers) communication and TCP/IP for client-client. So may be we might be able to help each other out. My email id is [email protected]
    Are you opening a new socket for every conversation? I was wondering how to multithread a socket to reuse it for different connections, if it is possible at all.
    --Poonam.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Connect swing and J2EE

    In WEB Application i used JSP, Struts and J2EE.
    But Now use swing application, and something for joing swing and j2ee
    Somebody knows something...
    I need your help....

    In WEB Application i used JSP, Struts and J2EE.
    But Now use swing application, and something for joing
    swing and j2ee
    hopefully, no business logic is in struts; only the application logic (i.e. order of screens, input type validation, etc.). If this is the case you have many options:
    - direct calls to the ejb (assuming you have a service defined as an EJB)
    - SOAP, SOAP-RPC, or a full web-service (as mentioned above)
    - your own custom protocol over HTTP
    - RMI (probably too much work; easier to just make direct EJB calls)
    - JMS (probably more work than just using SOAP or HTTP)
    - Socket based communication with your own custom protocol
    Probably the fastest to get going is direct calls from swing to the EJB.
    You'll have to re-implement your application logic; but this is fine as the swing app will probably have a different flow than the web-app.
    Best of luck,
    Andrew

  • About rtp and jmf

    Hello,I'm now working on my graduation paper which refers to the RTP,and JMF matter.Because this is my first time to deal with this, i don't know much about that.And what i'm now trying to transfer is a file like *.au by using the sample
    code VideoTransmit.java. But it always says
    -cannot create processor
    (processor is an interface)
    I don't know why.
    can anyone help me?
    Thank you.

    .au is a sound file, VideoTransmitter wants a video file

  • Is licence required for implementing JavaTv and JMF.

    Hi,,
    I am trying to develop GEM middleware for my STB,
    The STB has OS20 as RTOS and implemented on an ST chip
    This GEM is DVB MHP minus DVB.
    We have to implement JavaTV package and JMF for that,
    But do we have to pay any royalty to SUN for implementing the JavaTV or JMF packages or can we implement the binary versions of the packages.
    Please letme know how to implement the following packages
    org.havic.*
    org.davic.*
    javax.tv.*
    org.dvb.*
    and JMF?

    Hi Rohit,
    let me also add a few words. In principle the process Sales Order Processing B2B with ERP sales order in CRM Web Channel means that you setup (a) Web shop(s) that use and display the CRM product catalog but create orders directly in SAP ERP without first creating them in SAP CRM. It also allows to use certain E-Marketing features of CRM in the Web shop. The CRM product catalog in this process can only be used if you do use the TREX. There is no way of directly call up the catalog from CRM in the Web shop by bypassing the TREX.
    In the SAP E-Commerce for SAP ERP solution (ECO ERP) we in contrast offer the possibility to use the ERP catalog without the TREX. In this solution you can use the Memory Catalog which is not using the TREX. This solution by this way allows to directly use and display the ERP catalog and create orders directly in SAP ERP.
    For the CRM catalog in contrast we do not have something similar to the Memory Catalog. Instead you DO need to use the TREX to display the CRM catalog in the Web shop.
    The only option you have to "avoid" the TREX i a CRM web shop is what Easwar and Christoph have written about: The usage of an external catalog from a 3rd party catalog engine via the Open Catalog Interface (OCI) in the CRM Web shop. This we do offer for the CRM Web shop. However if you do not have an external catalog engine and want to use the CRM catalog then again you do need to use the TREX. It does not matter if you do not want to use product search nor prices other than fro ERP sales order.
    Greetings
    Torsten Kliesch

  • Swings and Threads

    My applet communicates with the database. To ensure that the GUI is updated in the Event-Dispatching Thread I am using a SwingWorker: in construct() the application communicates with DB, and in finished() it updates the GUI. In construct() of the SwingWorker thread I need to create a dialog box to prompt the user for an input like to chose a color or to answer yes/no.
    My question is: Do I need to use invokeAndWait() to create the dialog box? The more general question is: do we use invokeLater() or SwingWorker only for GUIs that are shared by several threads or we have to use it for every swing we create after Event-Dispatching Thread started running?
    Thank you

    One of the fun things about Swing and its EventDispatchThread is that
    doing things wrong (such as performing Swing operations from a thread
    other than the EDT) is that more often than not, even though they are done
    technically wrong, they will still appear to work, especially in small programs.
    (In a larger sense, this applies to any multi-threaded program: things might
    appear to work until the timing changes just a teensy bit...)
    What's even more fun is working with someone who has previously only
    done small programs and because of that, takes this approach in large programs, and then spending a large amount of time trying to figure out why
    something sporadically stops working, only to trace it back to a Swing
    operation being invoked from a thread other than the EDT. Fun!
    You know how to do it correctly.
    You know why to do it correctly.
    But you choose not to. Good luck with that.

  • Using swing and swt together

    i would like to use some of the components of swt such labels or buttons in swing as swt has better look and feel. but in all the examples i found they are using a whole set of swt api to create frames and showing them up.
    Isnt there any way to add button or label of SWT in Swing. i found a method SWT_AWT.newFrame(). But it is returning a awt frame not a Swing JFrame that at the frame level. i need them at individual component level(buttons and labels).
    hope u understood my problem.. any other suggestions??

    Swing and SWT are two different framework. Usually, peoiple choose one and stick with it. I would not mess with mixing SWT with Swing or vice-versa. I really don't understand why you would choose to mix these two framework together. "better look and feel" is not the best answer for this. what i would look into is a look and feel for Java (like JGoodies look n feel)..and check for Swing component that pther people have made (or enhance upon the Swing library).
    Stick with one framework. Your life will be much easier.
    Futhermore, maintainance would be less difficult. (you only have to know one framework instead of two, plus how they interact)

  • Need  java code to perform refresh button action using swings and awt

    i need java code to perform refresh button action using swings and awt.please help me

    Wait ! Noboby ? OK, I'll do it
    public void onBtnAction ()
        if (!fresh)
            refresh ();
    }Seriously, did you expect anyone to answer such a cryptic question ?

  • Mobile Media API  and JMF

    can I use the mobile media api and JMF to send media from a pc and receive it on a java enabled mobile device (cell. phone).
    Thanks in advance

    ya u can.... u gotto use mmapi in mobile...and jmf in server...write a servlet code in jmf....call it from client using http connection

  • Error swing and j2ee

    I have an application based on on j2ee. All the logica of the program this in J�E but the part client I am doing it in swing.
    I want to know if there is "something" with which I can unite the transference of information between the layer swing and j2ee.
    But of all ways I am making an example fast but I have an error and not like solving it.
    I am using Oracle9i, JDevelepoer 9.0.5 and the code is:
    Context context = new InitialContext();
    clienteBOHome = (ClienteBOHome)PortableRemoteObject.narrow(context.lookup("java:comp/env/ejb/cliente"), ClienteBOHome.class);
    clienteBO = clienteBOHome.create();
    colClientes = (Vector)clienteBO.listarClientes();
    And the error is:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at com.tsawi.pm.gui.ListarClientes.jbInit(ListarClientes.java:58)
    at com.tsawi.pm.gui.ListarClientes.<init>(ListarClientes.java:44)

    Hi raguero,
    if you want to create and use a naming context, you need a JNDI service provider. A JNDI service provider is who provides a client 2 thinks:
    1) A Context Factory, which JNDI API uses tu build JNDI context
    2) A service listening on an host-port
    If you deploy your J2EE app under J2EE RI, you connect to JNDI service by this url:
    iiop://hostname:1050 (by default)
    and context factory to use is "com.sun.jndi.cosnaming.CNCtxFactory"
    so you got context like this:
    Properties prop=new Properties();
    prop.add(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory");
    prop.add(Context.PROVIDER_URL,"iiop://hostname:1050")
    Context jndiContext=new InitialContext(prop);
    Obvious, com.sun.jndi.cosnaming.CNCtxFactory class must be in client classpath.
    Fil

  • Help needed- Caller tone application using JTAPI and JMF

    Hi to All,
    I want to make a Caller Tone Application for Cisco IP phone.
    For that application I am using JTAPI and JMF.
    I am new to this two technologies.
    Can somebody help me for how to accomplish this?
    ---Ashish

    Hi Jerry,
    You can run analog input and counter tasks concurrently.  You can start them using software timing basically at the same time which may be fine for your needs and is the easiest to implement.  You also can use a hardware start trigger to start the tasks if you prefer.  It all depends on the level of synchronization you need. 
    You have not mentioned at what rate you will be acquiring data on your analog inputs.  The M Series PCI-6225 has 80 analog inputs and may suit your needs.  You will need to know what sampling rate you are trying to achieve.  Any M Series device will definitely give you the best value. 
    Hope this helps!
    Laura

  • JFC/Swing and java Swing

    Are JFC Swing and java Swing both different?
    Thanks.

    Nope. Swing is Swing.
    http://java.sun.com/docs/books/tutorial/uiswing/14start/about.html

  • Swing and VNC

    hi,
    has anyone seen problems with Swing via VNC? i've seen components not being redrawn and am wondering if this is because Swings redraw routines are not triggering a VNC refresh because they are not done at the same level as native OS redraw.
    this sounds plausible but surely Windows knows at some level that a redraw has occured to refresh the screen content? I don't know anything about Windows API but would guess that there are events broadcast related to redraw which VNC is catching to efficiently communicate what has changed on screen?
    any help appreciated,
    thanks,
    asjf

    I have had a lot of problems with Swing and some of the other remote desktop like programs (PC Anywhere & Timbuktu to be specific). But I have always had good luck with VNC... I think they do something fundamentally different that works better. So to answer your question... no :)

  • Developing streaming media servers in Java and JMF

    hello.
    this is james mcfadden. i've become interested in developing streaming media servers in Java and JMF. what good books and web pages should i read?

    > i know that i can use J2SE in order to develop JMF
    applications. i don't know if i use J2EE or J2ME to
    develop streaming media servers. which version of
    Java do i use.
    Perhaps I didn't phrase my question correctly. What is your level of expertise and experience with Java SE?
    ~

Maybe you are looking for

  • Satellite Pro C855-1TC boot error - backup does not work

    Hi My laptop went curput 2 days after I done a back up. Came up with an error code: oxc00000f I tried using the backup disk but ask to delete all on hardisk which i didn't I have all my photo's etc on there, I tried all the other options. It says cam

  • Key Figure Reference table and fields

    I am getting the following error: /BIC/CSSMMIMI1-/BIC/KFMI_LCHF (specify reference table AND reference field) I am aware that it is asking me to put a reference table and field for the field in the structure. However, what I am not sure about is shou

  • Exporting text into Pages

    Is it possible to scan text from a typed page and then open it in Preview and somehow export it into Pages and be able to work with it in Pages? If so, how would you do that? Thanks.

  • How to debug ABAP code

    Hi Gurus, Can anyone please tell me how to debug code written in EXIT for extractions. If possible please provide me a step by step approach. Thanks Regards, aarthi [email protected]

  • Web Intelligence Rich client BOXi R3 trial download

    Hi, I need to download the web Intelligence Rich client BOXi R3 version. I cannot find the link on the SAP site .Any assistance will be a great help