Plugging actions into GUI by means of configuration files and

Hi,
I'm looking for a tricky design pattern which will permit to plug Action objects into a Swing UI, using xml config files or whatever format. but it seems to be a little difficult, since requests must collect data from GUI components to perform the correct request.
the Chain of responsabilities pattern could be a solution for it's based on a chain of handlers.the handlers handle one by one the request and finally the request generates a command which will be executed and which will update the model. finally the GUI will be updated by a sort of ModelChangedEvent. The remaining problem to resolve is where to begin.
what are the interfaces of the handlers for example
the solution must be the most generic as possible.
So any suggestions?
Ramzy
Paris

deja vu... did you or somebody else not post this exact message several months ago?  Or am I just mixing up past present and future again? :-D
What I remember is this discussion coming up, somebody reminding the poster that there is a NoUpgrade option to allow specific files to not be overwritten in /etc/pacman.conf (for example: NoUpgrade = etc/inittab ). and Judd eventually making some kind of additional option to pacman to make it so that NoUpgrade is the default for something if that's what you want.
I swear I've read your message word for word in the past.  I'm scared now... :oops:
Dusty

Similar Messages

  • Ipod 4 is displaying blue frozen screen and black screen with apple logo. I try to turn power off but as soon as it goes out it automatically reboots. Plugged it into the usb port on my mac and it doesnt do anything. It doesnt appear in Itunes. Help?

    ipod 4 is displaying blue frozen screen and black screen with apple logo. I try to turn power off but as soon as it goes out it automatically reboots. Plugged it into the usb port on my mac and it doesnt do anything. It doesnt appear in Itunes. Help?

    Let the battery fully darain. After charging for an least an hour try a reset and restore. Use Recovery mode if necessary.
    If not successful, then time for an appointment at the Genius Bar of an Apple store.

  • I updated my ipod touch 5th gen to iOS 8.2 and left it but when i got back it was in recovery mode with a red iTunes logo and i plugged it into my computer to reset my ipod and it wouldn't do it what do i do?

    I updated my ipod touch 5th gen to iOS 8.2 and left it but when I got back it was in recovery mode with a red iTunes logo and I plugged it into my computer to reset my ipod and it wouldn't do it what do I do?

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable       
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

  • I just got a new Mac yesterday and I am trying to connect my Logitech headset for work but can't!  I plug it into the USB but nothing pops up and I can't find where I go to look to see if it's connected.  HELP!

    I just got a new Mac yesterday and I am trying to connect my Logitech headset for work but can't!  I plug it into the USB but nothing pops up and I can't find where I go to look to see if it's connected.  HELP!

    Ask the Verizon store to exchange your iPhone for a different iPhone 4.
    UPDATE - Sure, try ckuan's solution first.  Then use mine if that fails.
    Message was edited by: sberman

  • HT201210 tried to update to ios 6.1 and it crashed my phone, plugged it into itunes like it told me to and it said i needed to restore it, so tried and it failed and it just keeps failing. its an iphone 4. what do i do?!

    HELP.
    tried to update to ios 6.1 and it crashed my phone, plugged it into itunes like it told me to and it said i needed to restore it, so tried and it failed and it just keeps failing. its an iphone 4. what do i do?!

    it just says restore failed error 3194 but i can't find anything useful on google or anything i can understand, i don't get technology at all.

  • TS3219 i am setting up an ipod touch for my daughter, created her an account, had it verified,  but when I get to the section that reads 'connect to itunes' I plug it into the computer with her log in and nothing happens.  HELP.  I have been at this for 4

    i am setting up an ipod touch for my daughter, created her an account, had it verified,  but when I get to the section that reads 'connect to itunes' I plug it into the computer with her log in and nothing happens.  HELP.  I have been at this for 4 hours

    Hello GJS6,
    Thank you for the details of the issue you are experiencing when trying to connect your daughter's iPod touch to the computer.  I recommend the following article:
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/TS1591
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Okay my girlfriend just got the new 5th generation ipod, and yesterday when she plugged it into her charger, a yellow triangle appeared and said that it wasnt supported by the charger, what can we do ?

    Okay my girlfriend just got the new 5th generation ipod, and yesterday when she plugged it into her charger, a yellow triangle appeared and said that it wasnt supported by the charger, what can we do ?

    - See:       
    iPod touch: Hardware troubleshooting
    - Try another cable
    - Try another charging source
    - Inspect the dock connector for bend or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genus Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • My gen 4 ipod shuffle is not showing the green light when I switch it on (Green area shown). But when I plug it into the computer there initial orange blink and then solid orange. What wrong with it and how can I fix it.

    My gen 4 ipod shuffle is not showing the green light when I switch it on (Green area shown). But when I plug it into the computer there initial orange blink and then solid orange. What wrong with it and how can I fix it. 

    Hello Korawees,
    I was researching the issue you are describing and had a recommendation. The device is very simple, so the software troubleshooting for it is pretty limitted so I think you shoud restore the iPod shuffle and re sync the content. That way, if it is a software issue, this will fix it. Here is the article named Restoring iPod shuffle to factory settings found here: http://support.apple.com/kb/HT1481.
    Before Starting
    It is important to understand the difference between "update" and "restore." Update does not affect your settings or songs, it simply installs updated software that controls iPod shuffle. Restore erases the disk and restores iPod shuffle to its original factory condition with updated software. If you only need to update iPod shuffle, this should be done on the computer where music is normally synced. Updating on another computer will result in all songs being removed from iPod shuffle.
    Warning: Because Restore erases all songs and files on iPod shuffle, make sure to back up any files you've saved on iPod shuffle. Your songs, podcasts, and audiobooks can be synced back to your iPod shuffle if the items are part of your iTunes library.
    How to restore iPod shuffle
    Ensure that you have an active Internet connection as new versions of iTunes and iPod Software may need to be downloaded to your computer.
    Download and install the latest version of iTunes if you do not already have it installed.
    Open iTunes, and then connect iPod shuffle to your computer.
    After a few moments, iPod shuffle will appear in the Devices section on the left side of the Tunes window.
    Select iPod shuffle under Devices and you will see information about it appear in the main iTunes window under the Summary tab/button for iPod shuffle (3rd and 4th generation) or the Settings tab/button for iPod shuffle (1st or 2nd generation).
    The Version section tells you whether iPod shuffle is up to date or needs a newer version of the software.
    Click the Restore button. You will be presented with one or more restore options that may prompt iTunes to automatically download the latest iPod Software. The 4-possible restore options are:
    Restore Option 1: Restore - Restores with same iPod Software version already on iPod.
    Restore Option 2: Use Same Version - Restores with same iPod Software version already on iPod even though a newer version is available.
    Restore Option 3: Use Newest Version - Restores with the latest iPod Software currently on your computer.
    Restore Option 4: Restore and Update - Restores after downloading the latest iPod Software on your computer.
    If you are using a Mac, a message will appear prompting you to enter an administrator’s name and password.
    A progress indicator will appear on the computer screen indicating that the restore process has started. Do not disconnect iPod shuffle during the restore process.
    After the restore process is complete, the iPod shuffle's status light will flash orange continuously. The iPod Setup Assistant window will appear asking you to name your iPod and choose your syncing preferences as you did when you connected your iPod shuffle for the first time.
    When you come to step 7, I recommend Restore Option 4.
    Take care,
    Sterling

  • Reading Encrypted Password from Configuration File and Decrypt it at login

    Hi All,
    My application reads a configuration file to connect to the ORACLE database. The values defined for password are clear text as given below:
    user: 'mh'
    password='abcd1234'
    Is there is any way I can give an encrypted password in the configuration file instead of a clear text file and at the time of login ORACLE decrypts it. I am using ORACLE 11g Database.
    My company have a requirement that passwords are not stored in the clear in properties files. the reason being I suppose that if the password is stored in plaintext someone could hit the property file directly, get the password and then connect to the database with it.
    For a regular user connecting through an Oracle client or SQL Developer they would need to have the plaintext password in order to connect.
    its based on the requirements of
    International Standards Organization Guidance
    ISO 17799 � 9.5.4 requires password management systems to:
    � enforce the use of individual passwords
    � allow users to select and change their own passwords if appropriate
    � enforce a choice of quality passwords
    � force regular changes of passwords
    � maintain a record of previous user passwords to prevent re-use
    � not display passwords when they are being entered
    � store password files separately from application system data
    � store passwords in encrypted form using a one way encryption algorithm
    � alter default vendor passwords following installation of software
    So if I can store the password encrypted using a one way algorithm then hacker/user couldn't decrypt it and then access the database.
    I have feeling there is a way of configuring this in Oracle advanced Security, but just can't quite get it to work.
    Edited by: user5568473 on 20-May-2013 00:05

    So if I can store the password encrypted using a one way algorithm then hacker/user couldn't decrypt it and then access the database.... and neither can your application. Encryption is needed in this case. The decryption must be written into your application. I've written my own in some cases, but finding a library for your development language is a smarter solution.
    One alternative is using an Oracle wallet. It doesn't fit every circumstance and does have some maintenance headaches.
    You can set up a basic secure password store to encrypt and store the password for a given user@instance combination, and then connect to the database without passing a password. SQL*Net adds in the appropriate password from the wallet for when you connect.
    http://www.oracle.com/technetwork/database/security/twp-db-security-secure-ext-pwd-stor-133399.pdf
    Advanced Security Option also allows you to set up a Public Key Infrastructure connections (SSL encryption and/or authentication). It also uses a wallet to store the SSL certificates and credentials. I don't have personal experience on this approach.
    SSL and the wallet allow you to connect to the database similar to CONNECT/@net_service_name or sqlplus /@net_service_namehttp://docs.oracle.com/cd/B28359_01/network.111/b28530/asossl.htm#CIHCBIEG

  • Configuration files and variables

    All,
    Sorry if this is a repost - I thought I posted it earlier today but I can't find it by searching for my username :(
    I've got an application that I would like to enable so that it works with a configuration file. In perl I would use one of the CPAN Config modules and I then just create a file in the form of
    NAME=VALUE
    I want to be able to set various things based on values in the configuration file, but I have no idea what is considered best practice in Java for doing this. The application is a slideshow app, so I want to set things like window size and slide delay.
    At a point in the future, I will probably want to make the application able to modify / create this configuration file using the application interface.
    In light of these questions, what is the best way of achieving this ?
    Thanks in advance,

    java.util.Properties can be used to store the name,value pairs specified in the file. New name,value pairs need can also be added to the file back.
    The following code may help you out..
    I have a file named props.txt having the values
    Name1=Value1
    Name2=Value2
    The following code will read the values, modify the value for a kay and add a new key,value and updates teh file with these changes.
    public class ReadProperties {
        public static void main(String[] args)
            try
                String strFileName = "props.txt";
                Properties prop = new Properties();        
                InputStream inp = null;        
                ClassLoader classLoader = null;
             classLoader = ReadProperties.class.getClassLoader();
                if (null != classLoader)
                     inp = classLoader.getResourceAsStream(strFileName);
               else
                    inp = ClassLoader.getSystemResourceAsStream(strFileName);     
                prop.load(inp);
                //This block is used to list all the properties in the file
                Set s =  prop.entrySet();
                for(Iterator it = s.iterator();it.hasNext();)
                    Map.Entry map = (Map.Entry)it.next();                              
                    System.out.println("map.getKey().toString() : values :  " + map.getKey().toString() + " : "+ prop.getProperty(map.getKey().toString()));               
                // To get only a particular key's value, use
                System.out.println("value for Name1 : " +prop.getProperty("Name1"));         
                //This is to set the proeprties dynamically into the object.
                prop.setProperty("Name3","Value3");
                prop.setProperty("Name1","Value1");
                //If the dynamically aded proeprties neded to be stored in the file.. use the following
                prop.store(new FileOutputStream("props.txt"),null);          
            catch (FileNotFoundException e)
                e.printStackTrace();
            catch (IOException e)
                e.printStackTrace();
    }Regards,
    Raviprakash.D

  • LAF Configuration File and OHW customization

    1) It is not quite clear how to set up my own look and feel without changing the default cabo xss styles. As you show in presentation I have to register XML file (like amazon-laf.xml) that defines custom LAF in uix-config.xml. But I couldn't find the format specification of such configuration file (i mean amazon-laf.xml).
    2) Is there any possibility to separate the node image of collapsed and expanded branches in TOCTreeNavigator mode? I'd like to have two difeerent images instead of single tn_chapter.gif.
    3) When i change the background color of html pages (topics and/or main header) white region appears between frames and frames are resizable. Is it special feature? Setting "border" attribute value of <html:frameset ...> element to 0 (viewTopic.uix) should remove this region.

    I happen to know that LAF customization isn't very well documented in UIX, and that UIX isn't exactly getting a lot of attention within Oracle. So trying to get the exact customization details from the JDev team (the UIX forum isn't active any more) is quite difficult.
    For us outside of Oracle, using OHW/OHJ may require us to do customization. If Oracle doesn't plan to document the customization, I understand, but please don't simply pass us on to another group that will understand the question even less.

  • Location of xdodelivery.cfg delivery Configuration file and how to use it

    I am trying to use xdodelivery.cfg for setting various Server Properties and calling
    this in my Delivery Wrapper Java Program.
    First of all i am not able to find this file anywhere on Oracle Apps APPL_TOP,So i have created this xdodelivery.cfg file in $CUSTOM_TOP/resource directory.
    Then in my Java Program I have set Java system property by calling java.lang.System.getProperties().put("XDO_TOP", "/path/to/xdotop") which points to Physical Directory of as CUSTOM_TOP as /u01/app/appltop/cust
    Then i am Calling req.setServer("PRINTER_NAME") method in Java Wrapper Program to call PRINTER_NAME properties.
    But i am not able to get any success in it. User Guide is mentioning following thing
    "The location of the configuration file is
    {XDO_TOP}/resource/xdodelivery.cfg
    where {XDO_TOP} is a Java system property that points to the physical directory.
    This system property can be set in two ways:
    • Pass -DXDO_TOP=/path/to/xdotop to the Java startup parameter
    • Use a Java API in your code, such as java.lang.System.getProperties().
    put("XDO_TOP", "/path/to/xdotop")
    The system property must be defined before constructing a DeliveryManager"
    Please give me solution of how to go about it .I mean using xdodelivery.cfg file
    Thanks
    Darshan

    Hi,
    I am facing a similar issue while using the configuration file, can you please list out the steps for setting the XDO_TOP Java System property, I have tried setting a Run Time environment variable XDO_TOP to the path of the xdodelivery.cfg file in my qapache port, but the file is not getting picked up.
    Any pointers would be appriciated,
    Thanks,
    Ankul
    [email protected]

  • How i can to create a vi, which read from configuration file and i could modify this indicator and save the config data??

    Hi guys,
    I have in my application a subvi which i use to save the configuration of application. I create one file with the last saved configuration, and i would like to open this values and that i could to modify this indicator value, but i cant since to modify i need 'numeric control' and to read the data from file i need 'numeric indicator '...
    I thought, use a numeric control and use the values from file to the default values, but i didnt get to find the property node to adjust it. is it possible? or any different way to get it....??
    Also, i attached the capture file.. i would like the program DOESNT SHOW the question of
    replace the file!!. i would like directly replace the file when i push save.
    Thanks, i attached the vi.
    Attachments:
    options.vi ‏43 KB
    config.cnf ‏1 KB
    capture.GIF ‏43 KB

    Hi Dennis,
    Your 'write to sreadshhet mod' suprime the dialog of replace file or not!, i want when i push save, it show the dialog input name of file and show the default sim000 but when i push this sim000 and this file already exist, then show the dialog to replace or not, if i replace Ok not problem, but when i push cancel replace it shows error eof!!!.
    Your file, only remove this dialog and only replace the file directly.
    i put the capture, when i choose the file to save and the program say to me this file exist and it give me the option of replace or not,i want when i push cancel replace it continues running without get error.
    is it possible?.
    Thanks.
    Regards, Fonsi.
    Attachments:
    capture.GIF ‏71 KB
    example.vi ‏40 KB

  • Save physical channel information in a configuration file and reuse it in another VI

    Dear all,
    I would like to do a pair of VIs. The first VI configures all psychical channels and store the task information (or physical channel name information) in a file and the second VIs can access this file and use the saved information.
    Can anybody show me a good example of this type of application? I've prepare a simple code, but it does not work now. I am not sure if I am using the right functions.
    Attachments:
    Configuration.vi ‏18 KB

    You can use Measurement I/O>>NI-DAQmx>>Advanced>>DAQmx Utilities>>DAQmx Flatten Channel String, and DAQmx Unflatten Channel String.

  • How do I stop my iphone (4) from beeping when I plug it into power?  It's both annoying and disturbing to others when I do it late at night.

    Everytime I plug my iphone into power or if power goes and returns, it beeps loudly.  I can't find anyway to reduce the volume or disable the beep.  Searching previous threads suggests Apple finally addressed this issue (at least partially) with iPad, but nothing for iPhone.  I've disturbed people at night when I plug it in, so I'm really interested in getting this beep under control.  Any suggestions?

    Turn on the mute switch

Maybe you are looking for

  • PDF Submit not working in Chrome & Safari

    I have a PDF with form fields added as well as a submit button, The action on the submit button exports all fields to a page on the server as HTML. This works fine in Firefox and IE but does not work in Chrome or Safari. Is there any known workaround

  • Resetting of Internet Connection Every Time I Reconnect. PLEASE HELP !!!

    Hi! I have a MacBook running Mac OS 10.4.11 with the latest updates. Intel Core2 Duo @ 2.16 Ghz 1 GB RAM I am connected to the net via a wireless router (thru Airport) and PPPoE. Recently, I have been having a problem. Each time I try to connect, the

  • Changing the Profit Center on aa WBS after actual costs are posted

    We are changing the structure of Profit Centers; within this activity, we have to assign some WBS to a new PC: the system issues a warning because some costs are already posted, then allows the modification. After the modification, new postings are l

  • ACCESS TO BUSINESS SYSTEM ACCESSOR FAILED

    Hi,          We have recently added a new server in our SLD, So, for that I have asked the Basis team to create a new technical system, Business system ....its been created in SLD but when I try to assign(assign new business system) it in Integration

  • EPM HW requirements

    Dear Experts, I would like to install the following EPM components on a test environment, so would you please advice on the HW requirements and whether i could install them all in one server or shall i separate them. From the documentation i can find