Need a java code using swing that can do master configuration

I need a java code using swing that can do master configuration.For example, in the 1st screen it will show all configuration checke boxes . According to those selected check box, it will show the needed panels sequentially and finnaly it will update many xml files.

TapasB wrote:
I need a java code .......and I wish you much luck in creating it. Please come back if you have a specific question on a specific part of your code that is not working quite right.

Similar Messages

  • How can i return object from oracle in my java code using pl/sql procedure?

    How can i return object from oracle in my java code using pl/sql procedure?
    And How can i returned varios rows fron a pl/sql store procedure
    please send me a example....
    Thank you
    null

    yes, i do
    But i can't run this examples...
    my problem is that i want recive a object from a PL/SQL
    //procedure callObject(miObj out MyObject)
    in my java code
    public static EmployeeObj callObject(Connection lv_con,
    String pv_idEmp)
    EmployeeObj ret = new EmployeeObj();
    try
    CallableStatement cstmt =
    lv_con.prepareCall("{call admin.callObject(?)}");
    cstmt.registerOutParameter(1, OracleTypes.STRUCT); // line ocurr wrong
    //registerOutParameter(int parameterIndex, int sqlType,String sql_name)
    cstmt.execute();
    ret = (EmployeeObj) cstmt.getObject(1);
    }//try
    catch (SQLException ex)
    System.out.println("error SQL");
    System.out.println ("\n*** SQLException caught ***\n");
    while (ex != null)
    System.out.println ("SQLState: " + ex.getSQLState ());
    System.out.println ("Message: " + ex.getMessage ());
    System.out.println ("Vendor: " + ex.getErrorCode ());
    ex = ex.getNextException ();
    System.out.println ("");
    catch (java.lang.Exception ex)
    System.out.println("error Lenguaje");
    return ret;
    Do you have any idea?

  • Need Sample java code

    Hi,
    iam working in SAP .
    I need sample java code on how to convert Decimal to number
    For Ex: I/p-----123.11
    O/p----------------12311 ( with out decimal) want to remove the dicimal point what ever the input value and deliver it to the output
    Please give me code
    Regards
    Suman

    i don't know what do you want to do really. If you are doing it simply then you can take the input in a String and then remove the decimal.
    String str = "123.11";
    str = str.substring(0, str.indexOf("."));
    System.out.println(str);

  • I need to deactivate CS4 on computer that can't connect to Internet in order to install on new computer

    I need to deactivate CS4 on computer that can't connect to Internet in order to install on new computer..what steps can I take to remedy this problem?

    Since your computer cannot connect to the internet you may have to talk to a support person. See this page
    Contact Customer Care
    You can always install on a second computer without deactivating

  • Any suggestions for an animation program using photographs that can be incorporated into iMovie or Final Cut express?

    Any suggestions for an animation program using photographs that can be incorporated into iMovie or Final Cut express?

    The MTS files will always be grayed out. Do not drill down into the folder structure. Select the top level of the AVCHD folder structure. If this is a hard drive it may take a very long time to load. People have reported 20 minutes to half an hour.
    Other possible problems, conflicts with other software like Perian. Also if there is mixed media on the drive; media in different formats can make the directory unreadable. What are the exact specifications of your media? What settings are you using in FCE?

  • WL-JAAS-No Configuration was registered that can handle the configuration

    Hi,
    A) I am trying to run JAAS on Weblogic. We have got our own login module developed based on JAAS specification.
    I have created jas.config which is as follows:
    abcjaas {
    <pkg>.DBLoginModule required
    which I have included in the system properties as
    set JAVA_OPTIONS=%JAVA_OPTIONS% -Djava.security.auth.login.config=D:\BeaWL\jaas.config
    B) I had also tried setting this
    set JAVA_OPTIONS=%JAVA_OPTIONS% -Dlogin.configuration.provider=com.bea.common.security.jdkutils.JAASConfiguration. This I have also tried configuring in the java.security file in the JDK folder.
    While in Java code, it precisly throws error here on this statement:
    loginContext = new LoginContext("abcjaas", callHandler);
    But for all the above trials, it gives the same error as follows:
    C)
    Inside : Authenticator ::authenticateUser()....
    <Sep 10, 2009 2:32:49 PM IST> <Error> <HTTP> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@609547 - appName: CommercialLines_EAR', name: 'App', context-path: '/App', spec-version: '2.5'] Servlet failed with Exception
    java.lang.IllegalArgumentException: No Configuration was registered that can handle the configuration named abcjaas
    at com.bea.common.security.jdkutils.JAASConfiguration.getAppConfigurationEntry(JAASConfiguration.java:124)
    at javax.security.auth.login.LoginContext.init(LoginContext.java:243)
    at javax.security.auth.login.LoginContext.<init>(LoginContext.java:403)
    at <pkg>.Authenticator.authenticateUser(Authenticator.java:38)
    at <pkg>.LoginFilter.doFilter(LoginFilter.java:40)
    Truncated. see log file for complete stacktrace
    >
    D) Kindly help, the Weblogic 10.3.0.0 running on JDK1.6 -Sun provided. I am not using the JDK1.6 in WL10.3 or its Jrockit1.6.
    Please let me know the resolution.
    Cheers,
    -Vishal Kumar

    I came across the potential fix through the document: http://docs.oracle.com/cd/E23717_01/doc.71/e23699/adm_troubleshoot.htm#BABIHJJF . The fix works fine.
    However I would like a better explanation of the issue and the fix. The issue happens only on Solaris servers that run sftp, but not on linux servers.

  • How to declare java.lang.Class variable that can be used in Enum.valueOf(.)

    As per subject -- we have a need to declare variable in class that will hold enum's Class object. At some point we want to use this variable as a Class argument for Enum.valueOf(.) which has the following signature:
    public static <T extends Enum<T>> T valueOf(Class<T> enumType, String name) {..}So far we cannot come up with a workable solution.
    private final Class<? extends Enum<?>> propertyClass;doesn't work (apparently because second ? should in fact be the same as first ? -- which works with T for class/method templates, but cannot be used for variables). Error message (in Eclipse) is:
    Bound mismatch: The generic method valueOf(Class<T>, String) of type Enum<E> is not applicable for the arguments (Class<capture#13-of ? extends Enum<?>>, String). The inferred type capture#13-of ? extends Enum<?> is not a valid substitute for the bounded parameter <T extends Enum<T>>
    So what would be the proper way to declare the variable?
    Thanks in advance!

    the enum.valueof method is a little weird. they implemented it so it is nice and "safe". if you don't care about that safety, you can probably work with raw types for that bit of code and get the call to go through. you just won't have any type safety on the result.

  • Need more than one iCloud account that can use Bookmarks, Photo Stream, etc.

    Unless someone has found a way I can't create a second iCloud on Lion that can use Booksmarks, Photostream, Reminders and Notes. You can do this on iOS 5 so why not Lion? Seems to me to either be an oversight or bad design and I hope it's just an oversight.
    Now you ask why would you want to do this. Easy, to have all of your iOS devices and your family computers able to use the same Photo Stream. That way everyone in the family photos will be synced up and protected on multiple computers plus being shared. 
    As I said the iOS devices can do this not just not Lion.
    So someone please tell me I'm wrong and show me how or Apple please add this to Lion ASAP.

    No, you can only connect to one iCloud account.

  • Using Swing how can we create socket and send data thru TCP/IP on the socke

    Hi All,
    Can anyone tell the link or answer to me about the Socket programming using Swing and data get & post onto the socket.
    Thanx & Regard
    Ashu

    swing is nothing to do with socket programing, you need to code using core java and API of net
    so please go through this link [http://www.javaworld.com/javaworld/jw-12-1996/jw-12-sockets.html]

  • Error -- Java code using OIM API to find no of users in OIM

    Hi Experts,
    I hav a requirement that I need to query OIM to find out the total no of active users in the system using a stand alone java program to determine some other process. So I have developed a simple java code but it fails in the below line
    rset=userIntf.findAllUsers(map);  -- It throws null pointer exception
    I have tried with deleteUser() instead of findUsers() , still it throws the null pointer exception on the same line.I have checked the other posts in the forum but could not find out where is the mistake. Can u please suggest me??
    Here is the code
    System.setProperty("XL.HomeDir","D:/bea-oim/xellerate");
    System.setProperty("java.security.auth.login.config","D:/bea-oim/xellerate/config/authwl.conf");
    System.setProperty("java.security.policy","D:/bea-oim/xellerate/config/xl.policy");
    System.setProperty("log4j.configuration","D:/bea-oim/xellerate/config/log.properties");
    tcUtilityFactory utilityFactory = null;
    tcUserOperationsIntf userIntf = null;
              try
                   tcResultSet rset;
                   ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
                   final Hashtable env = config.getAllSettings();
                   tcSignatureMessage moSignature = tcCryptoUtil.sign("xelsysadm","PrivateKey");
                   utilityFactory = new tcUtilityFactory(env, moSignature);
                   userIntf=(tcUserOperationsIntf)utilityFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
                   HashMap map = new HashMap();
                   map.put("Users.Status","Active");
                   rset=userIntf.findAllUsers(map);
    System.out.println(rset.getRowCount());
         catch(NullPointerException ne)
         System.out.println(ne.getMessage());
         ne.printStackTrace();
         catch(Exception e)
         System.err.println(e.getMessage());
         e.printStackTrace();
    Thanks & Regards
    INIYA

    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    import java.util.HashMap;
    import java.util.Properties;
    import java.util.*;
    import Thor.API.tcUtilityFactory;
    import Thor.API.Operations.*;
    import Thor.API.tcResultSet;
    import com.thortech.xl.crypto.tcCryptoUtil;
    import com.thortech.xl.util.config.ConfigurationClient;
    * @author Rajiv
    public class CreateBulkUsers {
    public static void main(String args[])
    System.setProperty("XL.HomeDir", "E:\\oim\\server\\xellerate");
    System.setProperty("java.security.auth.login.config", "E:\\oim\\server\\xellerate\\config\\auth.conf");
    System.setProperty("java.security.policy", "E:\\oim\\server\\xellerate\\config\\xl.policy");
              tcUtilityFactory utilityFactory = null;
    tcUserOperationsIntf userIntf = null;
    try
    com.thortech.xl.util.config.ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    java.util.Hashtable env = config.getAllSettings();
    com.thortech.xl.crypto.tcSignatureMessage moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
    utilityFactory = new tcUtilityFactory(env, moSignature);
    // System.out.println((new StringBuilder()).append("utilityFactory = ").append(utilityFactory).toString());
    userIntf = (tcUserOperationsIntf)utilityFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
    HashMap map = new HashMap();
    map.put("Users.Status", "Active");
    tcResultSet rset = userIntf.findAllUsers(map);
    System.out.println(rset.getRowCount());
    catch(NullPointerException ne)
    System.out.println(ne.getMessage());
    ne.printStackTrace();
    catch(Exception e)
    System.err.println(e.getMessage());
    e.printStackTrace();
    Include all the JARs to run this class from outside not only of OIm of JBoss or Weblogic also.
    eg: jboss\client and jboss\lib

  • HT6015 After successfully signing up for Apple's VPP, I went in to purchase apps, and the only distribution method available is "managed distribution".  Our company does not have a MDM so I need the Redeemable Codes method.  Where can I find once I log in

    After successfully signing up for the Apple Volume Purchasing Program, I went in to purchase a quantity of apps.  The only distribution method that was available was the MDM.  Our company does not have a MDM.  I need redeemable codes.  How do I get that option?  I am using a PC.

    Can I add my existing, licensed apps to my list of 'Purchases' on the Mac App Store so I don't have to buy them twice?
    No. Only apps purchased from the App Store can be re downloaded for free including updates.

  • Invoke exe through java code(using java.lang.Runtime)

    Iam trying to invoke an exe from java code.If i give the complete path for that exe it is running fine .But if i set the environment variable and directly execute the exe through command prompt it iss running fine , but it fails to run when i do the same using java code i.e. java.lang.Runtime.exec function

    Give "//" for directory seperator.
    E.g. r.exec("c://test//test.exe",null);
    Why? That doesn't look correct.It is correct. It will work fine. Try it out.But it doesn't add or solve anything. A forward slash
    does not need to be escaped.'
    It's not even escaping. It's just doubling up. If that works, I'd bet "C://///test///////test.exe" does also.

  • Monitor java code using BAM

    Hi,
    I am new to BAM, and I have a specific use case, for which I couldnt find any doc in the web. I want to monitor a java code at different point using BAM. To be in more detail, I would like to add sensors at different location in my java code, which would possible push it to JMS queue and BAM monitors those data objects.
    Thanks,
    Sudarsan M

    Hi Sudarshan,
    Please look in the blog entry below that demonstrate how you can feed BAM Data objects by listening to JMS Queue/Topic.
    http://beatechnologies.wordpress.com/2011/05/20/integrating-oracle-bam-11g-with-bpel-jms-sensor-action/
    The example in the blog illustrate how a BPEL process uses a JMS Sensor action to publish Data to a JMS Queue and from there how it is picked up by External Message Sources in BAM.
    For your use case you can write a small client code to post an XML message from your Java Class to a Queue in Weblogic.
    Hope it helps.

  • Sample JAVA code using Resource Adapter for RFC Connections

    Hi Java Knowledgeable Ones.
    I have successfully deployed the SAP Netweaver J2ee Engine "Resource Adapter for RFC Connections to ABAP Systems" to my Web Application Server.  Now I need to develop a JAVA application that would utilize this deployed resource adapter.  The resource adapter specifies the SAPClient, UserName, and password.  I am thinking that the JAVA code to invoke this connection would therefore not need to provide this information as it should be available in the resource adapter.
    Do you have sample code that you could send to me showing how to do this?
    Thanks,
    Kevin

    Hi Kevin,
    this is actually no good style! You should not open the connection with the adaptor knowing the password. Usually it should work via a connection that uses only basic rights  and the user has already authenticated and is using his security ticket.
    For security handling see:
    http://help.sap.com/saphelp_nw04/helpdata/en/61/f8bc3d52f39d33e10000000a11405a/frameset.htm
    Regards,
    Benny

  • Best practice of OSB logging Report handling or java code using publish

    Hi all,
    I want to do common error handling of OSB I did two implementations as below just want to know which one is the best practice.
    1. By using the custom report handler --> When ever we want to log we will use the report action of OSB which will call the Custom java class which
    Will log the data in to DB.
    2. By using plain java class --> creating a java class publish to the proxy which will call this java class and do the logging.
    Which is the best practice and pros and cons.
    Thanks
    Phani

    Hi Anuj,
    Thanks for the links, they have been helpful.
    I understand now that OSR is only meant to contain only Proxy services. The synch facility is between OSR and OSB so that in case when you are not using OER, you can publish Proxy services to OSR from OSB. What I didn't understand was why there was a option to publish a Proxy service back to OSB and why it ended up as a Business service. From the link you provided, it mentioned that this case is for multi-domain OSBs, where one OSB wants to use the other OSB's service. It is clear now.
    Some more questions:
    1) In the design-time, in OER no Endpoints are generated for Proxy services. Then how do we publish our design-time services to OSR for testing purposes? What is the correct way of doing this?
    Thanks,
    Umar

Maybe you are looking for

  • Insert text box

    My text box option is grayed out both in the toolbox options and within the "insert" menu. What am I doing/not doing? I click outside the document, click on margin mark, what's up??

  • Should I return this laptop? Ebay purchase. Please help - need more than one opinion! College student here

    First, it was an amazing deal of $525 for a 2011, 6gb RAM, 640 GB hard drive. BUT, i took it to the apple store and they said I should return it because... 1) the screws on the bottom meant the seller refurbished it because they arent apple screws 2)

  • Automatic creation of Source list

    Hi All, My requirement is to create a source list after a material and a Purchase Inforecord is created. I have heard that there is a Program in standard SAP which I can run to create a Source list right after a Purchase inforecord is created. We hav

  • ITunes Match won't recognize albums bought in another country as purchased

    Hi all, momentarely I'm quite dissapoibted with iTunes match. I have a library with 26k titles - over 2'700 bought in iTunes, the rest is my digitalized CD-Library or bough via amazon. in 2010 I moved from germany to switzerland and changed the count

  • Clicking Noises

    My iPod mini has recently begun to buzz whenever I select a new song and it sometimes makes clicking sounds and freezes momentarily. These noises are coming from inside the iPod mini, not coming through the headphones because the sound is still there