How to set the numeric format through the API

Hi,
I have an utility that imports limits from external resources and in that utility (C#) I would need to modify the numeric representation  so that what is defined as hexa in the external resource to be displayed as hexa after importing to TS as well.
Can U help me out if this is possible with the API and if so, what is the right methods for it?
Thanks in advance.

Hi again,
I didn't find straight solution yet, but I think it is good way around:
http://digital.ni.com/public.nsf/allkb/1304B337E03E2E1A86257ACD004BAB06
If you want hexadecimal representation you need to change "%b" to "%x". I'm still keep looking for a better solution...
Best Regards

Similar Messages

  • How to set the format mask

    Hi,
    Good Evening,
    How to set the format mask to text fields based on currencies.

    Hi Anil,
    i am taking one method for setting the format mask to front end values
    like this
    public String xxformatmask(String test,String currency,OAPageContext pageContext)
    String currencyFormattedNumber="";
    try {
    java.lang.Double num = new java.lang.Double(test);
    currencyFormattedNumber = pageContext.getOANLSServices().formatCurrency(num,currency);
    catch(Exception e) {
    System.out.println("the exception is"+e);
    return currencyFormattedNumber;
    every time call this method
    for text fields like this,
    OAMessageTextInputBean commval=(OAMessageTextInputBean)webBean.findChildRecursive("commval");
    String lesscomm=commval.getValue(pageContext).toString();
    String lesscommformat=xxformatmask(lesscomm,currency,pageContext);
    float lesscomm1=Float.parseFloat(lesscommformat);
    i got the error at runtimeee
    oracle.apps.fnd.framework.OAException: java.lang.NumberFormatException: For input string: "1,000.00"
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.NumberFormatException: For input string: "1,000.00"
         at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224)
         at java.lang.Float.parseFloat(Float.java:394)
         at crm.oracle.apps.xxcrm.crmmgmt.quotationmgmt.server.xxcrmQuotationMgmtAMImpl.forserviceformvalsetting(xxcrmQuotationMgmtAMImpl.java:1994)
         at crm.oracle.apps.xxcrm.crmmgmt.quotationmgmt.webui.xxcrmServiceCostSheetCO.processFormRequest(xxcrmServiceCostSheetCO.java:345)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

  • How to set the Rman backup parameter.

    Hi,
    Can U guide me how to set the Rman backup path,control file auto backup & others parameter.

    Hi,
    Go through this,
    Show all configurable settings:
    RMAN>SHOW ALL;
    Write disk backups to the /rmanback directory: (%U will be replaced with unique filenames)
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanback/%U';
    Backup using a flash recovery area rather than disk
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT CLEAR;
    Configure RMAN to back up the control file after each backup
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    By default, RMAN automatically names control file backups and stores them in the flashrecovery area.
    To configure RMAN to write control file backups to the /backup directory:( %F will generate a unique filename)
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/controlfile%F';
    Ensure that RMAN retains all backups needed to recover the database to any point in time in the last 7 days:
    RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    Retain three backups of each datafile:
    RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    Delete backups no longer required by the retention policy:
    RMAN> DELETE OBSOLETE;
    To override the configured retention policy for individual backups - use BACKUP.. KEEP (or CHANGE.. KEEP)
    Configure backups to run in parallel by assigning two sbt channels:
    RMAN> CONFIGURE DEVICE TYPE sbt PARALLELISM 2;
    Reset any CONFIGURE setting to its default by running the command with the CLEAR option
    RMAN> CONFIGURE CHANNEL DEVICE TYPE sbt CLEAR;
    RMAN> CONFIGURE RETENTION POLICY CLEAR;
    Regards,
    oraclekt
    Edited by: oraclekt on Sep 1, 2010 9:58 PM

  • How to set the report path in a model plugin

    I am trying to figure out how to set the report path in a process model plug-in. I can seem to figure out how to get access to it. It seems like this would be a reasonable thing to do since the plug-ins are for results processing. Does anyone know how to do this? We typically use the Sequential process model but I am trying to keep my plug-in as independent of that as possible. 
    Thanks.
    Solved!
    Go to Solution.

    If I understand, you want your plug-in, when enabled, to alter the settings of any other instances of the NI report plug-in such that their reports share the same directory as your plug-in is configured to use.
    If so, your plug-in can access and modify the settings of all other plug-in instances. All instances are passed to all plug-in entries point in the plugins array sub-property of the ModelConfiguration parameter. You can iterate through this array. Any element of the array with a Base.SequenceFilename equal to "NI_ReportGenerator.seq" is an instance of the NI report plug-in. Its report options are stored in the element under PluginSpecific.Options.
    You can change the report options to what ever you want. Note that the ReportOptions model callback is called from the Initialize model-plugin entry point, so you might want to ensure that your changes are applied after that, so they aren't overwritten. To do that, you could make your changes in the the Initialize entry point of your plug-in, and ensure that your plugin runs last. To make it run last, you could set the FileGlobals.ModelPluginComponentDescription.Default.Base.RunOrder in your plug-in file to a value greater than 0, such as 1.0 (see TestStand Help>>Fundamentals>>Process Model Architecture>>Process Model Plug-in Architecture>>Structure of Plug-in Sequence Files>>Model Plug-in Entry Points>>Order of Entry Point Execution at Run Time).

  • How to set the File Path to run a javascript using Plugin Code?

    Hi All,
    Im new to Indesign Plugin Development.Can any one help me out with my problem.
    What i want to do is to run a javascript using Plugin Code.When i went through this forum i was able to find out that i should use the IscriptRunner Class to automate this.I could also figure out that the Member Function to use is "CanHandleFile" &"RunFile".
    The first parameter in CanHandleFile & RunFile Member Function is to specify the path of the JavaScript File i suppose!I could also find out that IDFile has to used to set the file path Information.
    But im clueless how to set the Javascript FilePath using IDFile.Can any one help me how to do this?Any Code Snippets Please?
    Waiting for reply.
    Thanks
    myRiaz

    Hi,  Andreas<br /><br />  Can you explain this in detail? I found it in your post before.<br /><br />  The content of elements are returned through the Characters callback function:<br /><br />From ISaxContentHandler.h:<br /><br />/**<br />        Receives character data<br /><br />The parser will call this method to report each chunk of<br />        character data. SAX parsers may return all contiguous<br />        character data in a single chunk, or they may split it into<br />        several chunks. But all characters in any single<br />        event must come from the same external entity so the<br />        Locator provides useful information.<br /><br />Note some parsers will report whitespace using the<br />        IgnorableWhitespace() method rather than this one (validating<br />        parsers must do so).<br /><br />@param Chars The characters from the XML document.<br />        */<br />virtual void Characters(const PMString& chars) = 0; <br /><br />  What i have done is implement my own SAXContentHandlerServiceBoss, and in my file XXXSAXContentHandler.cpp, I override the fonctions StartElement, EndElement, and Characters() like below: I add the PMString xmlData to collect the file content:<br /><br />class XXXSAXContentHandler : public CSAXContentHandler<br />{<br />void XXXSAXContentHandler::Characters(const WideString& chars)<br />{<br />xmlData.Append(chars);<br />}<br /><br />void XXXSAXContentHandler::StartElement(const WideString& uri, const WideString& localname, const WideString& qname, ISAXAttributes* attrs)<br />{<br />xmlData.Append("<"); xmlData.Append(localname); xmlData.Append(">");<br />}<br />void XXXSAXContentHandler::EndElement(const WideString& uri, const WideString& localname, const WideString& qname)<br />{<br />xmlData.Append("</"); xmlData.Append(localname); xmlData.Append(">");<br />}<br /><br />}<br /><br />and in my program, I use the code below to call the fonction I overrided, but I dont know how I can get the String xmlData I defined in the XXXSAXContentHandler.cpp<br /><br />InterfacePtr<IK2ServiceRegistry> serviceRegistry(gSession, UseDefaultIID());<br /><br />InterfacePtr<IK2ServiceProvider> xmlProvider(serviceRegistry->QueryServiceProviderByClassID(kXMLParserService, kXMLParserServiceBoss));<br /><br />InterfacePtr<ISAXServices> saxServices(xmlProvider, UseDefaultIID());<br />InterfacePtr<ISAXContentHandler> saxHandler(::CreateObject2<ISAXContentHandler>(kXXXSAXContentHandlerServiceBoss));<br />saxHandler->Register(saxServices);<br />bool16 parseFailed = saxServices->ParseStream(readStream, saxHandler);<br /><br />Can you give me any help?<br /><br />Thanks and regards!

  • How to set the BARCODE width and length for label printing..

    Hi All,
    How to set the Code 39 barcode label format in the sizxe of 0.20" * 1.4". By default while printing barcode size exceeds my current requirement. Please let me know to customize the size of barcode labels.
    Thanks.

    I don't know what you mean by "Code 39" because my Output Designer software doesn't offer that barcode (or do you mean "code 3 of 9?). In any case, are you trying to control the size of the text (which is what I think of when you refer to "label")? If you are, then just change the font & size. If you are wanting to modify the physical characteristics of the barcode itself (height & length for a certain number of characters) then you are probably out of luck. Or at least in for some trial & error.
    There are a series of "barcode.xxx" files in the 'config' folder where Output Designer was installed to. These are text files that contain the physical characteristics of the various barcodes for various printers. The parameters that you would be interested in is the height and width of the bars (black & white). For example, a barcode might be defined as .400 high with narrow bars 3 "dots" wide, wide bars 9 "dots" wide and white space the same or different. Presumably changing these values would affect the generated barcode. For example, in this example the wide bars are 3 times the width of the narrow bars so I would assume that relationship would have to remain. To make the resulting barcode shorter you would then use 2 for the narrow and 6 for the wide.
    You would have to make the change in the file(s) that would be used for your printer(s).
    There are four width values for each of the parameters. Most of the barcodes only use 2 but some have 4. I'm assuming that when there are 4, like in "4 8 12 16", that the barcode definition has 4 different widths of bars and/or spaces.
    There is no guarantee that the scanning hardware & software will "see" and interpret the resulting barcode correctly.

  • How to set the source property of image control dynamically?

    Hi,
      I have different fxg files which I want to display in a list. For each row in the List, I define which fxg file to be displayed in my database.
    I need to know how to set the image1.source = (the fxg path) as a string from database?
    Is there any conversion needed in this case? If so, can you please help me how to do this?

    Hi,
      Thank you for your response. I am new to Adobe Flash Builder, Flex and action script. I don't get your answer straight away.
    What I basically need is, I need to set image1.source = strFXG. Right now, this does not show the image. I don't understand fxgObject.pathid.source => how to give this?
    Moreover, when I did google search, there is somethink like fxg converter which converts the fxg to a component. I thought this is a very simple problem on how to convert the fxg string to an object format. But now, it looks like it might be a big problem. Can anyone help me in this?
    import spark.components.Image;
                                  protected function view1_creationCompleteHandler(event:FlexEvent):void
      // TODO Auto-generated method stub
      var strFXG:String = 'assets.DB_Actief_Graphics';
                                            var image1:Image = new Image();
                                            image1.x = 100;
                                            image1.y = 100;
                                            image1.source = strFXG;
                                            addElement(image1);
    Regards,
    Chella

  • How to set the classloader mode in Netweaver 04s

    Hi All,
    Can anybody tell me how to set classloader mode in Netweaver 04S?
    In websphere , there is direct option you when you select the project through admin console. But I am able to find the place in the netweaver where I can set such mode.
    classloader mode such as parentfirst, parent last etc
    I want to set the mode parent last.
    This is very urgent requirenment.So please let me know if anybody is having any input on this.
    Thanks,
    Chandan

    Hi Siddhesh,
    Thanks for replying.
    Actually,NW has its own version of jaxrpc related jar files (in  <drive>:\usr\sap\J2E\JC02\j2ee\cluster\server0\bin\ext\webservices_lib folder) which are of a older version and are being picked up instead of the jars that are present in my application package. As a result, there are exceptions like:
    #1.5#0018FE710E98005B000000000000182800044D0B9F1ED11B#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###java.lang.NoSuchMethodError: javax.xml.namespace.QName.getPrefix()Ljava/lang/String;#
    #1.5#0018FE710E98005B000000010000182800044D0B9F1ED31A#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###       at org.apache.axis.wsdl.symbolTable.BackslashUtil.getQNameWithDifferentLocal(BackslashUtil.java:62)#
    #1.5#0018FE710E98005B000000020000182800044D0B9F1ED379#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###       at org.apache.axis.wsdl.symbolTable.BackslashUtil.getQNameWithBackslashlessLocal(BackslashUtil.java:39)#
    #1.5#0018FE710E98005B000000030000182800044D0B9F1ED3D3#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###       at org.apache.axis.wsdl.symbolTable.SymbolTable.populateServices(SymbolTable.java:3078)#
    #1.5#0018FE710E98005B000000040000182800044D0B9F1ED42B#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###       at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:745)#
    #1.5#0018FE710E98005B000000050000182800044D0B9F1ED481#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###       at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:543)#
    #1.5#0018FE710E98005B000000060000182800044D0B9F1ED4D8#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###       at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:518)#
    #1.5#0018FE710E98005B000000070000182800044D0B9F1ED52F#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###       at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)#
    #1.5#0018FE710E98005B000000080000182800044D0B9F1ED585#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###       at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)#
    #1.5#0018FE710E98005B000000090000182800044D0B9F1ED5E1#1210612216444#System.err#tdemand.com/TrueDemandWeb#System.err#Guest#0#####Thread[Thread-271,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error##Plain###       at java.lang.Thread.run(Thread.java:534)#
    #1.5#0018FE710E98004F00001A610000182800044D0B9F1F2B60#1210612216475#System.out#tdemand.com/TrueDemandWeb#System.out#Guest#0#####SAPEngine_Application_Thread[impl:3]_9##0#0#Info##Plain###2008-05-12 10:10:16,459 ERROR [com.tdemand.common.service.client.ServiceProxyUtil] - <Error processing WSDL document: 
    javax.xml.rpc.ServiceException: Error processing WSDL document: 
    javax.xml.rpc.ServiceException: Cannot find service:  BootstrapService>
    javax.xml.rpc.ServiceException: Error processing WSDL document: 
    javax.xml.rpc.ServiceException: Error processing WSDL document: 
    javax.xml.rpc.ServiceException: Cannot find service:  BootstrapService
                at org.apache.axis.client.Service.initService(Service.java:250)
                at org.apache.axis.client.Service.<init>(Service.java:165)
                at org.apache.axis.client.ServiceFactory.createService(ServiceFactory.java:198)
                at org.springframework.remoting.jaxrpc.LocalJaxRpcServiceFactory.createJaxRpcService(LocalJaxRpcServiceFactory.java:182)
    This problem is solved in websphere as probably because we have classloader configuration set through Admin console.
    But just wanted to know does we have such option in NetWeaver? If yes, how to set the classloader mode to parent last.
    Or if you know some other solution then let me know.
    Thanks,
    Chandan

  • How to set the data fields column wide at sqlplus

    Dear Sir/Madam
    I would like to know how to set the data fields column wide at sqlplus
    Thanks
    Francis

    see
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch6.htm#sthref1131
    and the FORMAT clause of the COLUMN command in
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12013.htm#BACHCABF

  • How to set the fix size jframe window

    when I run the jframe ,the jframe window size is very small
    1)how to set the fix size jframe window??
    2)how to set the jframe cannot change the window size??
    thx~~

    1. You can set the size by calling JFrame's method setSize. There are two versions of this method: (1) setSize(int width, int height) and (2) setSize(Dimension d). Note, that when you use this method to set the frame size, you don't have to call JFrame's pack method.
    2. JFrame has a method called setResizable(boolean resizable) which you can call with the argument false.
    Without any ill intent, these questions are regarding something that is very easily answered by looking at the documentation for the JFrame class. I suggest to anyone working with swing to at least look briefly through the base classes they're extending before giving up. In my experience it is always more gratifying to figure things out on my own than asking someone. But please don't take this the wrong way, I respect people who seek out help in order to further their knowledge, instead of just giving up.

  • I have a Canon Reble XTI, and would like to know how to set the self timer

    I have a Canon Reble XTI, and would like to know how to set the self timer

    If you don't have a copy of your manual, you'll want to download a copy.  You can get it from this page:  http://www.usa.canon.com/cusa/support/consumer/eos_slr_camera_systems/eos_digital_slr_cameras/digita...
    The instructions are on page 49 -- but really you should ready through the manual.  You'll learn a lot of capabilites of the camera that are worth knowing that you'd likely miss if you don't read it.
    There is a button on the back of your camera near the right edge of the LCD screen and it has an icon of a clock.  If you press that button, you can use the left/right arrows to enable the self-timer.
    It's a 10-second self-timer but it also puts the camera in a mode which allows it to be triggered via Canon's IR remote.  
    the current remote (which still works with your camera) is the Canon RC-6... it's not expensive -- just one button and it triggers the camera via IR.
    Tim Campbell
    5D II, 5D III, 60Da

  • [SOLVED] How to set the packager name for an AUR package?

    Hi,
       I'm maintaining an AUR package (fspcc), but I don't know how to set the name of the "packager" for that package.
    E.g. when you request info about some package
        $ pacman -Qi somepkg
    there is a line
        Packager: Unknown Packager
    that specifies the packager.
    How do I set this "Packager" info so that any user installing my package will see what I want?
    Last edited by lisztinf (2014-04-13 13:39:43)

    Thanks for the answer.
    I guess that when I run
       $ makepkg
    in my local build directory, then "mkpkg" will build a package with the "Packager" info set accordingly to my local makepkg.conf.
    However, I would like another user - with his own makepkg.conf - to see what I want when installing the package. How can I achieve this?
    If I install an official package - say pacman itself - through ABS, I see the "Packager" field properly set for that official package. But certainly this info doesn't come from my local makepkg.conf. I would like the same behaviour for my package. Is it possible?

  • How to set the coupling (AC or DC) of a PXI spectrum analyzer?

    I have a client that asked me the following question.
    At this time (today is a holiday in Canada), I do not have additional information as for which PXI module is used.
    I suspect that it is one of the PXI-5660 series (5665 maybe?).
    Does anyone have experience with this module?  And how to set the AC / DC coupling?
    Thanks

    Found it.
    For LabVIEW versions 8.2 and older, it is through a standard dll call. 
    Newer versions have the option available through a property node.

  • How to set the Environment Variable

    I'm going through a tutorial on how to create an application and run from the command prompt. I have finished installing my jdk 6 Upadate 5 but i don't know how to set the Environment Variable for the javac compiler and the java interpreter to find my program.
    I have created an application called "ExampleProgram" and have saved it on drive C:. How do i set the Environment Variable so that the "javac" compiler and the "java" interpreter can find it

    gyesa_say wrote:
    I'm using Windows XP Service Pack 2.A very bad choice to go with Windows. Personally I prefer Linux.
    I Google and had several information on how set it, but i tried all of them and none seem to work.I typed "how to set environmental variable in winxp" in Google and the very first link provided all the information I needed (you need). These things will make much more sense if you go through it yourself rather than having someone else spoon-fed you the answer.

  • How to set the table input in Query template?

    Hi all.
    I need to call a Bapi_objcl_change, with import parameter and a table as an input. I have done this, in BLS. I have set the table input in the
    form of xml. In BLS, I get the output(the value gets change in SAP R3, what i have given in BLS).  But if i set the same xml structure  in
    query template, I didn't get the output. Table input parameter does not take that xml source.  How to set the table input in Query template?
    can anyone help me?
    Regards,
    Hemalatha

    Hema,
    You probably need to XML encode the data so that it will pass properly and then xmldecode() it to set the BAPI input value.
    Sam

  • SRM 4.0- How to set the default values for product type (01) only for SC

    The radio button “Service” should not be visible.
    Also for search help (e.g. search for internal products) where a search should only be possible for product type 01 (goods). The system should not display the product type and internally always search for goods only.
    How to set the default values for product type (01) only for SC
    We needs to use Search help BBPH_PRODUCT which having parameter PRODUCT_TYPE
    Here we can set defalut value 01 but it is not correct one since same search help is using several places.
    We need to limit the search help results only for SC.
    Kindly help out me ASAP.

    The easiest way to set defautl values is to edit the batch class.
    Goto the characteiristic and go to update values.
    In here you probably have something like 0 - 100 as a spec range.
    On the next line enter the default value within this range.  At the end of the line, click in the box in the column labelled "D".  This indicates the defautl value for the characteristic.
    If you need to you can do this in the material classification view as well.
    Just to be clear, these values will only show up in the batch record.  You can not have defautl values in resutls recording screens.
    FF

Maybe you are looking for

  • Slow performance of alv report

    Hi, I have developed Invoice Register Report in ALV, there 25 Selection Feild all multiple range , 98 coulmns  & 26 database tables r used . its a very bulky report. i did optimized coding. still it is very slow . can anybody tell me the reason or an

  • Which is better for web videos-HD, SD 16:9 or SD 4:3 for Web?

    I'm shooting video on a Canon XL H1 with the intent of posting the video on the client's website. What signal standard do you recommend shooting in: HD, SD 16:9 or SD 4:3? If I shoot in HD what is the best way to export from FCP for web? Thanks.

  • How to connect to iMessage

    My iPad won't connect with my apple Id and password I already tried resetting it ? my wifi is working I am on the Internet now.Please help :(

  • How to set a keyboard event, which can response to dropdown list?

    Hi every one Can you set a keyboard keydown event for select the dropdown list item? Thanks Regard John //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++

  • Combine two iMovie projects into one iDVD project?

    Could someone help me figure out the best way to combine two iMovie (HD 5) projects into one iDVD project? I currently have a documentary with one iMovie project at 1 hour exactly. I am starting a second one and would like all this to go on one DVD e