Can existing Swing Applications be ported to JavaTV/MHP/IPTV networks

I am a newbie to JavaTV/MHP/IPTV
Are the applications downloaded from the application provider to the set top box or they are executed as in a X terminal fashion?
I have my Swing Applications . Can it be ported to a JavaTV/MHP/IPTV networks
Thanks in advance
CSJakharia

All applications downloads to STB befoure running.
Swing library is not included to MHP/OCAP/ACAP,
so your swing components are not supported by STB receiver.

Similar Messages

  • Can't get me air port set up to my network

    want to add the airport on my wirelees network so i want have to skip networks.
    and on the iphone its said " cant define the airport base station???

    I suggest that you use a computer with the full version of the Airport Utility to set up the Express - you can download it and get the manual from the Apple Support website.

  • Is there free java chat, which i can embed in my Swing application

    Hello all,
    I have a Swing application and i want to embed java chat into it.
    Can you recommend me free chat for which i can see and modofy client and server sources.
    Regards,
    Chavdar

    No.

  • Can not launch swing application from Java Web Start 1.6.0_37

    I have a dynamic generated jnlp file from a serlvet. When I used Java Web Start to start the swing application, it failed. The exception showed
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://xxxx.xx.com:9080/dilpipweb/Test-1.0-SNAPSHOT.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I used janela to validate the generated jnlp file. It was valid. I also checked the tomcat access log, it showed that the Test-1.0-SNAPSHOT.jar file was accessed correctly (with a 200 return code).
    Can anyone help me what was the problem?
    Thanks,

    Hi.
    I got a different problem. My Corba application works in JRE 1.6, but doesn't works in JRE 1.5.X. I got an unexpected error and my console shows:
    getSubjectX500Principal NoSuchMethodError: java.lang NoSuchMethodError
    #### Java Web Start Error:
    #### null
    Can you help me?

  • How can I unit test my Swing application?

    Hi All,
    In my application I came across a situation where I have to automate the unit testing of my application.
    Using my application user can able to draw polylines and rectangles on a BufferedImage added to a JFrame.
    Can any one please help/suggest me, how to automate the drawing process (this process consists of drawing the polylines with mouse and few action/mouse events)?
    your help will be highly helpful to me.
    Satya

    What exactly will that unit test prove? That you can mock the drawing of lines?
    Unit test are supposed to test certain parts of your application code - I'd concentrate on unit tests that are actually useful and for example in the future can help to catch regressions.
    If anywhere you can get help creating unit tests of this magnitude, I'd look in the unit testing support for Swing applications. Google for "java swing unit test" to see what you can come up with. Probably you'll need to create some plumbing yourself to make custom painting unit-testable; perhaps you could do something with painting to a BufferedImage in stead of to a Swing component for example.

  • How can I select a smaller font for all components of a Swing application?

    The default size of font in Java Look and Feel is 12, how can I change it to 10 globally for my Swing application ?
    Thanks for your help.
    Helen

    It is not very simple because all components don't use the same fonts and if you don't want to subclass the l&f you can do this :
    after setting the l&f (in the main for example)
    Font f = new Font("dialog", Font.PLAIN, 11);
    UIManager.put("MenuItem.font", f);
    UIManager.put("Menu.font", f);
    UIManager.put("MenuItem.acceleratorFont", new Font("dialog", Font.PLAIN, 10));
    UIManager.put("Label.font", f);
    UIManager.put("Button.font", f);
    UIManager.put("ToggleButton.font", f);
    UIManager.put("ToolTip.font", f);
    UIManager.put("List.font", f);
    UIManager.put("Table.font", f);
    UIManager.put("TextField.font", f);
    UIManager.put("ComboBox.font", f);
    UIManager.put("RadioButton.font", f);
    UIManager.put("CheckBox.font", f);
    UIManager.put("RadioButtonMenuItem.font", f);
    UIManager.put("CheckBoxMenuItem.font", f);
    UIManager.put("TableHeader.font", f);
    UIManager.put("Spinner.font", f);
    UIManager.put("Panel.font", f);etc...
    Denis

  • Is there a way that I can call a Swing application

    Hi all,
    Is there a way that I can call a Swing application from html page.
    fox example when user clicks on the url in html will activate a swing local application
    thanks

    Assuming the local swing application is running, and you have an applet in the browser that has permissions to communicate with a server other than the originating server, you could use RMI or a regular socket connection.
    Due to the obvious security issues to letting javascript or an applet free access to the local machine, this is not something that a browser really supports.

  • Can I run existing web application on portal 4.0?

    Hi,
    I have existing web application running on tomcat server. Can I move it to portal
    server ? If yes, what do I need to do?
    Thanks in advance,
    Meghana

    You sure can. WLP4 requires WLS6.x (check the download site for correct
    version). You can deploy your web app using the WLS console.
    Subbu
    Meghana wrote:
    Hi,
    I have existing web application running on tomcat server. Can I move it to portal
    server ? If yes, what do I need to do?
    Thanks in advance,
    Meghana

  • Launching another Swing application from existing one using Runtime.exec()

    Hi,
    I have two separate Swing applications, say A and B. I need to launch B from A using Runtime.exec() - essentially I am launching another VM instance from one VM. I am encountering strange problems - B's main window comes up, but GUI doesn't update; sometimes B comes up and GUI updates, but huge memory leaks happen. All the problems with B go away once A is shut down. It almost looks like both the instances of VM are sharing (or competing for) the event thread. Any comments will be of great help. Thanks.
    note: There is no problem launching B if A is a console java application (i.e. no Swing GUI).

    Do you have to have the second application running in a seperate VM (process)? If not completely neccesary, then you can just invoke the static main() of the second class. If the type of the second class isn't known untill run-time, you can use Reflection to invoke the method.
    Miguel

  • Extending a web application to port 80

    Hello -
    I have a web application running on port 80.  The associated IIS site is http://sharepoint
    I want to extend the web application to port 80 and use a different URL:  http://isharepoint
    The authentication schema will stay the same (classic NTLM).
    I assume I enter http://isharepoint as the host header and use port 80, correct?
    Do I need a new IP address and a new DNS entry, or do I just set up a CNAME that points to an existing name?
    thanks

    Assuming that sharepoint is the current host header then yes you can extend to isharepoint on port 80 with isharepoint being the new host header.  You don't need a new IP address, but will need a new DNS entry and it should be an A record not a CNAME.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • How to load a text file in a Java swings application

    hi,
    I am trying to retrieve a Java code(or say any text from an existing file) and display it in a swing application.
    I am not able to do so.
    Please help me.

    public String readFile(File f){
              try {
                   BufferedReader read = new BufferedReader(new FileReader(f));
                   String line = read.readLine();
                   String total = "";
                   while(line != null){
              //          System.out.println(line);
                        total += line;
                        line = read.readLine();
                   read.close();
                   return total;
              } catch (Exception e){
                   e.printStackTrace();
              return "";
         }that will read a file into a string, i hope you can figure out the rest

  • Invoking a Java swing application via its process id

    I have a Java swing application. What i am trying to do here is that when the user double-clicks the jar file to open it, if the Swing application is already open and is minimized, I need to maximize the open window and make it active.
    I tried using 'jps -l' command in my new instance, and with the help of Runtime.exec() am able to detect whether the application is already running or not, and if running, am able to get the process id and am displaying a message to user indicating the window is already open.
    But how do i maximize the window of an already running application? Is it possible?

    user13333704 wrote:
    I have a Java swing application. What i am trying to do here is that when the user double-clicks the jar file to open it, if the Swing application is already open and is minimized, I need to maximize the open window and make it active. That's not hard to do, but your proposed solution is hard to do. The usual way to have only one instance of a Java application running is this:
    Have the application open a SocketServer on a certain port number. Since only one process can listen on a port, the second instance of the application will fail when it tries to open the SocketServer. When that happens, the second instance should terminate instead of displaying its own GUI. Whether it terminates silently or whether it displays a dialog is up to you.
    If you want the second instance to communicate with the first instance, that's easy because the first instance is listening on the port. So the second instance could connect to that port and send a message to it. In your case the first instance would respond to that message by maximizing its GUI.

  • Make a seprate swing application

    I am running a swing application that is having toolbars with different buttons. In the buttons I am having a record button that is opening a recording window. When I click on the quit button of toolbar the toolbar along with the recording window is closing. My requirement is not to close the recording window when I quit from the toolbar.
    How to start seprate process from the java application. If I quit the one should not close the other process.

    Please reply imm:
    Assume we have 2 applications 1) App name IW 2) App name is RP
    IW geneartes a toolbar which contains some buttons.
    Here I can get output of RP by running itself or from a button of a toolbar which generated by running IW app.
    Now here is my requirement which should follow below 3 points :
    At any time I should have only single output for RP app. i.e,
    1) If I run RP app , then next i clicked RP source button in toolbar of IW,
    then i should get any more output of RP since it is already running( already RP output exist / at a time single instance for RP).
    2) If I run IW app, then toolbar generated .Now I clicked on RP source button.I got the output of RP app by running RP app with Runtime class.
    If I click one more time on RP source button , I should not get one more output for RP app, at any time I should have only single instance for RP.
    I can get RP output if and only if I dont have any output of RP app on desktop.
    3) If RP app run from IW , then If I try to run RP independently I should not get any more instance output for RP.
    Thanks
    rams

  • Powerpoint in swings Application

    hi folks,
    Am newbee to java and i need disperate help from you
    i need to run slide show (powerpoint presentation in swings application)
    can any body give me approach or some coding tips.
    i am stuck up at these for serveral days

    Your problem is where did the user install PowerPoint, right?
    Here is some code that figures out where the user installed explorer. You can use similar code to find PowerPoint.
    The you can build a temporary batch file with its path, like I showed you before, and run it (the batch file should get deleted automatically later.):
    private static boolean ShowHelpURL(String strUrl) {   
        logger.info("strUrl: " + strUrl);
        String strPath=null;
        boolean bFound = false;
        if (isWindows()) {
          if (isFromMS()) {
            String strWndPath = System.getProperty("com.ms.windir");
            logger.info("com.ms.windir: " + strWndPath);
            if (strWndPath != null) {
              strPath = strWndPath.substring(0, 2) + "\\Program Files\\Internet Explorer\\IEXPLORE.EXE";
              logger.info("strPath: " + strPath);
          if (strPath == null) {
            String strPaths = System.getProperty("java.library.path");
            logger.info("strPaths: " + strPaths);
            String strSeperator=System.getProperty("path.separator");
            int nPos = 0;
            int nPosx = -1;
            do {
              nPosx = strPaths.indexOf(strSeperator, nPos);
              if (nPosx != -1) {
                strPath = strPaths.substring(nPos, nPosx);
                strPath.replace('/', '\\');
                nPos = nPosx + 1;
                int nFindPos = -1;
                if ((nFindPos = strPath.toLowerCase().indexOf("\\program files")) != -1) {
                  if ((strPath.length() == nFindPos + 14) ||
                    (strPath.charAt(nFindPos + 14) == '\\')) {
                       bFound = ieFoundThere(strPath, strUrl);
                       if (bFound) {
                            break;
                } else if ((nFindPos = strPath.toLowerCase().indexOf("\\progra~1")) != -1) {
                  if ((strPath.length() == nFindPos + 9) ||
                    (strPath.charAt(nFindPos + 9) == '\\')) {
                       bFound = ieFoundThere(strPath, strUrl);
                       if (bFound) {
                            break;
                } else if ((nFindPos = strPath.toLowerCase().indexOf("\\windows")) != -1) {
                  if ((strPath.length() == nFindPos + 8) ||
                    (strPath.charAt(nFindPos + 8) == '\\')) {
                    strPath = strPath.substring(0,nFindPos + 1) + "program files";
                    bFound = ieFoundThere(strPath, strUrl);
                       if (bFound) {
                            break;
            } while (nPosx != -1);       
            logger.info("strPath: " + strPath);
        return bFound;
       * Return true if an internet explorer was found there.
       * It brings it up with the strUrl if found
       * @param strPath
       * @param strUrl
       * @return
      private static boolean ieFoundThere(String strPath, String strUrl) {
        if (strPath != null) {
          int nPos1 = strPath.toLowerCase().indexOf("program files");
          strPath = strPath.substring(0, nPos1 + 13);
          strPath += "\\Internet Explorer\\IEXPLORE.EXE";
          logger.info("strPath != null");
          logger.info("Runtime.getRuntime().exec: " + strPath + " " + strUrl);
          File ieFile = new File(strPath);
          if (!ieFile.exists()) {
               return false;//keep on trying
          try {
            Runtime.getRuntime().exec(strPath + " " + strUrl);
            return true;
          } catch (IOException e) {
            logger.info("IOException: " + e.getMessage());
            return false;
        } else {
          return false;
      private static boolean isFromMS() {
        String s = System.getProperty("java.vendor");
        return (s.toLowerCase().indexOf("microsoft") == 0) ;
      private static boolean isWindows() {
        String s = System.getProperty("os.name");
        return (s.toLowerCase().indexOf("window") == 0) ;
    .

  • Distributed Swing Applications??

    I'm not sure if this belongs in the swing or the RMI sections, but since I think it has a little more focus with GUI development I posted here - sorry if it is off-topic!! Here is my problem:
    I am interested in building a desktop application to house registered java applications on remote machines. I am interested in pulling in developed and existing applications that are to be run remotely, and tieing them together under one central view. The best software analogy I can come up with would be an xserver/xclient relationship between java applications.
    The functionalities I need are:
    local views of each distributed application, encapsulated inside one large (local) java desktop.
    Distributed performance... half of the applications are developed with JNI interfacing and ARE machine dependant.
    The ability to stop and restart server applications on-the-fly, in order to patch and update server functionality.
    Minimal rearchitecture of existing java applications.
    I have been bouncing around ideas, but there are only a few that really seem to stick out.
    One solution would involve rearchitecting existing applications to decouple the view and the event handlers. So, my Model-View-Controller has local views and controllers, but remote models to maintain remote state (and computational performance). So then, each event handler should update the GUI correctly, but also update remote state information on my server.
    I guess another solution would be to intercept these applications at the X-level and re-assign their graphics contexts inside my java application. I haven't pursued this option yet, because I figured there was a better pure-java solution.
    My current test solutions have been implemented utilizing RMI, and I think that is probably the way to go, but I am open to opinions. While rearchitecting these applications to exist within a client/server relationship is allowable, it is not preferred. Thanks for all the help!!

    Why don't you just open up like five SSH consoles, or
    remote desktop connections, and be done with it?
    Ok, do you have motivation for being against
    client/server... as you could build a server that
    acts as a controller for your swing GUI. The server
    would talk to the apps, and coordinate the views in
    the swing GUI.I don't want to just use consoles and x-forwarding, because the end result should be a desktop that will be "easy-to-use" for people that are relatively unfamiliar with the application suite.
    I agree with the second choice; and think that I'll probably end up going that route. Is another good implementation besides a MVC architecture, that doesn't require me to rearchitect existing apps??
    Thanks!

Maybe you are looking for