Chart run-time tools: focus

Hello,
I have a problem with the chart run-time tools. The Focus button doesnu2019t seem to work.
Situation:
My chart has values (y-axis) that vary mainly from 0 to 30, but sometimes there might be values over 100. I want the user to be able to see the trend clearly between values from 0 to 30. So I have set y-axis limit to follow the max value of the spread till it reaches 30. With higher values chart max limit stays in 30 (formula in cell).
With Focus Button and Reset Scale Button I would allow user to format chart to show the overall trend with values over 30.
Problem example:
One of my y-values is 50. When I preview the chart the max limit is at 30 (as explained earlier). When I click Focus Chart Data-button the chart rescales to 35, but not to 50 (adds 5). Another example: my value is 80 and limit is at 60. With Focus chart data u2013button the chart rescales to 70 (adds 10) not 80
What is the logic here? Why wonu2019t the chart rescale to my value?
Br.
Nicolas

hi Nicolas,
I tried to replicate your scenario using Line Chart.
Sample Data
x1,y1 - A, 1
x2,y2 - B, 4
x3,y3 - C,15
x4,y4 - D,30
Now i bind the data with Line Chart using 'By Series' and 'Category labels'.
Go to Behavior -> scale
set Manual Y-axis
Min limit : 0
Max limit : 30
Go to 'Common' tab
Enable Run-time Tools.
Click Preview
Grow - 35
Off- 30
Auto - 35
Focus - 35
Reset - 30
Now i change my x3,y3 in excel to C, 50
Now click Preview
Properties are changed automatically as follows.
Grow - 60
Off- 50
Auto - 60
Focus - 60
Reset - 30
Here, i don't see any problem. As data changes, properties are automatically adjusted.
Please try it out and let me know if  problem still exists.
Regards,
Vamsee

