Including a Frame in a web based Applet

Hopefully a simple question is it possible to have a Frame in a Web based Applet, i need to have a canvas in the center with other components having to contribute before redrawing the canvas. Also is there a cos and sin and round fuction available as the MAth class is not in version 1.1
Any help much appreciated, my assignment is due Tuesday
A worried cov uni student
Al

cos and sin only accept values in radians, i was using
degrees an assumption i made sorry so i needed to
convert the value to radians.
I see.. You can convert the degrees to radians by multiplying with Math.PI/180.
As the applet can take the Panels and Canvas without
the frame in which function for Applet would i add the
components
In the init() method. More on writing applets and the applet life cycle: http://java.sun.com/docs/books/tutorial/applet/index.html
http://java.sun.com/docs/books/tutorial/applet/overview/index.html
and thne get them to redraw and update as
they are manipulated by ActionEvents
If they don't update themselves you can call repaint() on the component.

Similar Messages

  • Does the UC540 include or support a web based user portal?

    One last question because I can't find this for the life of me.  When looking at Avaya IP Office they include a web based portal that is installed on a server or on their server module for the system.  Does the UC540 include that or allow that function at all?  Basically I'm trying to find out if it includes or supports even via add on a user portal where users can log in, see their call history, listen to voice mails, possibly see who is on the phone, and if possible change their call flows from there.  So for example set that they are working from home vs the office.  Is that built in or supported or anything at all?  Thanks so much!

    The thing I'm just not clear on is what the UC540 includes, as I'm comparing it to Avaya IP Office which seems easier to understand.  A user portal isn't that big of a requirement but I'm more wondering how it works for teleworkers or mobile twinning as Avaya calls it.
    For example, one place says buy the UC540 for $1899.  Just using it as an example, lets say I was to buy that.
    Am I able to set it so that:
    1) If working remotely, calls ring on my desk and mobile at the same time, like Avaya's mobile twinning?  And if so, is it something users can enable or disable easily, either from their phone, or a web portal etc?
    2) If I am on the road, Avaya has the one-x iPhone application, where you launch it, dial a number, it calls into the Avaya PBX, and makes an outbound call showing it's my office calling.  So basically DISA.  I don't need an application for that, but does the UC540 support calling into it and dialing out so it shows the office line calling?
    3) Last and most importantly, does it include built in any ability for a softphone so that a user can work from home one day, launch the softphone on their laptop with a USB headset and then make calls and have incoming calls ring there as well?
    We use Asterisk, so we can do the above right now but it's not really pretty.  Like option 1 above is possible and easy to do.  Option 2 is so so, it's def not as easy as the one-x app by Avaya.  Instead users have to call our main line, dial a code at the IVR and then get an outbound line that shows their caller ID.  So each user needs that manually set up in the system, it's not a built in feature.  Then option 3 is possible but also not ideal as the soft phone needs its own extension and then ring groups are needed to ring their line to all their extensions etc.
    Just comparing the Avaya to Cisco and I'd REALLY prefer the Cisco it's just the Avaya seems to handle the above better which is our main features we want so just trying to determine if the UC540 can do this out of box and if not what I'd need to enable it.   Thanks!

  • Applet-Servlet with RMI or HTTP? : for a web based network monitoring tool.

    Hi,
    I need help to make a decision to choose an implementation technique for a tool that I am creating.
    I am creating a utility to display a table of RX and TX bandwidth information in real time from a network device X
    onto a client's web browser.
    I have a JTable based applet to display bandwidth information. However I am running this as a standalone applet. I want
    to create a web based solution (applet/servlet model) to make life easier for the end user.
    As for displaying the bandwidth information, I am using Runtime.exec() function to remote execute commands using ssh/rsh.
    This not only seems to impose a lot of process and network latency overhead, but also seems impractical from a
    security point of view, hence I need a real client/server model to have efficient and secure serialized data transfer across
    the network (through HTTP etc) between the client's web browser and X.
    X has a web server running on it. It essentially is a Linux box (CentOS). I can create a JNLP definition to launch an applet
    from X onto a remote client's web browser. The real problem is: what is the most efficient way to go about the
    servlet implementation? Is it wise to use HTTP get/post? or RMI is the way to go?
    Also I'd appreciate suggestion on any different approaches than what I have in mind above.
    Thanks,
    Rajiv

    Thanks for your time, but I cannot make a front-end in C. It has to be in JSP (or in ASP but I haven't tried yet to program in VBA).
    So that is why I am asking what is the best way of attaching a JSP front-end to the given API.
    PS: Why should I code a .dll to provide a JNI interface for the api? Isn't the JNI interface capable of doing such?

  • Registering the Web based application as a Partner Application

    Good day
    I went through the suggested documentation of registering a
    web based application as a partner application of the SSO Login Server.
    I installed the SSOSDK.JAR and went through the demo application (JSP Demo)
    which consists of the following programs :
    papp.jsp
    ssoinclude.jsp
    ssoEnablerJspBean
    SSOEnablerBean
    SSOSignon
    As per the technical documentation,I register this demo application as a
    partner application.
    1 - The source code of the papp.jsp checks for the existence of the user
    through method of ssoEnablerJspBean [getSSOUserInfo(request, response)] which
    calls method of SSOEnablerBean [getSSOUserInfo (request, response) and this
    method calls getUserInfo(p_request) of SSOEnablerBean (the same program) to
    check the existence of the application cookie.
    2 - If it doesn't exit , it redirect it to the SSO Login page for user
    authentication.Once the user is authenticated, a SSO login cookie is created on
    the client's browser and redirects back to the SSOSignOn.
    3 - The SSOSignOn program creates the application cookie and redirects back to
    the entry point of the demo application which is papp.jsp.
    My Questions are as follows :
    1 - Instead of creating a session object within my web based application to hold some
    information used between the different pages, can I define them in the
    application cookie? kindly advise? Is there any limitation for the length of
    the application cookie? If yes, what will be the risk?
    2 - The SSOSignOn program is calling a method in the SSOEnablerBean
    [setPartnerAppCookie(response, request). Within this method , it is retrieving
    the parameters values of the request object as :
    request.getParameterValues("urlc")[0];
    What is the role of this [urlc]? Is it hard coded? Can I change it?
    3 - In order to ensure that I am still dealing with the same user, shall I put
    the above security check procedure on each page of my weeb based application? Kindly advise?
    Thanks in advance for your prompt feedback
    regards

    Dear Paul
    I think there is a misunderstanding regarding the last correspondence.
    I am talking about the customized home page of the PORTAL and not the home page of my web based application (JSP) .So in this case, Am I able to use the customized home page which contains a login portlet instead of the default Login page of the SSO Login Server.Kindly advise!!!
    On the other hand, I am facing a problem during the surfing of the web based application.
    The web based application consists mainly of two packages :
    Package I : Bank.counter which contains a set of jsp pages.
    JSP_HOME_COUNTER (MAIN PAGE WHICH CONTAINS 2 FRAMES)
    JSP_LEFT_FRAME_COUNTER
    JSP_MAIN_FRAME_COUNTER
    JSP_MAIN_FRAME_COUNTER_DETAIL
    Package II : Bank.portfolio which contains a set of jsp pages.
    JSP_HOME_PORTFOLIO (MAIN PAGE WHICH CONTAINS 2 FRAMES)
    JSP_LEFT_FRAME_PORTFOLIO
    JSP_MAIN_FRAME_PORTFOLIO
    Please note that the SSO classes are residing under the first package.
    As agreed on in the third question, I am including in each page of my web based application, a security check procedure as follows :
    <%@ include file="ssoinclude.jsp" %>
    <%
    if(usrInfo == null)
    response.getWriter().println("<center>User information not found</center>");
    else
    my jsp code.......
    %>
    Please note that all the jsp page of the portfolio package are pointing to the SSO classes as follows :
    <%@ include file="../counter/ssoinclude.jsp" %>
    <%
    if(usrInfo == null)
    response.getWriter().println("<center>User information not found</center>");
    else
    my jsp code.......
    %>
    Once I invoke the JSP_HOME_COUNTER , it will render the JSP_LEFT_FRAME_COUNTER page and
    JSP_MAIN_FRAME_COUNTER page which invokes the SSO Login page. Once the user has been authenticate, the result of the JSP_MAIN_FRAME_COUNTER is rendered successfully. The result contains an hyperlink to the
    JSP_MAIN_FRAME_COUNTER_DETAIL page. As the user has been authenticated , this page is rendering automatically the result without displaying the SSO Login page. (Perfect as of now!!).
    Once I invoke the JSP_HOME_PORTFOLIO from the JSP_HOME_COUNTER, it runs the security procedure without any rendering of the SSO Login page (fine!!) but redirects me back to JSP_HOME_COUNTER instead of rendering the result of the JSP_HOME_PORTFOLIO.
    please note that the m_requestUrl variable in the SSOEnablerJSPBean class has been assigned the folowing value : JSP_HOME_COUNTER
    Kindly advise .

  • H.264 Web based Encoder Demo

    Hi,
    before some weeks ago i red a newsletter that adobe has include a h.264 encoder in FP 11.
    Well, here we go i thought and start to develope a web based h.264 encoder for our CDN. Here is a first version that i want to share with you developers.
    Onlinelib Web Encoder Version 0.2:
    http://onlinelib.de/labs.html
    Please do not use this in serious projects. You will need also a RTMP Server for testing and of course a web-player. I will include a player option inside the encoder for internal testing.
    There are a lot of features missing, but the basic h.264 encoding is working on my Mac Pro and our CDN.
    What i found out during the development:
    Please correct me if i post something wrong.
    Contra:
    - AAC Encoding for Audio is missing. Without AAC we cant product ipad / iphone compatbile streams. Flash iOS cross-compiler supports CPU native speex decoding, same for nellymoser, but you cant mix them cause native h.264 decoding in iOS is also not working and you cant send the iOS native quicktime player a bytearray for decoding h.264.We can have access to the raw micro data, but its useless cause you cant transmux the packets to the camera stream. I think a native AAC encoder in AS3 or alchemy is possible but without more access to the encoder its useless.
    - No Stereo Encoding. That is really a big minus point. I study all docs and cant find if its possible to encode 2 channels.
    - No access to compressed frames for video or audio. Without getting access to the compressed frames we cant use HTTP streaming, packing for the new HTTP protocol that is accessable sinse FP 10.1. In times of hacks and security its important that we developer can protect our streams with own encryption technologies. Not possible right now. RTMP(e) is a option, but this encryption is really useless (my 2 cent mind). A DES is stronger than the hole RTMP(e).We also are not able to calculate our own bandwidth alogs.
    - I thought that adobe will include VP8 Encoder / Decoder in FP11. I hope they will do this.
    Pro:
    - I think the encoder is based on MainConcept SDK, works for me. Baseline and Main is fast enought toDo realtime. I cant find a way to set motionVectors, bframes that can be used in mainprofile. I saw that in some level(s) profile h2.64 the encoder makes some strange colorspace effects (false colors).
    -We can change cameras, micro, bitrate, fps during a streaming-sessions. That´s cool and not possbile with Flash Media Desktop (FME) Encoder. You have to disconnect the FME first, then set the changes re-connect again.
    - p2p is also working and you can mix server and p2p. We port the rtmfp protocol to an embedded device:
    http://walyou.com/img/world-smallest-pc-space-cube-4.jpg
    The p2p option in the public encoder is not useable cause adobe has patent-rights on the rtmfp protocol. If i have time i will inlcude a cirrus service.
    Best,
    Gary
    http://onlinelib.de

    Thanks for the input. What do you mean by encoding it as H.264 not mp4 - which setting affects that?
    Maybe I already has it?
    here is what I have now:
    Video compression setting
    Compression type: H.264
    Frame rate: current fps
    Key frames: every 24 frames
    Frame Reordering: Yes
    Compressor quality: High
    Encoding: Best Quality (Multi-pass)
    Data rate: Restrict to 800 kbits/sec
    Optimized for: Download
    Sound
    Format: AAC
    Channels: mono
    Rate: 44.1 kHz
    Show advanced setting: yes
    Render setting:
    - quality: normal
    MPEG 4 AAC LC Encoder Settings:
    - Encoding stratey: Average bit rate
    - Target bit rate: 96 kbps
    Inspector panel
    File format: Quicktime Movie
    Extension: mp4
    Allow job segmenting: yes
    Video setting: Enabled
    Audio setting: enabled
    Streaming: none

  • How do I use a Frame to set up an applet animation?

    I am working on this program for a physics class. It is supposed to be an applet which animates a spring. I first set the animation with dummy values and it works fine (aside from a little flicker). I set up a frame which pops up and allows a user to input values. The frame looks and collects the information as I wanted; now I am trying to get these values passed to the init() method of my applet to be the basis of the animation. I was thinking something like JOptionPane; but, I wanted it to be more customized.
    This is the inner class in Launcher which prepares information and disposes the frame. I would like to pass this array
    "out."
         private class Exe implements ActionListener{
              public void actionPerformed(ActionEvent event){
                   String execute = event.getActionCommand();
                   if (execute == "Ok"){
                        out = new double[5];
                        for(int c = 0; c < 5; c++){
                             out[c] = Double.parseDouble(input[c].getText());}
                        dispose();}}}}This is the init() method which sets up all the information required for the animation. I want to receive the array here:
    public class Spring extends Applet implements Runnable{
         double t = 0;
         double x,v,a,k;
         int s;
         int delay;
         Thread animator;
         double mass, omega, phi,gravity,equilibrium,amplitude, positionI, velocityI, phiHat;
         double scaler;
         Panel buttons;
         Button start;
         Button pause;
         Button back;
         Button forward;
         Button stop;
         Button restart;     
         Frame l;
         public void init(){
              //Opens the menu which allows user inputs
              l = new Launcher();
              l.setSize(500,450);
              l.setVisible(true);
              //Sets the ammount of time the system waits to refresh
              //Smaller numbers create a more accurate picture
              //This is in milliseconds
              delay = 100;
              //Calculates info about the system
              mass = 5;
              equilibrium = .5;
              gravity = 9.8;
              k = (mass * gravity)/equilibrium;
              omega = Math.pow(k/mass,.5);
              //Differential Equation
              positionI = .1;
              velocityI = -.1;
              amplitude = Math.pow(Math.pow((positionI/Math.cos(omega*0)),2)+
                        Math.pow((velocityI/(omega*Math.cos(omega*0))),2),.5);
              phiHat = Math.abs(Math.atan((positionI/Math.cos(omega*0))/(velocityI/(omega*Math.cos(omega*0)))));
              if((positionI/Math.cos(omega*0)) > 0 && (velocityI/(omega*Math.cos(omega*0))) > 0){
                   phi = phiHat;}
              if((positionI/Math.cos(omega*0)) < 0 && (velocityI/(omega*Math.cos(omega*0))) < 0){
                   phi = Math.PI + phiHat;}
              if((positionI/Math.cos(omega*0)) < 0 && (velocityI/(omega*Math.cos(omega*0))) > 0){
                   phi = (2*Math.PI) - phiHat;}
              if((positionI/Math.cos(omega*0)) > 0 && (velocityI/(omega*Math.cos(omega*0))) < 0){
                   phi = Math.PI - phiHat;}
              //scales the spring to the animation grid
              if (amplitude !=  0)
                   scaler = amplitude / 105;
              else
                   scaler = 1;
              //Adds buttons to applet          
              buttons = new Panel();
              buttons.setLayout(new FlowLayout(FlowLayout.CENTER));
              start = new Button("Start");
              buttons.add(start);
              pause = new Button("Pause");
              buttons.add(pause);
              back = new Button("Back");
              buttons.add(back);
              forward = new Button("Forward");
              buttons.add(forward);
              stop = new Button("Stop");
              buttons.add(stop);
              restart = new Button("Restart");
              buttons.add(restart);
              this.setLayout(new BorderLayout());
              add(buttons, BorderLayout.SOUTH);}

    I was trying to tweak my animation and I have ran into some problems:
    To refresh, I have an applet which animates a spring. The equation which drives the animation is taken from user input which is entered in a frame that launches when the applet loads. The user has the option to control the animation with buttons as opposed to the applet running itself. Anyway, everything worked fine until I rewrote the applet with an image buffer. Now, the frame launches and is automatically placed in the background (on the desktop). The start, stop, and pause buttons work; but the step back and forward buttons do not work. If you have time to offer suggestions they would be appreciated.
    Set Up Buttons and Frame:
         public void init(){
              l = new Frame("Information About Your Spring");
              l.setLayout(new GridLayout(4,1));
              directions = new TextArea(text);
              directions.setEditable(false);
              l.add(directions);
              GravityHandler a = new GravityHandler();
              gravityButtons = new Container();
              gravityButtons.setLayout(new GridLayout(bodies.length/4,4));
              gravityL = new JRadioButton[bodies.length];
              g = new ButtonGroup();
              for(int x = 0; x < bodies.length; x++){
                   if(bodies[x].equals("Earth")){
                        gravityL[x] = new JRadioButton(bodies[x], true);
                        gravityL[x].addActionListener(a);}
                   else{
                        gravityL[x] = new JRadioButton(bodies[x], false);
                        gravityL[x].addActionListener(a);}
                   g.add(gravityL[x]);
                   gravityButtons.add(gravityL[x]);}
              l.add(gravityButtons);
              lables = new TextField[5];
              input = new TextField[5];
              otherInput = new Container();
              otherInput.setLayout(new GridLayout(3,4,5,5));
              lables[0] = new TextField("Mass:");
              lables[0].setEditable(false);
              otherInput.add(lables[0]);
              input[0] = new TextField(20);
              otherInput.add(input[0]);
              lables[1] = new TextField("Gravity:");
              lables[1].setEditable(false);
              otherInput.add(lables[1]);
              input[1] = new TextField("9.81",20);
              input[1].setEditable(false);
              otherInput.add(input[1]);
              lables[2] = new TextField("Equilibrium:");
              lables[2].setEditable(false);
              otherInput.add(lables[2]);
              input[2] = new TextField(20);
              otherInput.add(input[2]);
              lables[3] = new TextField("Displacement:");
              lables[3].setEditable(false);
              otherInput.add(lables[3]);
              input[3] = new TextField(20);
              otherInput.add(input[3]);
              lables[4] = new TextField("Initial Velocity:");
              lables[4].setEditable(false);
              otherInput.add(lables[4]);
              input[4] = new TextField(20);
              otherInput.add(input[4]);
              l.add(otherInput);
              Exe now = new Exe();
              buttonPlace = new Container();
              buttonPlace.setLayout(new FlowLayout(FlowLayout.CENTER));
              Ok = new Button("Ok");
              Ok.addActionListener(now);
              buttonPlace.add(Ok);
              l.add(buttonPlace);
              l.setSize(425,500);
              l.setResizable(false);
              l.toFront();
              l.setVisible(true);
              delay = 100;
              buttons = new Panel();
              buttons.setLayout(new FlowLayout(FlowLayout.CENTER));
              start = new Button("Start");
              buttons.add(start);
              pause = new Button("Pause");
              buttons.add(pause);
              back = new Button("Back");
              buttons.add(back);
              forward = new Button("Forward");
              buttons.add(forward);
              stop = new Button("Stop");
              buttons.add(stop);
              restart = new Button("Restart");
              buttons.add(restart);
              this.setLayout(new BorderLayout());
              add(buttons, BorderLayout.SOUTH);
              display = createImage(size().width, size().height);
              dspl = display.getGraphics();
              l.toFront();}The frame is handled by ActionListener
    Action based on the buttons:
         public boolean action(Event e, Object args){
              if (e.target == start){
                   animator = new Thread(this);
                   animator.start();}
              if (e.target == stop){
                   animator.stop();
                   animator = null;
                   t = 0;
                   repaint();}
              if (e.target == pause){
                   animator.stop();
                   animator = null;}
              if (e.target == restart){
                   animator.stop();
                   animator = null;
                   t = 0;
                   repaint();
                   animator = new Thread(this);
                   animator.start();}
              if (e.target == back){
                   animator.stop();
                   animator = null;
                   t -= .1;
                   repaint();}
              if (e.target == forward){
                   animator.stop();
                   animator = null;
                   t += .1;
                   repaint();}
              return true;}
    draw animation:
         public void run(){
              while(Thread.currentThread() == animator){
                   try{
                        Thread.sleep(delay);}
                   catch(InterruptedException e){}
                   if(animator != null){
                        t+= .1;}
                   else{
                        repaint();}     
                   dspl.setColor(Color.black);
                   dspl.fillRect(0,0,size().width,size().height);
                   dspl.setColor(Color.white);
                   k = (mass * gravity)/equilibrium;
                   omega = Math.pow(k/mass,.5);
                   amplitude = Math.pow(Math.pow((positionI/Math.cos(omega*0)),2)+
                             Math.pow((velocityI/(omega*Math.cos(omega*0))),2),.5);
                   phiHat = Math.abs(Math.atan((positionI/Math.cos(omega*0))/(velocityI/(omega*Math.cos(omega*0)))));
                   if((positionI/Math.cos(omega*0)) > 0 && (velocityI/(omega*Math.cos(omega*0))) > 0){
                        phi = phiHat;}
                   if((positionI/Math.cos(omega*0)) < 0 && (velocityI/(omega*Math.cos(omega*0))) < 0){
                        phi = Math.PI + phiHat;}
                   if((positionI/Math.cos(omega*0)) < 0 && (velocityI/(omega*Math.cos(omega*0))) > 0){
                        phi = (2*Math.PI) - phiHat;}
                   if((positionI/Math.cos(omega*0)) > 0 && (velocityI/(omega*Math.cos(omega*0))) < 0){
                        phi = Math.PI - phiHat;}
                   if (amplitude !=  0)
                        scaler = amplitude / 105;
                   else
                        scaler = 1;
                   dspl.drawRect(5, 5, 442, 240);
                   dspl.drawLine(200,5,200,245);
                   dspl.drawLine(200,120,447,120);
                   dspl.drawLine(20,20, 20, 230);
                   dspl.drawLine(20, 20, 24, 20);
                   dspl.drawString( String.format("%.2f m", amplitude) , 24,21);
                   dspl.drawLine(20, 230, 24, 230);
                   dspl.drawString( String.format("%.2f m", amplitude) , 24,231);
                   dspl.drawLine(20, 125, 24, 125);
                   dspl.drawString( "0 m", 24, 126);
                   x = amplitude*Math.sin((omega*t)+phi); //Calculate position
                   v = (amplitude*omega)*Math.cos((omega*t)+phi); //Calculate velovity
                   a = -(Math.pow(omega,2)*amplitude)*Math.sin((omega*t)+phi); //Calculate acceleration
                   dspl.drawString("Kinematics:", 210,20);
                   dspl.drawString(String.format("Time: %.1f Seconds",t), 210, 40);
                   dspl.drawString(String.format("Position: %.2f m",x), 210,60 );
                   dspl.drawString(String.format("Velocity: %.2f m/s",v), 210,80 );
                   dspl.drawString(String.format("Acceleration: %.2f m/sec sq",a),210,100 );
                   dspl.drawString("Atributes:", 210, 140);
                   dspl.drawString(String.format("Equation: x(t) = %.2fsin(%.2ft + %.3f)",amplitude,omega,phi),210,160);
                   dspl.drawString(String.format("Spring Constant: %.2f n/m",k),210,180);
                   dspl.drawString(String.format("Period: %.2f Seconds", (2*Math.PI)/omega), 210,200);
                   dspl.drawString(String.format("Frequency: %.2f Hz",omega/(2*Math.PI)),210,220);
                   dspl.drawString(String.format("Amplitude: %.2f",amplitude),210,240);
                   s = (int) (x/scaler + 126);
                   dspl.drawLine(128,5,128,s-12);
                   dspl.drawString(String.format("%.0f kg Mass",mass), 104, s);
                   repaint();}}
         public void update(Graphics g){
              paint(g);}
         public void paint(Graphics g){
              g.drawImage(display,0,0,this);}Thanks

  • Open a form from a 3rd party Java/Web based application

    Hi All,
    I am working for a client who has a 3rd party web application built in Java.
    For one of his requirements, he wants to open a form, an apps standard form on the click of a button/url in their application.
    This appears like a normal form opening from the single-signon screen where you have the self service single sign-on page, it opens the apps forms on click of the url. Can we use the same logic here? This being the case, just curious to know how is the url to open the form built? (I see that the function name, resp id etc are there in the url) So that, I can actually manipulate the url to open the forms from a url. Please see that the custom application also is included into our Oracle apps, so the user is already logged in. We just need to open the form from the click of a url/button.
    Thanks,
    Srini.
    Thanks,
    Srini.

    If the ICX_SESSION is already available then the form(I am assuming you are refering to a web based form here) should open directly if the function should be accessible to the user logged in. When you say your custom application is included in Oracle apps are you launching these pages from the Ebiz home page through menus and functions ?

  • How can I distribute my web-based app properly?

    I created a web-based application that contain CWGraph3D.ocx and CWAnalysis.ocx. My ComponentWork's version is 6.0. During development and compilcation, there is no problem (I developed my app. in VB6sp5). After that I use Package and Development Wizard of VB to create HTML page and its cab file. During this operation, I got the message mentioned that my CWAnalysis.ocx (only this ocx) doesn't match with the register in the registry. I just clicked on 'No' to accept this. Finally, I create LPK file to include in my html page file. My LPK file includes runtime licenses of CWArray, CWMatrix, CWComplex, CWDSP, and CWGraph3D. After I uploaded my app to web site, the other computers can load my web page, but it is the bla
    nk page because something wrongs in the components. There is no any nofication or error from Internet Explorer. So I tried to test something to find out the problem. I remove CWAnalysis and redo all processes, it doesn't work. I remove CWGraph3D and redo again, it works! So I moved back CWAnalsysis, and redo it again, it doesn't work. I assume that there are some problems in ComponentWorks. But I don't know how to solve this problem.
    Thank you.

    So the error message basically says that CWanalysis control does not match with the information in the registry. Did a re-install help any? Is this the only development machine causing the problem. One thing to try is re-installing the control, by uninstalling Measurement Studio, unregister the cwanalysis.ocx ( using regsvr32), delete the ocx file, reboot and then re-install Measurement Studio. This would make sure that the controls get installed correctly.
    Also, check out this link for dealing with issues of the Package and Deployment wizard.
    I hope this helps
    Bilal Durrani
    NI
    Bilal Durrani
    NI

  • Front End (GUI) for Java Web Based Appl.

    Hi Gurus,
    I am new to Java. Can anybody tell me, what is the front end(GUI) used in Java web based applications? I was told that Swings/Applets are rarely used. Is there are a 3rd party took to design GUI for Java based applications?
    Chooti Baba

    sunilmp wrote:
    U mean to say, for JSP/Servlets, "Web based application" as well as "JSP/Servlet" usually implies that the client is a simple web browser.
    we cannot have swing as front end?You can use Swing inside an Applet inside a web application, but usually that's not needed, as you already have a client application that's quite powerful (the browser).

  • WRT54G V6.0 Web Based Interface Issue

    I'm trying to setup a WRT54G. I ran the SetupWizard which didn't work.
    I can access the Web Based Interface at 192.168.1.1 , but when it appears (after putting in the admin password), the page doesn't properly load. The colors and some text comes up, but all of the tabs, buttons and links are missing (including the Save Settings button). I can't get to Administration page to restore the factory defaults or upgrade the firmware.
    I've tried the pressing the reset button for 30 seconds about 100 times so far, and nothing has worked. I've tried this on 3 different computers, and my other 2 WRT54G's run properly on all of these computers.
    I bought the router about 2 years ago and I just opened the box today.
    What fixes are available?
    Thanks in advance.
    Solved!
    Go to Solution.

    If you are not able to see any Tab on your router setup page, If you have any Firewall or Antivirus  installed on your computer you may disable it and then try to Login to your Router Setup page and check if you are able to see any Tabs on Routers GUI. If still not then Press and hold the reset button for 30 seconds...Release the reset button...Unplug the power cable from your router, wait for 30 seconds and re-connect the power cable.
    If you still face the same problem, Connect your other computer to the Router and try to access the router setup page and check if you are able to see any tabs on the router setup page. If stil the same problem on the 2nd computer then you need to Upgrade the firmware of your Router using TFTP tool. 
    First you need to Download 1.67 MB the Latest Firmware of your router. 
    TFTP tool which you can Download 44.3 KB (It will be named as BEFW11S4-v2_SetupWizard) 
     Double click the tftp.exe file and click run :
    For Server- Enter the IP Address of the router that you assigned.  By default, the router is 192.168.1.1...
    For Password- Enter the password you assigned the router. By default, the router’s password is “admin”.
    For File- Click the triple “…” button and browse for the .bin firmware file...
    Click Upgrade button to start upgrading.  A progress bar should show up to show the progress.
    Once the Upgrade is done press and hold the reset button for 30 seconds...Release the reset button...Unplug the power cable from your router, wait for 30 seconds and re-connect the power cable...Now Check if you are able to Login to your Routers GUI and able to see the Tabs on it. 

  • JMF-based applet can not detect audio devices on Vista (?)

    Hi,
    As many people reported, I encountered the same issue - CaptureDeviceManager.getDeviceList does not detect any audio device on IE/Vista.
    Here is my testing environment:
    HP XW4600, RealTek HD Audio onboard sound card,
    Vista SP1 (Business, Home Premium, and Vista64)
    JRE1.5.0_16, JMF2.1.1e
    A recording Applet runs in IE7 (which works fine on XP and its Java application version always works fine on Vista)
    I have tried a number of things without success:
    1)Use different audio formats as the input parameter for getDeviceList
    2)Try CaptureDeviceManager.getDevice(new String("DirectSoundCapture"))
    3)CaptureDeviceInfo info = new CaptureDeviceInfo(com.sun.media.protocol.dsound.DataSource.NAME,new MediaLocator("dsound://"),null);
    4) Vector devices = (Vector) CaptureDeviceManager.getDeviceList(null).clone();
    5)Uncheck UAC(Vista User Access Control)
    6)Set IE settings least restrictive
    7)Try signed or unsigned recording Applet
    8)Pack the recording Applet to a jar and deploy to JRE\lib\ext
    9)Run JMFInit and copy the files in JMF\Lib to System32 folder
    On a few occasions, audio devices can be detected. For examples,
    10)Upgrading an HP XW4200 (XP machine with AC�97 codecs driver) to Vista,
    11)1/5 chance on the machines with both Sun JRE and MS Java SDK installed.
    12)Trying Item # 9. it worked once on one machine, but after rebuilding the machine, the same trick does not play.
    I am wondering if there is a way to let JMF-based applets detect audio devices on Vista or this is an inherent problem with JMF, IE and Vista.
    I would appreciate it very much if you�d kindly offer any help and suggestions.
    -Belfield

    >
    As many people reported, I encountered the same issue - CaptureDeviceManager.getDeviceList does not detect any audio device on IE/Vista.>(..in an applet)
    >
    I would appreciate it very much if you'd kindly offer any help and suggestions. >I suspect the basic problem here, is the installer that defaults to preventing the applet access to record sound (I am guessing that would 'spill over' into web-cam permissions). A quick test of that is to try the same code as an application.
    If the application works, one possible fix is to launch the application using webstart. Webstart will work from a web page, and offers many other advantages over a standard applet.

  • 2 player web-based Flash game problem

    I have a two player web-based Flash game. The Flash calls a
    JavaScript function on the webpage to get and store the user's IP.
    Then an XML file with user's game data is loaded and parsed. The IP
    address is used to identify which player is player 1 and which is
    player 2 according to the XML file. There is a Java applet to send
    and receive messages between the players.
    The first player loads everything just fine. All the first
    player's messages regarding the progress in loading different parts
    of the code sent by the game for debugging are displayed in the
    Java applet's text box, but none of the second player's messages
    sent by the game for debugging are displayed.
    The problem is that the second player's ActionScript code
    appears not to be executing except that I do get a message in the
    game that the XML file attempted to load but was not successful.
    The IP address call is not made and no messages can be sent to the
    other player. The second player's Java applet displays only the
    messages for debugging that came from the first player's game and
    any chat messages sent by the first player.
    This problem always happens to the second player, never to
    the first player. Both player's are always using IE6 or IE7.
    Does anyone have some idea(s) what could cause only the
    second player's ActionScript code not to execute and/or not to load
    an XML file correctly?
    This is just a general question, so any general answers would
    be appreciated. Code specific answers are hopefully not required.
    Thank You in advance.

    Hi,
    I am not very familiar with the multiplayer Game development. For multiplayer games, you'll need to set up a matchmaking server and have the clients connect to it. It can then pair them off and facilitate communications. If the clients have publicly available
    network addresses then it can introduce them and they can talk directly to each other.There isn't anything built in for this so you'll need to either build your own or find a third party implementation. If you are using Unity3d then check out
    http://docs.unity3d.com/Documentation/Components/net-MasterServer.html
    Also, you can use Xbox services, and I find an article below:
    https://msdn.microsoft.com/en-us/library/bb975801.aspx
    For windows Azure problem, you should go to windows Azure forum.
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Using project libraries for both web-based and AIR applications

    I need to develop substantial code to build both web-based and AIR applications.  Yes, they will have different features, especially when it comes to accessing files on the local file system.
    However, 98% of the code can be shared.
    I want to use a project library that can be used for both types of applications. Maybe using conditional compile when required to not use AIR API's in a web-based application.
    I found this (somewhat old) warning:
    Include Adobe AIR libraries Select this option if your library must use AIR features, such as access to the AIR APIs. Flex Builder then changes the library path of this new Flex Library project so that it includes airglobal.swc and airframework.swc. Web-based Flex projects cannot use this library.
    Do not select this option if you are writing a generic library intended to be used only in a web-based Flex application, or in either a web-based or AIR-based application.
    Does this apply to Flash Builder 4.5?

    I have found a workaround, but it's quite clumsy, involving a transfer vector (in old-fashioned terms) in the main application for each function in the AIR library.
    I have created a library for AIR classes only (fourdtext.fileOperations is there). 
    The AIR application provides "Function" values that any other code in the general-purpose libraries can use.
    It works, but it's nasty.
    In Main.mxml:
    import com.fourdtext.fileOperations.AxFiles;
    // this gets a list of native path strings, from and array of "File" objects
    public var AxGetListFunction:Function = AxGetListRedirect;
    private function AxGetListRedirect(list:Array):Vector.<String>{
        return AxFiles.AxGetList(list);
    In general-purpose code:
    var list:Array = event.dragSource.dataForFormat("air:file list") as Array;
    var AxGetList:Function = FlexGlobals.topLevelApplication.AxGetListFunction;
    listFiles = AxGetList(list);

  • How do I convert a web based file to a PDF file?

    How do I convert a web based file to a PDF file? I know that you "Print to File" but for some reason that is not working for me.  I have Adobe Reader X, shouldn't that be able to create a PDF like this, or is there another program that I need to do this?  Thanks.

    Hi, gfrerichs.
    Reader X cannot create a PDF file - it can only view and print existing PDF files.
    In order to create a PDF file (for example, print a webpage as a PDF, as you mentioned), you can purchase our CreatePDF service. This service includes a CreatePDF Printer which can print web pages to PDF.
    Or you could purchase Acrobat, which can also convert webpages to PDF.
    Dave, Adobe

  • Web Based Messageboard (JSP, XML, XSLT) - Just Looking For Advice Please!

    I have a general question - I am not looking for any code, just some advice if possible. I am studying on a Masters course and I have been given an assignment to do which I am having difficult getting started. I have worked a lot with Java up until now, however this is the first time I have had to JSP on my course.
    My current assignment is that I am required to create a simple web based message board, using JSP and XML, which allows users to post messages to the board, and also to reply to messages. The content of the message board is stored in an XML file, and there is no database involved. The message data needs to be formatted for viewing in a browser using XSL transformations.
    I am stuck as to how to go about starting the project, and this is all I am asking for advice in. I have created the basic XML file which has some preliminary data stored within it, and I have created an XSL stylesheet to transform this data, however I am stuck with the JSP. Do I need to create a seperate JSP page for each page of the website? How does this link in with the XSLT?
    I would welcome and really appreciate any advice, but I stress that I am not looking for anyone to give me any code or anything like that.
    Thanks.

    You can use XSLT to convert XML to HTML. Then include this HTML in your JSP. Further on you've a plain HTML form with an input field for a message which you submit to a servlet. In the servlet validate/convert/whatever this message and add it to the XML file and then forward/redirect the request back to the JSP.

Maybe you are looking for

  • MacBook Pro Retina Display 15" Late 2013 after 10.9.3 Update

    All, Thank you in advance for your time, support and recommendations. After the install of the latest Maverick update on May 16, 2014 to 10.9.3, the following issues began. - Upon boot my screen will turn a lavender color and then back to the normal

  • How to Differentiate between Parent & child item of material determination

    Hi Experts I have a list of material & the Business requirement is to found that whether a material is a Parent material , Child material or Both ( a parent to other children  and a child to another parent). I tried using table KONDD & KONDDP but I w

  • V - Lookup in Excel sheet?

    Hi , How to do V-Lookup in Excel sheet. My requirement is: I have Partner data in one excel tab in EXCELSHEET with lagacyCustomernumber, and in same excel sheet, i have one more tab i.e Sales data with SAP custemore numbers. So now I would like to do

  • Getting an error when installing BI Publisher Desktop

    Hi, Is anyone getting an error when installing BI Publisher Desktop? I'm getting an error when I'm installing BI Publisher Desktop and the error message is compile error in hidden module: Module_ini. Any feedback would be appreciated.

  • I want to delete my itunse account ?

    hey i want to delete my itunse account anyone knows how?