Togglebutton looses its behavior when is added to a buttongroup

what i wanted to do was to have several toogled buttons, but when one is clicked the others buttons sets their position to out, so i added them to a buttongroup, but now i cant change the position of a button from in to out, ej.
if a click a button its remain pressed thats ok =) "in position"
if a click other button its changes its state to in and the others button sets their position to out, thats ok again.
but if a click again the button that its position is in it doesnt change its position to out :S as a normal toogledbutton :S... any ideas?

any ideas? yes, stick to the one thread
http://forum.java.sun.com/thread.jspa?threadID=5155573&messageID=9588068#9588068

Similar Messages

  • My Thunderbolt Display looses its picture when connected to a new 27" iMac?

    Does anyone else have this problem?  It works fine when connected to my air...

    Is your 2.6 the CTO upgrade from the high end 2.3 15"?
    Yes, both will work under OSX and Windows. One note, when you boot Windows, you need to unplug the USB from the LED Cinema display or Windows will not boot. Once booted, then plug the USB back in to regain brightness, etc controls.

  • Why does my iphone4 loose its signal when i connect to a 3 way car adapter

    I have a 3way car adapter that should let me hear music, telephone calls and gps voice through my car radio and charge the phone.It works for music and gps but not for the phone as the cell signal drops off as soon as the assessory powers up. it has a built intransmitter 88 to 107 freq.my phone is an iphone 4.
    Thanks for your views on this

    Ask whoever made this mysterious "3 way" adapter.

  • Why does FCP looses its source file reference when files are copied

    Why does FCP looses its source file reference when files are copied from another project??
    i have this happen all the time, I move all my media to another drive and files that originated in another project do not reconnect because they have lost there source?
    Any way to fix this mess? i am in the middle of reconnecting 400 files by hand one at a time!!!
    Thanks, mark

    Because you changed the file path. From one hard drive to another...the hard drive name is no doubt different, and then if you have the files in different folder structures then yeah, it will lose the connection to that media.
    Best thing to do is to clone your media drive, or name the other drive the same name, and keep the exact same file structure (folders in folders) as the original drive. Then you won't need to reconnect.
    Shane

  • HT4859 does anyone have any idea how one can keep their data on iPad after leaving icloud as it appears that you loose all data when doing this...its killing me!!!

    does anyone have any idea how one can keep their data on iPad after leaving icloud as it appears that you loose all data when doing this...its killing me!!!

    rtilghman wrote:
    telling me to buy a new router is NOT a solution.
    And why not? Apple is selling these things like BigMacs. They can't make enough of them. You've been suffering since May because you refuse to get a decent router.
    Can you imagine if a company that makes a refrigerator told me that I needed to upgrade my electrical system to rectify a problem with their device? What kind of response IS that?!?!
    What if the problem with their device is that it requires a new-fangled "grounded" outlet and your circa 1890 house doesn't have grounded outlets. Would you refuse to purchase a $ 25 adapter on principle?

  • Applet looses its focus in IE

    Hello, all!
    I working with applet that will be used as a simple code editor with highlighting of different programming languages.
    This applet based on JTextPane wrapped in JScroll pane. When I test this applet with java applet viewer - all works fine, but now I embedded my applet into html page and try to test it in "live" conditions using IE browser.
    When I press TAB key inside of JTextPane the appled looses its focus instead of simply insert an indent as it should be.
    Interesting, that this problem reproduces only under IE (in Firefox it works properly).
    Maybe someone knows how to workaround this problem?
    I'll be very thankfull for answers!
    With best regards,
    Andrew.

    Thanks for all who participated in resolving of my problem. It's eventually has been resolved by myself.
    The solution was very complicated and looks like unskilful workaround, but it was one, which really helped.
    So now I just want to describe it, maybe someone else will faced the similar problem.
    First I added to main class of applet following public method (for manual handling of tab key):
    public void handleTab() throws Exception{
         textPane.grabFocus();
         Document doc = textPane.getDocument();
         doc.insertString(textPane.getCaretPosition(), "\t", null);
         textPane.setCaretPosition(textPane.getCaretPosition() + 1);
    }After that I simply can invoke this method from JScript. So my wrapping page can be like this:
    <HTML>
    <HEAD>
    <BODY>
    <APPLET CODEBASE="." ARCHIVE="editor.jar" CODE="editor.applet.EditorApplet.class" NAME="editor" WIDTH="640" HEIGHT="480" MAYSCRIPT >
    </APPLET>
    <INPUT name="stub1" type=text onfocus="editor.handleTab();" style="position:absolute; top:100; left:100;">
    <INPUT name="stub2" type=text onfocus="stub1.focus();" style="position:absolute; top:150; left:100;">
    </BODY>
    </HTML>I know, this looks little bit strange, so let me clearify some details and aspects of IE behavior.
    - When I press TAB, focus goes to "stub1" input box, which invokes 'editor.handleTab' immediately. But inspite of focus was grabbeg back by applet (invoking textPane.grabFocus()), it is ALSO REMAIS IN BROWSER in inputbox. So when I press TAB again, focus moves not to "stub1" again, but to the next flow control "stub2". So in this case "stub2" must return the focus to "stub1". It is like chain reaction ;-)
    - both input box stubs has an absolute positioning and simply hidden under the applet, so all these manipulations are invisible for end-user of applet and looks like 100%-natural behavior of any editable text area.

  • Strange behavior when I try to match a mpeg2 video with the menu size image

    hello all,
    got a strange behavior when I try to match a mpeg2 video with the menu size image,
    menu size is 1920 x 1080 (photoshop file)
    mpeg2 video 1920 x 1080 (1second 19 frames)
    the idea is to go from the menu link to the next sub menu with a video as transition, using the same image on the video as the menu and then zooming in (in my case through a door) to end up after the zoom in the next level menu.
    I try to achieve a smooth change from the first play menu picture to the video image into the next level menu picture,
    everything works good but when I watch it on the preview mode on the left and right side of the video it shows a black bar at least 15 to 25 pixel wide, that means the video image appears smaller and it causes a little jump what is preety disturbing and can not be sold as a professional work.
    why encore treats the video size and picture differently?
    it's gratful appreciated if somebody who got experience in a transition I mentioned obove posting any solution,
    thankl you all

    Hi all
    I'm having a very similar problem with Encore. My menu items are distorting (a minor but infuriating squashing top and bottom) when previewed.
    Using Encore,PS,AE CS4
    DVD format SD PAL DV widescreen
    I created 3 menu frameworks and 3 video transistions to link them in AE. On the final frame of each transistion in AE I saved the frame with Composition>Save Frame to> Photoshop Layers. In PS i added the button functionality and saved.
    In Encore I use Dynamic link to import AE transistions as timelines and imported each PS menu twice, once as "menu" and once as an asset.
    When I link the timeline transistions to the menu and preview at the point the menu begins the whole image is squashed. When the next transistion is activated the image returns to its original size.
    Thinking it was the use of PS that was causing the menus to distort I used the menu asset directly in the time line. Obviously no menu functionality but also no distortion. The AE transistion flowed straight into the "menu" just as I expected.
    In the properties panel the menu Aspect Ratio 16:9
    The AE transistions PAR is SD PALwidescreen 1.4587.
    I did try the Blu Ray suggestion above but the same distortion was apparent.
    Any suggestions short of squashing the video to match the menu would be welcomed.
    Thanks

  • I've found that middlemouse.contentLoadURL feature has changed its behavior in FF5.0 as compared with previous versions

    I've found that middlemouse.contentLoadURL feature has changed its behavior in FF5.0 as compared with previous versions: I now can paste&load only full urls that start with "http://" prefix, but previously it was possible to paste&load any url even without protocol prefix. It is very useful when someone has an url for example just "support.mozilla.com", but with FF5.0 one _has_ to paste it to urlbar instead of just middle-clicking into the browser window (long standing and usual *nix behavior). How can I make middlemouse.contentLoadURL load any clipboard content not prefixed with protocol specification?

    Oops, already found a solution: https://support.mozilla.com/ru/questions/824759
    But, how could it be done via something less freaky (ala about:config)?

  • Behavior when typing 'Enter' in h:inputText

    I am seeing the following behavior:
    When a user types the 'Enter' key when a h:inputText has focus, the page seems to behave as if the user clicked the first button added to the page. (In my case this is a 'Cancel' button that clears data and causes navigation to another page. Many users are used to hitting 'Enter' when the have finished inputting text - so the 'Cancel' behavior would not be a pleasant suprise.)
    My questions are:
    1) Is this supposed to happen when 'Enter' is typed in a h:inputText?
    2) Can I change this and how?
    3) I would like it so hitting 'Enter' does nothing (better would be to move to the next h:inputText) Can this be done and how?
    Any info regarding these specific questions or generally how key interactions work with jsf/Creator would be appreciated.

    You can do this using JavaScript:
    Specify the onkeypress of the inputText like this:
                                    <h:inputText binding="#{Page1.tfSearchString}" id="tfSearchString" onkeypress="return onEnterSubmit(event);" value="*" valueChangeListener="#{Page1.tfSearchString_processValueChange}"/>The in the head part of your page, add the following javascript:
                    var ie4 = false;
                    if(document.all) {
                        ie4 = true;
                    function onEnterSubmit(event) {
                        if (ie4) {
                            if (window.event && window.event.keyCode == 13) {
                                document.forms['form1']['form1:btnRefresh'].focus();
                                document.forms['form1']['form1:btnRefresh'].click();
                                return false;
                            else
                                return true;
                        else
                            if (event && event.which == 13)
                                document.forms['form1']['form1:btnRefresh'].click();
                            else
                                return true;
                    }This assumes you have btnRefresh as the name of the submit button, and you want it clicked on enter key press. Else just comment out the part with the .click()/focus() to prevent any action on Enter key press.
    Also, you can focus on any other textField in the page with the enter by replacing the click()/focus lines() with document.forms['form1']['form1:tfName'].focus()

  • [svn:cairngorm3:] 21050: Popup: The default behavior when an Event. CLOSE is dispatched through the popup component should be preventable

    Revision: 21050
    Revision: 21050
    Author:   [email protected]
    Date:     2011-04-09 16:22:58 -0700 (Sat, 09 Apr 2011)
    Log Message:
    Popup: The default behavior when an Event.CLOSE is dispatched through the popup component should be preventable
    https://bugs.adobe.com/jira/browse/CGM-59
    Popup: The write-only behaviors property can not be used with states
    https://bugs.adobe.com/jira/browse/CGM-55
    Ticket Links:
        http://bugs.adobe.com/jira/browse/CGM-59
        http://bugs.adobe.com/jira/browse/CGM-55
    Modified Paths:
        cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpBase.as
        cairngorm3/trunk/libraries/Popup/test/com/adobe/cairngorm/popup/PopUpBaseTest.as
        cairngorm3/trunk/libraries/PopupTest/.actionScriptProperties
    Added Paths:
        cairngorm3/trunk/libraries/PopupTest/html-template/
        cairngorm3/trunk/libraries/PopupTest/html-template/index.template.html
        cairngorm3/trunk/libraries/PopupTest/html-template/playerProductInstall.swf
        cairngorm3/trunk/libraries/PopupTest/html-template/swfobject.js

    Hi Shweta,
    as i discussed with you to update the script code
    <html><script> function closeWindow( ){       top.close( );     }                  </script><body><form> The application was logged off successfully. <br><input type="button" value="close window" onclick="closeWindow( );" /></ form></body></html>
    in sicf transaction for your component.
    it will work (close the window).
    dont forget to give me points
    all the best...
    Rgds,
    Mahesh.Gattu

  • Saw a poss solution to my prob of loosing tab groups when closing firefox It read ". Edit Preferences Privacy "I can't find prefernces under the edit menu"

    Firefox V30.0
    I saw a poss solution to my prob of loosing tab groups when closing firefox It read ". Edit > Preferences > Privacy "I can't find references under the edit menu" so cannot attempt the fix offered?

    Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts.
    The user.js file is only present if you or other software has created this file and normally it wouldn't be there.
    You can check its content with a plain text editor (right-click: Open with) if you didn't create this file yourself.
    The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.
    Delete a possible user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    See also:
    *http://kb.mozillazine.org/Preferences_not_saved
    App (pinned) tabs and Tab Groups (Panorama) are stored as part of the session data in the sessionstore.js file in the Firefox profile folder.
    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox profile folder that store session data.
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Multiple_profile_files_created
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost and you will have to recreate them (make a note or bookmark them if possible).

  • How to move an object with its animation path, without adding a new keyframe?

    Hi,
    If I create an object which has a keyframe animation, how can I change its location/scale without adding new keyframes? That is, I want to move the whole thing with all its animations & keyframes as a single entity.
    thanks
    Arun

    Hi,
    big thanks for that. Unless Im doing something stupid when I did that it made a new copy of the object but did allow me to place that new instance elsewhere.
    Is there any way just to move an object and its path without making a new copy?
    All the best
    Arun

  • My Mac air keeps on loosing wifi and when I want to switch it on! It says wifi hardware not installed.  After about 5 minutes the wifi is back on, but only for about 10 minutes before loosing signal again.

    My Mac air keeps on loosing wifi and when I want to switch it on it says "wifi hardware not installed"  After about 5 minutes the wifi is back on, but only for about 10 minutes before loosing signal again.  This is really frustrating.

    I am also having the same problem.. Its too much annoying and its unfortunate nobody at apple support has anyclue of what is happening?
    ... This is happening almost most of the time keeping my phone down most of the times.

  • Premiere CS4 looses its memory

    My Premiere CS4 (4.1.0.) sometimes looses its "memory" of the last opened project - meaning that at the opening screen, when usualy the last project is offered to be opened again, there are no projects anymore. So I have to go over the button "open project". That wouldn't be a big deal but there are other things which are lost too, as example the keyboard settings and sometimes some already used files were be analyzed newly (e.g. mp3 files).
    Has anyone any idea what could be the cause of this behaviour? Strangely the phenomenon does not always occur but I have not find out yet, when it occurs and when not. Any idea?
    Thanks for your help!
    PS: working with vista64bit, SP2, working on a WD-Velociraptor-system-HD and my projects on a RAID-10 with 4 HD, 8GB DDR-2 RAM, CPU Quad9550

    Thanks everybody for your help and your suggestions.
    @Jeff - no, I'm always logged in with the same account - and I'm also the only user on the machine - so I don't think this is the reason.
    @AndreyV - possible, but as far as I know, I don't have any cleaning tools working in the background
    @ the_wine_snob - I don't think, that it's a problem of Windows, because all other applications run properly - the last opened word and excel documents are always remembered normaly, so I think...
    @SFL46' suggestion could be the cause of my problem  - in fact I do have the folder "my documents" (and in it the PP.prproj-files) at a diffrent location than Windows Vista usually puts it. I moved it to my RAID-drives (instead of the system drive c where usually the "user"-folders are located). I never had any problems with PP CS3 or the earlier versions, but that could be the reason of this behaviour (specially because PP doesn't always looses the last opened documents). I will move the prproj-files to the user-folder on the system drive and will report my experience here.
    Thanks!
    Phil

  • I have all my music on an external media drive that has crashed. How can I get the music of my ipod touch back onto the comupter without loosing the music when it syncs?

    I have all my music on an external media drive that has crashed. How can I get the music of my ipod touch back onto the comupter without loosing the music when it syncs. in order to start rebuilding my music collection?

    You should be able to recover the media with the tips in  this post from forum regular Zevoneer but I'm not sure what the implications are for your application settings. You can probably transfer your purchases into a newly authorised library, backup the device, recover any other media using third party tools, then restore the device from the backup. That should switch the assocation of the device to the new library but it is not something I've personally tested.
    When you get it all working, make a backup!
    tt2

Maybe you are looking for