Similar Messages

  • How do you set the size / bounds of a waveform chart at run time?

    I have a plot area that I would like to fill with as many waveform charts as the user specifies (at run time). The "bounds" property is read only and I haven't noticed an additional "size" property for a waveform chart as there is for a button. Is there a way to set the size of a waveform chart at run time, and if not, why not? (Labview 6.1)

    Look at it a little more carefully, I suspect that your assumption is only half wrong. The property does only resize the plot area--LV resizes the frame to fit the resized plot on it's own.
    You'll need to bear this in mind when you're figuring-out what size to set the property to.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to focus a specified column in ADF Table at run time?

    I drag and drop an ADF table.It contains *10 column*..I bind the column using ArrayList..First 3 column is set frozen =True..At the time of runtime,a Horizontal scroll is appeared..*May be for certain conditions , only 8th column contains values at run time.So i want to focus that column Only*.Because it is very easy for an user to see the value..If not,user has to scroll the bar to check. How can  i focus a specified column?

    Hi Briston,
    You can make the column selected by setting "selected" property of column to true
    Sireesha

  • Only first plot of waveform chart has run-time menu

    Hello again all you helpful forum-goers!
    My multi-plot waveform chart is working decently well, but now for some reason only the first plot in the plot legend displays a run-time customization menu when I click on it while the VI is running (allowing me to select the plot color, etc.).  All the other plots do nothing when I click on them.  I do not have any mouse-down events or filter events of any kind in my VI.  I programmatically set the number of plots and the size of the plot legend, along with each plot's name, y index, and color.  Any ideas as to what might be going on?
    Thanks a bunch as always!
    -Joe
    Solved!
    Go to Solution.

    Okay, hopefully this will help get some more thoughts / answers flowing.  I've copied my strip chart from my actual VI into a test VI, and it still exhibits the problem.  On the other hand, I have created a new strip chart from scratch, and it works fine.  I have attached both VIs here for you to see.  My guess is that some property of the first chart is set incorrectly or something, but I cannot figure out which one (and there are so many!).
    Any assistance you can give would be appreciated. The challenge is to get the chart in the first VI working (plots other than the first responding to a mouse click to change their color or other attributes), via changing some attribute of the chart (and being able to tell me which one you changed!).
    Thank you again for anyone who can look into this.
    -Joe
    Attachments:
    Test StripChart color selection not working.vi ‏17 KB
    Test StripChart color selection working.vi ‏12 KB

  • Set value TextTemplatingFileGenerator to custom tool property of a t4 template file at run time(programmatically) in an MVC Project

    In Solution Explorer we can set the Custom Tool property for a t4 Template file in the Properties window. But can anybody help me doing the same at run time?
    I want to assign the value TextTemplatingFileGenerator programmatically to the Custom Tool Property.
    Thanks in advance...

    Hi suraya,
    Since the issue regards MVC and website deployment. I suggestion you post the question in the ASP.NET forums at
    http://forums.asp.net/. It is appropriate and more experts will assist you.
    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.
    Click
    HERE to participate the survey.

  • How to bind chart type at run time

    Hi,
    I want to select chart type at run time using a drop down , i know the class name (CL_WD_BUSINESS_GRAPHICS) which
    has to be bind. but iam unable to bind the class.
    can any one help me.

    Hi,
    **... check view exists
    check me->if_salv_wd_view~r_view is bound.
    *... get wd root uie for adding graphic control uie
      data:
        lr_wd_root type ref to cl_wd_transparent_container.
      lr_wd_root ?= me->if_salv_wd_view~r_view->get_element( if_salv_wd_comp_table_ui=>c_uie_root ).
      check lr_wd_root is bound.
    *... use a group container
      data:
        lr_wd_group type ref to cl_wd_group.
      lr_wd_group ?= me->if_salv_wd_view~r_view->get_element( if_salv_wd_comp_table_ui=>c_uie_graphic_container ).
    *... if wd uie group container does not exist create group container
      if lr_wd_group is not bound.
        lr_wd_group = me->if_salv_wd_comp_table_ui~create_graphic_container( ).
      endif.
    *... get wd uie graphic
      value ?= me->if_salv_wd_view~r_view->get_element( if_salv_wd_comp_table_ui=>c_uie_graphic ).
    *... if wd uie graphic does not exist create graphic
      if value is not bound.
        data:
          l_source_category type string,
          l_source_series   type string,
          l_source_point    type string.
        concatenate if_salv_wd_comp_table_data=>c_name_node_graphic '.'
                    if_salv_wd_comp_table_data=>c_name_node_graphic_category
                    into l_source_category.
        concatenate if_salv_wd_comp_table_data=>c_name_node_graphic '.'
                    if_salv_wd_comp_table_data=>c_name_node_graphic_series
                    into l_source_series.
        concatenate if_salv_wd_comp_table_data=>c_name_node_graphic '.'
                    if_salv_wd_comp_table_data=>c_name_node_graphic_series '.'
                    if_salv_wd_comp_table_data=>c_name_node_graphic_point
                   into l_source_point.
        value = cl_wd_business_graphics=>new_business_graphics(
                  view                 = me->if_salv_wd_view~r_view
                  id                   = if_salv_wd_comp_table_ui=>c_uie_graphic
                  bind_category_source = l_source_category
                  bind_series_source   = l_source_series ).
        data:
          l_bind_value type string.
        data:
          lr_wd_category type ref to cl_wd_category.
        concatenate l_source_category '.' 'LABEL' into l_bind_value.
        lr_wd_category = cl_wd_category=>new_category(
                           view             = me->if_salv_wd_view~r_view
                           bind_description = l_bind_value
                           bind_tooltip     = l_bind_value ).
        value->set_category( lr_wd_category ).
        data:
          lr_wd_series type ref to cl_wd_series.
        concatenate l_source_series '.' 'LABEL' into l_bind_value.
        lr_wd_series = cl_wd_series=>new_series(
                         view              = me->if_salv_wd_view~r_view
                         bind_point_source = l_source_point
                         bind_label        = l_bind_value
                         bind_tooltip      = l_bind_value ).
        value->add_series( lr_wd_series ).
        data:
          lr_wd_point type ref to cl_wd_point.
        concatenate l_source_point '.' 'LABEL' into l_bind_value.
        lr_wd_point = cl_wd_point=>new_point(
                        view              = me->if_salv_wd_view~r_view
                        bind_value_source = l_source_point
                        bind_label        = l_bind_value
                        bind_tooltip      = l_bind_value ).
        lr_wd_series->set_point( lr_wd_point ).
        data:
          lr_wd_value type ref to cl_wd_numeric_value.
        concatenate l_source_point '.' 'VALUE' into l_bind_value.
        lr_wd_value = cl_wd_numeric_value=>new_numeric_value(
                        view       = me->if_salv_wd_view~r_view
                        bind_value = l_bind_value ).
        lr_wd_point->add_value( lr_wd_value ).
        me->if_salv_wd_comp_table_ui~add_child_to_container(
          r_container = lr_wd_group
          r_child     = value ).
      endif.

  • CWIMAQView​er toolbar not showing all the tools at run time

    Hi
    I'm using the cwimaqviewer control to display images acquired from a CCD camera.  I set the viewer's ShowToolBar property to true.  All the toolbar items showup fine at design time.  However most of them go missing at run time.  See attached photos.  I'm using VS2008, and version 9.0 of the CWIMAQ control.   Any ideas why this is happening?   I need the circle tool to draw overlay over the image.   Thanks.
    Design time toolbar:
    Runtime Toolbar:

    nikale wrote:
    Hi,
    I found a resource that may be helpful for you; I've attached the link below. It depends what you're wanting to do but chapter 3 Interactively Defining Regions might be a good starting point.
    IMAQ Vision for Measurement Studio™ User Manual: Visual Basic:
    http://www.ni.com/pdf/manuals/323023a.pdf
    I hope this helps!
    Kale W.
    Applications Engineer
    National Instruments
    http://www.ni.com/support
    Hi Kale,
    Thanks for the tip.  The document gives information on where to find particular examples, which is helpful. 
    I found this page that gives overlay examples.  I really wanted to see how the fifth one is done.  Unfortunately, it's implemented in LabView.  Is there a similary example in VB? 
    http://www.ni.com/example/25623/en/
    Thanks much.

  • [b]Run time error in Invoking Servlet to J2ME tool kit[/b]

    I am tried to invoke a servlet to my J2ME tool kit.
    invoking will happen when user press command button on
    the mobile phone, but when i do this there were run
    time error called
    "Warning: To avoid potential deadlock, operations that
    may block, such asnetworking, should be performed in a
    different thread than the commandAction() handler."
    There are no compile errors and also i am using Jrun
    webserver.
    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class ServletInvoke extends MIDlet implements CommandListener
         String url="http://localhost:8100/servlet/HelloServlet";
         private Display dis;
         private Command cmd;
         private Form frm;
         public ServletInvoke()
              dis=Display.getDisplay(this);
         public void startApp()
              frm=new Form("My Project");
              cmd=new Command("Click",Command.SCREEN,2);
              frm.addCommand(cmd);
              frm.setCommandListener(this);
              dis.setCurrent(frm);
         public void pauseApp()
         public void destroyApp(boolean unconditional)
         void invokeServlet(String url)throws IOException
              HttpConnection c=null;
              InputStream is=null;
              StringBuffer b=new StringBuffer ();
              TextBox t=null;
              try
                   c=(HttpConnection)Connector.open(url);
                   c.setRequestMethod(HttpConnection.GET);
                   c.setRequestProperty("IF-Modified-Since","20 Jan 2001 16:19:14 GMT");
                   c.setRequestProperty("Content-Language","en-CA");
                   is=c.openDataInputStream();
                   int ch;
                   while((ch=is.read())!=-1)
                        b.append((char)ch);
                   t=new TextBox("First Servlet",b.toString(),1024,0);
              finally
                   if(is!=null)
                        is.close();
                   if(is!=null)
                        c.close();
              dis.setCurrent(t);
         public void commandAction(Command command,Displayable dis)
              if(command==cmd)
                   try
                        invokeServlet(url);
                   catch(IOException e)
                        System.out.println("IOException"+e);
                   //e.printStacktrace();
    }PLS if can give me a working sample code as a soluation to above problem.

    import java.io.*;
    import javax.microedition.io.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    public class ServletInvoke extends MIDlet implements CommandListener
         String url="http://localhost:8100/servlet/HelloServlet";
         private Display dis;
         private Command cmd;
         private Form frm;
         public ServletInvoke()
              dis=Display.getDisplay(this);
         public void startApp()
              frm=new Form("My Project");
              cmd=new Command("Click",Command.SCREEN,2);
              frm.addCommand(cmd);
              frm.setCommandListener(this);
              dis.setCurrent(frm);
         public void pauseApp()
         public void destroyApp(boolean unconditional)
         public void commandAction(Command command,Displayable dis)
              if(command==cmd)
                   try
                   HTTPConnection conn = new HTTPConnection();
                   conn.invokeServlet(url);
                   catch(IOException e)
                        System.out.println("IOException"+e);
                   //e.printStacktrace();
    class HTTPConnection extends Thread
         String url = null;
         HTTPConnection()
         void invokeServlet(String url)
              this.url = url;
              start();     
         public void run()
              HttpConnection c=null;
              InputStream is=null;
              StringBuffer b=new StringBuffer ();
              TextBox t=null;
              try
                   c=(HttpConnection)Connector.open(url);
                   c.setRequestMethod(HttpConnection.GET);
                   c.setRequestProperty("IF-Modified-Since","20 Jan 2001 16:19:14 GMT");
                   c.setRequestProperty("Content-Language","en-CA");
                   is=c.openDataInputStream();
                   int ch;
                   while((ch=is.read())!=-1)
                        b.append((char)ch);
                   t=new TextBox("First Servlet",b.toString(),1024,0);
              finally
                   if(is!=null)
                        is.close();
                   if(is!=null)
                        c.close();
              dis.setCurrent(t);
    }

  • Run-time error for the chart  - TBUtilities

    Hello,
    I'm trying to create a report template with the BI Publisher desktop plugin. The load of the xml file, the Table creation and PDF export work fine. When I want to add a chart to the template (Insert -> Chart...), I have a Microsoft Visual Basic Error:
    Run-Time error '-2147024894(80070002)':
    File or assembly name TBUtilities, or one of its dependencies, was not found.
    I use Word 2000 (9.0.8950 - SP3), .Net framework 2.0 and Java JRE 1.5.0_05.
    I checked the other topic about this type of error but I didn't find any solutions...
    Is there a patch to fix this error ???
    Thanks

    Has anybody got an answer for this one, as it has just happened to me
    Gus

  • Modify chart options at run time?

    Post Author: davestewart
    CA Forum: .NET
    I am trying to create a bar chart that shows a custom grid line, or a reference line across the chart. I can set this manually in chart options using the 'Draw custom line at:' setting in the grids tab of the data axis in chart options. There must be a way to set this programatically at run time as this value will change based on the dataset passed to teh report each time. How could I accomplish this report?
    If there is some other way to show a horizontal reference line on my bar chart, and have it match up with the scaling, that would be fine too. Any method of getting this on there would be great.
    Thanks for any help you may be able to lend!

    Hi ,
    this will work..ut after you enter the p1 , you atleast have to hit enter key to get the value automatically in p2.
    this is because you have to have atleast one screen refresh.
    handle the eventy at selection screen output....
    this is called just before the screen is dispalyed.
    may be something like this.
    p_matnr  material
    p_maktx  description of material
    But the value will not appear as soon as you enter the p1 , you have to..
    1)enter p1
    2)press enter
    3)now p2 will appear automatically since at selection screen output would have processed in between.
    AT SELECTION-SCREEN OUTPUT.
      IF NOT p_matnr IS INITIAL.
        SELECT SINGLE
        maktx FROM makt INTO p_maktx WHERE matnr = p_matnr AND spras = 'EN'.
      ENDIF.
    please reward if useful.
    Edited by: santosh sarda on Mar 8, 2008 11:51 AM

  • Client Upgrade tool - run-time error on client?

    Hello,
    Iu2019m facing an issue sending out Client Upgrade Packages. The package arrives on the client, but it the install process gets stuck immediately with the Run-time error 35603.
    Have you got this error below u2013 or do you have any idea what I should look for?
    BR MC

    Hi,
    in case you are running 5.0 SP9 the note 1106147 should help.
    Regards,
    Wolfhard

  • APEX 4.0 : Chart Region source get overwrite each time the chart run

    Hi,
    We are using application defined variable to provide the right URL to XML file (issue with chart we redirected from an other web server). Everything was just running OK 3.2.1 but in 4.0, the Chart Region Source get generated (and overwrite) our customisation as soon as the chart run.
    Any ideas ? Bug maybe ?
    Regards,
    Ben

    Hi Hillary,
    i get an error when applying this patch on Oracle XE with APEX 4.0.
    Logfile:
    13:22:39@~/Downloads/p9898931_111060_GENERIC>cat catpatch.log
    Session altered.
    RELEASE                                                                        
    dontexit                                                                       
    PL/SQL procedure successfully completed.
    ...wwv_flow_flash_chart5
    Warning: Package Body created with compilation errors.
    No errors.
    PL/SQL procedure successfully completed.
    timing for: Complete Patch
    Elapsed: 00:00:03.34I had to step back to the original version of this package.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at
    Training: http://www.click-click.at/apex-4-0-workshops

  • Migration 5.0 to 10g how to keep it at run-time

    Hi, all.
    I have the 9i at the company and we're creating a new project for electronic invoice and the file must be '.xml'. We've used forms and reports only. We'll probably migrate our db and its tools to 10g.
    My question is: can my applications run at run-time in 10g like 9i? I mean, 10g is focused on the web and all of our applications working at the forms/reports run-time. Someone have told us that it'll not work out 'cause 10g runs in the browser and not as a application alone.
    Must I convert all my applications to run only in the browser?
    Could someone help me in this issue?
    Thank you for some help.
    Regards,
    Anderson

    Keep in mind that Forms 5 was never certified to run against a 10g database, you'll face some problems and Forms 5 is no longer supported, hence no support from Oracle.
    Migrating your Forms application from Forms5 to 10g should be very smooth, the only thing you need to be careful of is built-ins that interact with the client machine (HOST, TEXT_IO etc.....) in 10g Forms are web deployed they are in 3 tier architecture, these built-ins will run on the Application server and not the client machine.
    To run these built-ins on the client machine you need to use webutil's function (CLIENT_HOST, CLIENT_IP etc...)
    You can simply migrate your Forms to Forms 6i and than to 10g.
    I suggest you migrate your application, read the [Forms Upgrade Center|http://www.oracle.com/technology/products/forms/htdocs/upgrade/index.html] there are many white papers and documents that can help you.
    Tony

  • How to change object background color on  java run time

    Hi,
    I create object loading program. my problem is run time i change object background color using color picker. i select any one color of color picker than submit. The selecting color not assign object background.
    pls help me? How to run time change object background color?
    here follwing code
    import com.sun.j3d.loaders.objectfile.ObjectFile;
    import com.sun.j3d.loaders.ParsingErrorException;
    import com.sun.j3d.loaders.IncorrectFormatException;
    import com.sun.j3d.loaders.Scene;
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import com.sun.j3d.utils.applet.MainFrame;
    import com.sun.j3d.utils.universe.*;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    import java.io.*;
    import com.sun.j3d.utils.behaviors.vp.*;
    import java.net.URL;
    import java.net.MalformedURLException;
    import java.awt.Graphics ;
    import javax.swing.*;
    public class ObjLoad1 extends Applet implements ActionListener
    private boolean spin = false;
    private boolean noTriangulate = false;
    private boolean noStripify = false;
    private double creaseAngle = 60.0;
    private URL filename = null;
    private SimpleUniverse u;
    private BoundingSphere bounds;
    private Panel cardPanel;
    private Button Tit,sub;
    private CardLayout ourLayout;
    private BorderLayout bl;
    Background bgNode;
    BranchGroup objRoot;
    List thelist;
    Label l1;
    public BranchGroup createSceneGraph()
    BranchGroup objRoot = new BranchGroup();
    TransformGroup objScale = new TransformGroup();
    Transform3D t3d = new Transform3D();
    t3d.setScale(0.7);
    objScale.setTransform(t3d);
    objRoot.addChild(objScale);
    TransformGroup objTrans = new TransformGroup();
    objTrans.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    objTrans.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
    objScale.addChild(objTrans);
    int flags = ObjectFile.RESIZE;
    if (!noTriangulate) flags |= ObjectFile.TRIANGULATE;
    if (!noStripify) flags |= ObjectFile.STRIPIFY;
    ObjectFile f = new ObjectFile(flags,(float)(creaseAngle * Math.PI / 180.0));
    Scene s = null;
         try {
              s = f.load(filename);
         catch (FileNotFoundException e) {
         System.err.println(e);
         System.exit(1);
         catch (ParsingErrorException e) {
         System.err.println(e);
         System.exit(1);
         catch (IncorrectFormatException e) {
         System.err.println(e);
         System.exit(1);
         objTrans.addChild(s.getSceneGroup());
         bounds = new BoundingSphere(new Point3d(0.0,0.0,0.0), 100.0);
    if (spin) {
         Transform3D yAxis = new Transform3D();
         Alpha rotationAlpha = new Alpha(-1, Alpha.INCREASING_ENABLE,0,0,4000,0,0,0,0,0);
         RotationInterpolator rotator = new RotationInterpolator(rotationAlpha,objTrans,yAxis,0.0f,(float) Math.PI*2.0f);
         rotator.setSchedulingBounds(bounds);
         objTrans.addChild(rotator);
    //Background color setting
    Color3f bgColor = new Color3f(100,200,230);
    bgNode = new Background(bgColor);
    bgNode.setApplicationBounds(bounds);
    objRoot.addChild(bgNode);
    return objRoot;
    private void usage()
    System.out.println("Usage: java ObjLoad1 [-s] [-n] [-t] [-c degrees] <.obj file>");
    System.out.println("-s Spin (no user interaction)");
    System.out.println("-n No triangulation");
    System.out.println("-t No stripification");
    System.out.println("-c Set crease angle for normal generation (default is 60 without");
    System.out.println("smoothing group info, otherwise 180 within smoothing groups)");
    System.exit(0);
    } // End of usage
    public void init() {
    if (filename == null) {
    try {
    URL path = getCodeBase();
    filename = new URL(path.toString() + "./galleon.obj");
    catch (MalformedURLException e) {
         System.err.println(e);
         System.exit(1);
         //setLayout(new BorderLayout());
         //setLayout(new GridLayout(5,0));
         //setLayout(new CardLayout());
         //setLayout(new FlowLayout(FlowLayout.LEFT, 5, 5));
    GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
    Canvas3D c = new Canvas3D(config);
    add(c);
    BranchGroup scene = createSceneGraph();
    u = new SimpleUniverse(c);
    ViewingPlatform viewingPlatform = u.getViewingPlatform();
    PlatformGeometry pg = new PlatformGeometry();
    Color3f ambientColor = new Color3f(45,27,15);
    AmbientLight ambientLightNode = new AmbientLight(ambientColor);
    ambientLightNode.setInfluencingBounds(bounds);
    pg.addChild(ambientLightNode);
    Color3f light1Color = new Color3f(111,222,222);
    Vector3f light1Direction = new Vector3f(1.0f, 1.0f, 1.0f);
    Color3f light2Color = new Color3f(1.0f, 1.0f, 1.0f);
    Vector3f light2Direction = new Vector3f(-1.0f, -1.0f, -1.0f);
    DirectionalLight light1 = new DirectionalLight(light1Color, light1Direction);
    light1.setInfluencingBounds(bounds);
    pg.addChild(light1);
    DirectionalLight light2 = new DirectionalLight(light2Color, light2Direction);
    light2.setInfluencingBounds(bounds);
    pg.addChild(light2);
    viewingPlatform.setPlatformGeometry(pg);
    viewingPlatform.setNominalViewingTransform();
    if (!spin) {
    OrbitBehavior orbit = new OrbitBehavior(c,OrbitBehavior.REVERSE_ALL);
    BoundingSphere bounds = new BoundingSphere(new Point3d(0.0, 0.0, 0.0), 100.0);
    orbit.setSchedulingBounds(bounds);
    viewingPlatform.setViewPlatformBehavior(orbit);     
    u.addBranchGraph(scene);
         public ObjLoad1(String[] args) {
              if (args.length != 0) {
                   for (int i = 0 ; i < args.length ; i++) {
                        if (args.startsWith("-")) {
                             if (args[i].equals("-s")) {
                                  spin = true;
                             } else if (args[i].equals("-n")) {
                                  noTriangulate = true;
                             } else if (args[i].equals("-t")) {
                                  noStripify = true;
                             } else if (args[i].equals("-c")) {
                                  if (i < args.length - 1) {
                                       creaseAngle = (new Double(args[++i])).doubleValue();
                                  } else usage();
                             } else {
                                  usage();
                        } else {
                             try {
                                  if ((args[i].indexOf("file:") == 0) ||
                                            (args[i].indexOf("http") == 0)) {
                                       filename = new URL(args[i]);
                                  else if (args[i].charAt(0) != '/') {
                                       filename = new URL("file:./" + args[i]);
                                  else {
                                       filename = new URL("file:" + args[i]);
                             catch (MalformedURLException e) {
                                  System.err.println(e);
                                  System.exit(1);
    public void actionPerformed(ActionEvent e)
         if (e.getSource() == Tit)
    //Color Picker tool
              Color c1 = JColorChooser.showDialog(((Component)e.getSource()).getParent(),"Zaxis Color Picker", Color.blue);
              cardPanel.setBackground(c1);
              objRoot.removeChild(bgNode);
              int a = c1.getRed();
              int b = c1.getBlue();
              int c = c1.getBlue();
              System.out.println(a);
              System.out.println(b);
              System.out.println(c);
              Color3f ccc = new Color3f(a,b,c);
              bgNode.setApplicationBounds(bounds);
         objRoot.addChild(bgNode);
         else
              System.out.println("mathi");
    public ObjLoad1()
    Tit = new Button("BG Color");
    sub = new Button("Object Color");
    cardPanel = new Panel();
    cardPanel.add(Tit);
    cardPanel.add(sub);
    //cardPanel.add(l1);
    //cardPanel.add(thelist);
    sub.addActionListener(this);
    Tit.addActionListener(this);
    // thelist.addActionListener(this);
    //setLayout for applet to be BorderLayout
    this.setLayout(new BorderLayout());
    //button Panel goes South, card panels go Center
    this.add(cardPanel, BorderLayout.SOUTH);
    //this.add(cardPanel, BorderLayout.CENTER);     
    this.setVisible(true);
    public void destroy() {
    public static void main(String[] args) {
         new MainFrame(new ObjLoad1(args),400, 400);

    hi,
    i am using setColor(Color3f color) method
    like
    if (e.getSource() == Tit)
              Color c1 = JColorChooser.showDialog(((Component)e.getSource()).getParent(),"Zaxis Color Picker", Color.blue);
              bgColor = new Color3f(c1);
              System.out.println(bgColor.get());
         bgNode.setColor(bgColor);
         bgNode.setApplicationBounds(bounds);
         objRoot.addChild(bgNode);
    but error will be displayed
    like
    javax.media.j3d.CapabilityNotSetException: Background: no capability to set color
         at javax.media.j3d.Background.setColor(Background.java:307)
         at ObjLoad1.actionPerformed(ObjLoad1.java:230)
         at java.awt.Button.processActionEvent(Unknown Source)
         at java.awt.Button.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(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.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    pls help me

  • LabVIEW Run Time Engine and ActiveX Automation Server

    Hi,
    I have a question related to LabVIEW Run Time Engine and ActiveX Automation Server:
    We have a tool developed in LabVIEW and TestStand. End user interface is a LabVIEW GUI (it's an executable) which executes TestStand sequences. Some TestStand sequences call lower level LabVIEW VIs.
    Everything works fine with LabVIEW installed, but I was wondering if I could run this tool on deployment machine with only LabVIEW run time engine installed. We are using LabVIEW 6.1 and with only the run time engine installed, I get the error message: "Unable to launch the 'LabVIEW.Application' ActiveX automation server ". 
    BTW, we are planning to upgrade the versions soon.
    Is it possible to make things work only with the run time engine?
    Thank you.

    Thanks for the response, Brian.
    I did upgrade to LabVIEW 8.0 and TestStand 3.5. Everything works fine on the development computer where LabVIEW and TestStand is installed. On the target computer in the lab, I installed LV RTE 8.0 and TestStand 3.5, and now when a VI is called in a sequence file, I get the following:
    RunState.PreviousStep.Result.Error.Code  -18002 
    RunState.PreviousStep.Result.Error.Msg  "LabVIEW: The VI is not executable"
    So, the executable opens and works fine (which means that the LV RTE is installed properly), but when a sequence calls a low level VI, it does not make it through.
    comments/suggestions are appreciated. Thanks.

Maybe you are looking for

  • [SOLVED] I can't get virtual hosts working. What's wrong?

    What I've decided to do is try to set up each domain name in the user folder to whom it belongs (for example: /home/username/somedomain.com/htdocs). I can't get it to work though. I keep getting an error saying that there's no index file (although th

  • XML, XSL, XSLT, DOM??  What should be used?

    I want to develop an application using JSP, Java, mySQL, and XML. The application needs to be able to store data in the database but also define this data using XML. Some sort of style sheet for this data is also needed to assist in creating forms ba

  • AddBatch problems (NoSuchMethodError)

    I have a JDBC applet that works fine using appetviewer, but when using a browser the folowing error gets written to the java console: Exception occurred during event dispatching: java.lang.NoSuchMethodError: java/sql/Statement: method addBatch(Ljava/

  • ITunes 7.5 crashing after installing new iLife/Mac OS

    After installing the new version of Mac OS X and iLife my iTunes has been crashing constantly. Initially everything was fie, but now everytime I try to play song from my iTunes library (in an external HD with over 10k songs in AAIF) or play a CD it c

  • Configurations to be done when calling external web service

    Hi, Do we need to do any configurations in SAP when we want to call any external web service from sap. I have created a proxy based on URL (WSDL) and I have searched this consumer proxy in soamanager transaction. I found the result and when I click o