GUI in XML

I am interested in writing some Swing GUI's in XML, and i know there are a couple of programs/libraries that do this (such as UIML), but can you please recommend me some good one? Anybody has any experience with this?
Thanks in advance,
Victor.

There's a few levels of this question I'm sure. You could write Swing GUIs in XML using the XMLEncoder/XMLDecoder framework to effectively write Swing code.
Then again, you could write XUL, which wouldn't be tied to Swing, but you could use a Swing implementation of it.

Similar Messages

  • Gui xalan xml

    I am trying to program a java swing gui with one button that will
    transform old.xml to new.xml using transform.xsl using xalan
    but the compiler gives an error message:
    Transform2.java:53: unreported exception javax.xml.transform.TransformerException; must be caught or declared to be thrown
    transformation("hamlet.xml","transformation1.xsl","hamletnew.xml"
    anyone know the solution of this problem
    this is the complete code:
    //using apache xalan to transform old.xml with tranform.xsl into new.xml
    //with java swing gui
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.stream.StreamResult;
    import javax.xml.transform.stream.StreamSource;
    public class Transform2
    public static void main(String[] args)throws TransformerException, TransformerConfigurationException,FileNotFoundException, IOException
    JFrame frame = new JFrame("Event Handling Tombol & TextField");
    final JButton button = new JButton("Transform");
    ActionListener eventclick =
    new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    if (e.getSource() == button) {
    transformation("old.xml","transform.xsl","new.xml");
    button.addActionListener(eventclick);
    frame.getContentPane().setLayout(new FlowLayout());
    frame.getContentPane().add(button);
    frame.pack();
    frame.setVisible(true);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    private static void transformation(String inputfile,String xslfile,String outputfile)throws TransformerException, TransformerConfigurationException,FileNotFoundException, IOException
    // Use the static TransformerFactory.newInstance() method to instantiate
    // a TransformerFactory. The javax.xml.transform.TransformerFactory
    // system property setting determines the actual class to instantiate --
    // org.apache.xalan.transformer.TransformerImpl.
    TransformerFactory tFactory = TransformerFactory.newInstance();
    // Use the TransformerFactory to instantiate a Transformer that will work with
    // the stylesheet you specify. This method call also processes the stylesheet
    // into a compiled Templates object.
    Transformer transformer = tFactory.newTransformer(new StreamSource(xslfile));
    // Use the Transformer to apply the associated Templates object to an XML document
    // (foo.xml) and write the output to a file (foo.out).
    transformer.transform(new StreamSource(inputfile), new StreamResult(new FileOutputStream(outputfile)));

    Function
    private static void transformation(String inputfile,String xslfile,String outputfile)throws TransformerException, TransformerConfigurationException,FileNotFoundException, IOExceptionStates that that function might throw an on of the exceptions mentioned.. to do this you have to have
    try{
       //the code that this function should do...
    catch(Exception e)
        // if doing previous stuff fails... this will be executed.
        // here do the throwing..
        throw new IOException (this);
    }also the main function propably should not throw exceptions..
    P_s

  • Logging: GUI for XML output? (Like Chainsaw for Log4j)?

    There is a nice GUI tool to view XML formatted output from Log4J log files. Is there some similar tool for Java logging XML formatted output?

    Hi,
    <?for-each:ROW?>
    <?end for-each?><xsl:variable name="cnt" select="count(//row|//ROW)" />
    <?for-each:xdoxslt:foreach_number($_XDOCTX,1,15-count(ROW),1)?> <?end if?>
    this will create 15 lines irrespective of you have that much rows of data in xml or not
    if you want more help , drop me mail @ [email protected]

  • Developing swing GUI using XML

    hi
    I must develop a GUI using swing by parsing XML documents.How to render the swing objects at run time, after parsing the XML document.I must know the process of creating the swing containers,components from XML document. Some open sources are available for the purpose but i must create a framework for our own purpose, so must know the process involved.
    kindly provide me any links or tutorial for the same.
    with Regards,
    A.Rajesh

    hey thanks for the help...i saw these tools but my problem will not be solved by these as the diagram i need to generate from XML is a class diagram. The components of class diagram cannot be made using swings...eg arrow,rectangle,aggregation symbol etc....

  • Creating a dynamic GUI with XMl

    Hey folks, i might have posted this already but i cant find it, so posting it again!!! I have an XML snippet that looks like this
    <button id=Add action=AddAction />
    Essentially what that does when parsed is creates a button and we load the AddAction using reflection and attach that as the actionlistenr for that button!! Now my problem is this, what if that the AddAction takes a parameter of say a Jtree, using reflection it tells me what parameters it takes but it doesnt tell me, "ok yep we pass in myTree as an argument into the construction of AddAction". Now im just looking for ideas for a solution to do this, how do i dynamically pass in references to objects i want to realize???
    Sorry if this appears twice but like i said i cant see it posted, any ideas or suggestions would be gratefull!!
    cheers,
    LL

    Also if any one has any thoughts on creating a front end using XML files, pros cons etc??? Just prototyping and wondering should i do down this road!!

  • Build GUI using XML

    Hi,
    I am interested in learning more about building a UI using XML...any suggestions? I have looked at SwiXml ....just looking for more. If you have used one/or more of them before, let me know what your opinions are to.
    Thanks!

    I know there are several of these things out there. The one I've tried was Thinlets. It looks good and is very lightweight. It's easy to get something running quickly, but you'll eventually run into limitations since the components are by far not as rich and flexible as swing. I still think it's great for what it does.
    If you're going to do a google search, I think one of the key words to use is XUL.

  • How to parse XML against XSD,DTD, etc.. locally (no internet connection) ?

    i've searched on how to parse xml against xsd,dtd,etc.. without the needs of internet connection..
    but unfortunately, only the xsd file can be set locally and still there needs the internet connection for the other features, properties.
    XML: GML file input from gui
    XSD: input from gui
    javax.xml
    package demo;
    import java.io.File;
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.URL;
    import javax.xml.XMLConstants;
    import javax.xml.transform.Source;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.validation.Schema;
    import javax.xml.validation.SchemaFactory;
    import javax.xml.validation.Validator;
    import org.xml.sax.SAXException;
    public class Sample1WithJavaxXML {
         public static void main(String[] args) {
              URL schemaFile = null;
              try {
                   //schemaFile = new URL("http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd");
                   File file0 = new File("AppSchema-C01-v1_0.xsd");
                   schemaFile = new URL(file0.toURI().toString());
              } catch (MalformedURLException e1) {
                   // TODO Auto-generated catch block
                   e1.printStackTrace();
              //Source xmlFile = new StreamSource(new File("web.xml"));
              Source xmlFile = new StreamSource(new File("C01.xml"));
              SchemaFactory schemaFactory = SchemaFactory
                  .newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
              //File file1 = new File("XMLSchema.dtd");
              //SchemaFactory schemaFactory = SchemaFactory
                   //.newInstance("javax.xml.validation.SchemaFactory:XMLSchema.dtd");
              Schema schema = null;
              try {
                   schema = schemaFactory.newSchema(schemaFile);
              } catch (SAXException e1) {
                   // TODO Auto-generated catch block
                   e1.printStackTrace();
              Validator validator = schema.newValidator();
              try {
                validator.validate(xmlFile);
                System.out.println(xmlFile.getSystemId() + " is valid");
              } catch (SAXException e) {
                System.out.println(xmlFile.getSystemId() + " is NOT valid");
                System.out.println("Reason: " + e.getLocalizedMessage());
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    }Xerces
    package demo;
    import java.io.File;
    import java.util.Date;
    import org.apache.xerces.parsers.DOMParser;
    public class SchemaTest {
         private String xmlFile = "";
         private String xsdFile = "";
         public SchemaTest(String xmlFile, String xsdFile) {
              this.xmlFile = xmlFile;
              this.xsdFile = xsdFile;
         public static void main (String args[]) {
              File file0 = new File("AppSchema-C01-v1_0.xsd");
              String xsd = file0.toURI().toString();
              SchemaTest testXml = new SchemaTest("C01.xml",xsd);
              testXml.process();
         public void process() {
              File docFile = new File(xmlFile);
              DOMParser parser = new DOMParser();
              try {
                   parser.setFeature("http://xml.org/sax/features/validation", true);
                   parser.setFeature("http://apache.org/xml/features/validation/schema", true);
                   parser.setProperty("http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation",
                             xsdFile);
                   ErrorChecker errors = new ErrorChecker();
                   parser.setErrorHandler(errors);
                   System.out.println(new Date().toString() + " START");
                   parser.parse(docFile.toString());
              } catch (Exception e) {
                   System.out.print("Problem parsing the file.");
                   System.out.println("Error: " + e);
                   System.out.println(new Date().toString() + " ERROR");
                   return;
              System.out.println(new Date().toString() + " END");
    }

    Thanks a lot Sir DrClap..
    I tried to use and implement the org.w3c.dom.ls.LSResourceResolver Interface which is based on the SAX2 EntityResolver.
    please give comments the way I implement it. Here's the code:
    LSResourceResolver Implementation
    import org.w3c.dom.ls.LSInput;
    import org.w3c.dom.ls.LSResourceResolver;
    import abc.xml.XsdConstant.Path.DTD;
    import abc.xml.XsdConstant.Path.XSD;
    public class LSResourceResolverImpl implements LSResourceResolver {
         public LSResourceResolverImpl() {
          * {@inheritDoc}
         @Override
         public LSInput resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI) {
              ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
              LSInput input = new LSInputImpl(publicId, systemId, baseURI);
              if ("http://www.w3.org/2001/xml.xsd".equals(systemId)) {
                   input.setByteStream(classLoader.getResourceAsStream(XSD.XML));
              } else if (XsdConstant.PUBLIC_ID_XMLSCHEMA.equals(publicId)) {
                   input.setByteStream(classLoader.getResourceAsStream(DTD.XML_SCHEMA));
              } else if (XsdConstant.PUBLIC_ID_DATATYPES.equals(publicId)) {
                   input.setByteStream(classLoader.getResourceAsStream(DTD.DATATYPES));
              return input;
    }I also implement org.w3c.dom.ls.LSInput
    import java.io.InputStream;
    import java.io.Reader;
    import org.w3c.dom.ls.LSInput;
    public class LSInputImpl implements LSInput {
         private String publicId;
         private String systemId;
         private String baseURI;
         private InputStream byteStream;
         private String stringData;
         public LSInputImpl(String publicId, String systemId, String baseURI) {
              super();
              this.publicId = publicId;
              this.systemId = systemId;
              this.baseURI = baseURI;
         //getters & setters
    }Then, here's the usage/application:
    I create XMLChecker class (SchemaFactory implementation is Xerces)
    import java.io.File;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.List;
    import javax.xml.XMLConstants;
    import javax.xml.stream.FactoryConfigurationError;
    import javax.xml.transform.Source;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.validation.Schema;
    import javax.xml.validation.SchemaFactory;
    import javax.xml.validation.Validator;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import abc.xml.XsdConstant.Path.XSD;
    public class XMLChecker {
         private ErrorMessage errorMessage = new ErrorMessage();
         public boolean validate(String filePath){
              final ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
              List<Source> schemas = new ArrayList<Source>();
              schemas.add(new StreamSource(classLoader.getResourceAsStream(XSD.XML_SCHEMA)));
              schemas.add(new StreamSource(classLoader.getResourceAsStream(XSD.XLINKS)));
              schemas.add(new StreamSource(classLoader.getResourceAsStream("abc/xml/AppSchema.xsd")));
              SchemaFactory schemaFactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
              schemaFactory.setResourceResolver(new LSResourceResolverImpl());
              try {
                   Schema schema = schemaFactory.newSchema(schemas.toArray(new Source[schemas.size()]));
                   Validator validator = schema.newValidator();
                   validator.setErrorHandler(new ErrorHandler() {
                        @Override
                        public void error(SAXParseException e) throws SAXException {
                             errorMessage.setErrorMessage(e.getMessage());
                             errorMessage.setLineNumber(e.getLineNumber());
                             errorMessage.setColumnNumber(e.getLineNumber());
                             throw e;
                        @Override
                        public void fatalError(SAXParseException e) throws SAXException {
                             errorMessage.setErrorMessage(e.getMessage());
                             errorMessage.setLineNumber(e.getLineNumber());
                             errorMessage.setColumnNumber(e.getLineNumber());
                             throw e;
                        @Override
                        public void warning(SAXParseException e) throws SAXException {
                             errorMessage.setErrorMessage(e.getMessage());
                             errorMessage.setLineNumber(e.getLineNumber());
                             errorMessage.setColumnNumber(e.getLineNumber());
                             throw e;
                   StreamSource source = new StreamSource(new File(filePath));
                   validator.validate(source);
              } catch (SAXParseException e) {
                   return false;
              } catch (SAXException e) {
                   errorMessage.setErrorMessage(e.getMessage());
                   return false;
              } catch (FactoryConfigurationError e) {
                   errorMessage.setErrorMessage(e.getMessage());
                   return false;
              } catch (IOException e) {
                   errorMessage.setErrorMessage(e.getMessage());
                   return false;
              return true;
         public ErrorMessage getErrorMessage() {
              return errorMessage;
    }Edited by: erossy on Aug 31, 2010 1:56 AM

  • QUICK XML BASIC QUESTION

    I have a program that has a hierarchical type of data that it stores. I want to make the data captured avaliable through a web page. I was going to use JDBC-ODBC driver and access then asp at the web server. Can I use XML instead for this purpose? It would seem more platform independant.
    Then xml file will be simple. What is the simplest way to create an XML file. I really dont want to have to download more class files so does jdk1.3,1 and above incolude the xml stuff that I will need. If not were should I look.
    Any help is much appreciated, I am sorry that I have no dukes to offer!

    Jimmy,
    You need to XML writing logic to put the data from you web GUI to XML file and tranfer the same across the network using JMS (thru jndi) or mqseries through queues . And you need XML parser to map your data to your data objects.
    Hope this helps.
    Dukkar Lee

  • Simple XML advice required

    Since I have never done XML before and while I am enjoying my Uni holidays, I thought I'd give my self a challenge.
    Is it possible to create a GUI to connect to a specific site, (my university website and access all the Information using GUI just as if I was using the website, except that all the relevant information and headlings are stored in specific TextFields and Panels?
    If it is then do I have to have access to the websites servers to modify it with my GUI XML.
    The University website has a student facility, and ofcourse has a Login screen and from there on the user can view his marks, unit material etc.
    Could some one please advice me with a helpful tutorial site so that I could try and incorporate it in my GUI application.
    Thank you

    XML is just a format for data. It isn't a language and it doesn't do anything. It isn't magic pixie dust either.
    You could store the configuration of your GUI in XML if you liked, or you could store it as serialized Java objects or as some other text format. But that has nothing to do with connecting to websites.
    You generally use a URLConnection object to connect to a website. But that has nothing to do with XML.

  • Change CSV to Excel in the Receiver Comm Channel

    Is there a way to insert custom code to change the FCC comma delimited (.csv) into an Excel file in the receiver communication channel file adapter? If so, how do I do this in XI? Thanks.

    Kristine Tiongson wrote:
    > GUI Mapping -> Adapter Module 1 that converts XML to CSV -> Adapter Module 2 that converts CSV to Excel -> File Adapter (FTP)
    >
    > Questions:
    > 1. Is there a standard SAP XI adapter module that can do Module 1?
    > 2. Is there a standard SAP XI adapter module that can do Module 2? 
    >
    > Please give me more information about the modules because I haven't used them before. Thank you for all your help!
    >
    > Kristine
    You flow should ideally be
    GUI Mapping (XML) -> Adapter Module -> File adapter
    Note modules are extensions to file adapter.
    Ref:
    How to create modules -
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
    XI JAVA User Module Development using NWDI -
    /people/community.user/blog/2007/12/21/xi-java-user-module-development-using-nwdi

  • Set fields of derived class in base class constructor via reflection?

    Does the Java Language Specification explicitly allow setting of fields of a derived class from within the base class' constructor via reflection? The following test case runs green, but I would really like to know if this Java code is compatible among different VM implementations.
    Many thanks for your feedback!
    Norman
    public class DerivedClassReflectionWorksInBaseClassConstructorTest extends TestCase {
    abstract static class A {
        A() {
            try {
                getClass().getDeclaredField("x").setInt(this, 42);
            } catch (Exception e) {
                throw new RuntimeException(e);
    static class B extends A {
        int x;
        B() {
        B(int x) {
            this.x = x;
    public void testThatItWorks() {
        assertEquals(42, new B().x);
        assertEquals(99, new B(99).x);
    }

    why not just put a method in the superclass that the subclasses can call to initialize the subclass member variable?In derived classes (which are plug-ins), clients can use a field annotation which provides some parameter metadata such as validators and the default value. The framework must set the default value of fields, before the class' initializer or constructors are called. If the framework would do this after derived class' initializer or constructors are called, they would be overwritten:
    Framework:
    public abstract class Operator {
        public abstract void initialize();
    }Plug-In:
    public class SomeOperator extends Operator {
        @Parameter(defaultValue="42", interval="[0,100)")
        double threshold;
        @Parameter(defaultValue="C", valueSet="A,B,C")
        String mode;
        public void setThreshold(double threshold) {this.threshold = threshold;}
        public void setMode(String mode) {this.mode = mode;}
        // called by the framework after default values have been set
        public void initialize() {
    }On the other hand, the default values and other metadata are also used to create GUIs and XML I/O for the derived operator class, without having it instantiated. So we cannot use the initial instance field values for that, because we don't have an instance.

  • Can anyone tell me why javaFX better than applet?

    I just have read the example of javaFX.And I have a question.
    From the example.I don't see any good in javaFX.below is my opinion:
    1.It seems like that the javaFX application is deploy as a applet or jnlp.This is what swing can also do;
    2.javaFX's expression is sucks.Why don't use xml to declare the UI? I think as the application becomes larger,it is so difficult to maintain the project.But if I use swing or applet,I think it is better for me to maintain the project using oop.
    3.I think what javaFX can do is also can be done by swing,why javaFX?
    any apply is appreciated,thanks very much

    Hi
    1. JavaFx it is build over the Java2D and Swing. In fact it can not run without this 2 component ( at least now ). So what you can do in JavaFX you can also do on Swing and Java2D
    2. I don't think xml syntax it is good to describe stuff like this . XML was design to store data not actions. When you design user interface you must declare what components or shape do you want to draw on the screen but also you must write the interaction between them . I don't think you can do this easy and nice in XML. Look at the Flex approach . They used for declaration of the GUI an XML and for comportment ActionScript. I don't like this because i must learn and study two "languages" to make a GUI.I've preferred one language.As you said it is better to use OOP . How can you do OOP in XML in a nice way ?
    3. Because in JavaFX we do can more things easily . Look at this example : [http://silveiraneto.net/2008/07/31/javafx-creating-a-sphere-with-shadow/] . I don't think you can achieve the same results with Swing and Java2D with the same code line number.
    Another difference between JavaFX and Swing is the syntax. The Sun want to create a language that can be used by designer and by programmer . The Swing can not be used by a designer . JavaFX used a more natural syntax. For example if you want to insert a shape in an array you must type in JavaFX :
    insert Circle{radius:10} into array_variable . As you see it is more natural this syntax than Java equivalent.
    Another difference it is how easy you can do things in JavaFX correctly . When you program in Java2D and Swing you must know very good the architecture of this components if you want to work correctly . You must know what is the Event Dispatch Thread and how you can used it . You must how you can work with multiple threads in Java2D and Swing . In JavaFX you don't need this . All of the tricks it is done by JavaFX ( not in this release . I hope the final release it will contains all these tricks) .
    Best regards
    Andrei Dore

  • 2012R2 WDS Standalone - unattended problem

    hi,
    i've got a problem with standalone WDS on Windows Server 2012 R2 with unattended installation.
    What i've done:
    clean install of 2012 R2
    added the WDS role in standalone mode (without Active Directory integration)
    created a local User 'svcWDS'
    added this user to share and security settings of C:\RemoteInstall
    added boot.wim + install.wim of Windows 7 SP1 x64 via WDS MMC
    When I initiate a pxe boot on my vm it works fine - the winpe wds client asks for credentials and the installation work without a hinch.
    Now i want to automate the process via unattended installation of winpe wds client and the action of the os installation.
    So I've made 2 unattended files with the latest ADK - no problems with xml validation.
    wdsclientunattend.xml > for WinPE WDS client - attached via GUI
    ImageUnattend.xml > for install image - attached via GUI
    If I attach either one or both the result is the same:
    unattend.xml is parsed correctly - no interaction is necessary to select an image to install
    ImageUnattend.xml is not parsed - prompt to enter computername, user, etc. apppears
    The unattend.xml from a deployed Windows 7 Client in C:\Windows\Panther has exactly the same content as the wdsclientunattend.xml.
    Now the actual Windows Setup can't process this unattend.xml:
    one entry in the setuperr.log
    [0x0b0010] WDS    CallBack_WdsClient_CopyPrivatesDone: Failed to process client unattend variables. Error code [0x8007000D].[gle=0x00000057]
    Also tracing on the serverside didn't reveal more information.
    Any idea how to fix this?
    Thank you in advance.

    Hi Alex,
    the architecture is not the problem:
    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="xxxx://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="xxxx://www.w3.org/2001/XMLSchema-instance">
    <SetupUILanguage>
    <UILanguage>de_DE</UILanguage>
    </SetupUILanguage>
    <InputLocale>de_DE</InputLocale>
    <SystemLocale>de_DE</SystemLocale>
    <UILanguage>de_DE</UILanguage>
    <UserLocale>de_DE</UserLocale>
    </component>
    <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="xxxx://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="xxxx://www.w3.org/2001/XMLSchema-instance">
    <DiskConfiguration>
    <Disk wcm:action="add">
    <WillWipeDisk>true</WillWipeDisk>
    <DiskID>0</DiskID>
    <CreatePartitions>
    <CreatePartition wcm:action="add">
    <Order>1</Order>
    <Type>Primary</Type>
    <Size>100</Size>
    </CreatePartition>
    <CreatePartition wcm:action="add">
    <Extend>false</Extend>
    <Order>2</Order>
    <Type>Primary</Type>
    <Size>25000</Size>
    </CreatePartition>
    </CreatePartitions>
    <ModifyPartitions>
    <ModifyPartition wcm:action="add">
    <Format>NTFS</Format>
    <Order>1</Order>
    <PartitionID>1</PartitionID>
    <Label>System-reserviert</Label>
    <Active>false</Active>
    <TypeID>0x27</TypeID>
    </ModifyPartition>
    <ModifyPartition wcm:action="add">
    <Order>2</Order>
    <PartitionID>2</PartitionID>
    <Letter>C</Letter>
    <Label>System</Label>
    <Format>NTFS</Format>
    <Extend>true</Extend>
    <Active>true</Active>
    </ModifyPartition>
    </ModifyPartitions>
    </Disk>
    <WillShowUI>Never</WillShowUI>
    </DiskConfiguration>
    <UserData>
    <AcceptEula>true</AcceptEula>
    <FullName>asdf</FullName>
    <Organization>asdf</Organization>
    </UserData>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Security-Malware-Windows-Defender" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="xxxx://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="xxxx://www.w3.org/2001/XMLSchema-instance">
    <DisableAntiSpyware>true</DisableAntiSpyware>
    </component>
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="xxxx://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="xxxx://www.w3.org/2001/XMLSchema-instance">
    <ComputerName></ComputerName>
    <RegisteredOwner>asdf</RegisteredOwner>
    <ProductKey>xxxxxxxxxxx</ProductKey>
    </component>
    <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="xxxx://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="xxxx://www.w3.org/2001/XMLSchema-instance">
    <SkipAutoActivation>true</SkipAutoActivation>
    </component>
    </settings>
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="xxxx://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="xxxx://www.w3.org/2001/XMLSchema-instance">
    <OOBE>
    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
    <NetworkLocation>Home</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    <HideEULAPage>true</HideEULAPage>
    </OOBE>
    <UserAccounts>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>YQBzAGQAZgBQAGEAcwBzAHcAbwByAGQA</Value>
    <PlainText>false</PlainText>
    </Password>
    <Name>InstallUser1</Name>
    <Group>Administrators</Group>
    <DisplayName>InstallUser1</DisplayName>
    <Description>InstallUser1</Description>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <TimeZone>W. Europe Standard Time</TimeZone>
    <ShowWindowsLive>false</ShowWindowsLive>
    <RegisteredOwner>asdf</RegisteredOwner>
    <AutoLogon>
    <Password>
    <Value>YQBzAGQAZgBQAGEAcwBzAHcAbwByAGQA</Value>
    <PlainText>false</PlainText>
    </Password>
    <Enabled>true</Enabled>
    <Username>InstallUser1</Username>
    <LogonCount>1</LogonCount>
    </AutoLogon>
    </component>
    <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="xxxx://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="xxxx://www.w3.org/2001/XMLSchema-instance">
    <InputLocale>de_DE</InputLocale>
    <SystemLocale>de_DE</SystemLocale>
    <UILanguage>de_DE</UILanguage>
    <UserLocale>de_DE</UserLocale>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:c:/temp/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    TFTP downloads the x64 boot.wim, only a x64 install image exists on the server and in the unattend.xml above there's only processorArchitecture="amd64".
    I've tried the exact same unattend.xml in an domain integrated wds environment and there it work's without any problems.
    Any further ideas?

  • Serious question, what on Earth is JavaFX for?

    This is a really serious inquiry, I am not taking the Mick, but what exactly is JavaFX???
    Yes, I have seen the demos on the main FX site - and got to say I am completely underwhelmed. They are not only retro, but utterly pointless! Decent Javascript libraries such as ExtJS/Sencha and GWT can make a much, much better job of RIA in the browser.
    I don't get it. I really don't. What part of the market is FX aimed at? For sure it can't be the browser because it is really, really bad.
    Sincerely,

    JavaFX is good for normal applications if you want to create "smooth" animated application. It is easy and enjoyable programming and JavaFX has good performance.
    Other possibility is WPF but it sucks (who wants to write gui in xml and I have failed to create "smooth" apps in it).
    Javascript sucks too.

  • Different JPanels

    hi there, thnx to everyone out there who solved my issue bout have to turn java into XML..
    my supervisor actually got his thoughts all wrong
    he didnt mean to change the entire gui into xml but just to utilize xml in part of the gui developement..
    just a minor problem which i cant get to terms with
    I have currently made a GUI which has jtoolbar items on the left
    however what i would like the gui to do is that for each of the individual buttons when pressed, i would like it to bring me to a new jpanel, is that possible?
    would appreciate any help rendered.

    hi there,
    this is what i've done
    jToolBar.add(button1);
              trees.addActionListener(new ActionListener()
              public void actionPerformed(ActionEvent e)
              JPanel pane = new JPanel();
              setContentPane(pane);
    whenever i click on button 1, it kinda hangs the entire application cept for the exit..
    something i did wrong?

Maybe you are looking for