Why JRadioButtob.setSelected(boolean) doesn't work?

I implement an inner class claaes ControlPanel, subclass of JPanel, which have a GroupButton of two JRadioButtons. The state of the JRadioButton will be changed according to the selected item from a JList. My code structure as follow:
public MainClass{
MyJList.addListSelectionListener(new ItemSelectionListener(){
public void valueChanged(ListSelectionEvent ..){
myControlPanel.b1.setSelected(true);
}//end of main class
//inner class
class ControlPanel{
ButtonGroup myGroup = ;
JRadioButton b1 = ;
JRadioButton b2 = ;
myGroup.add(b1);
myGroup.add(b2);
anybody help me. Thanks!!
Qi

did you initialize b1 before you call setSelected(true)?

Similar Messages

  • Why some contact forms doesn't work on some websites? We don't receive the submission form with the information?

    Why some contact forms doesn't work on some websites? We don't receive the submission form with the information?

    Hi Aish
    I wanted to check the following, but the URL is not found, you have another one?
    thanks
    Nicole
        4. Visit http://my-site.com/scripts/form_check.php in a web browser and make sure you see all green checkmarks. If some items do not display green checkmarks that means that the hosting server is not configured correctly to allow the Form widgets to send email messages to the address you've specified.
                    Contact your web-hosting provider about the server configuration problem. Describe the items that are not marked as green in the form check page, so that they can help you set up the servers to use the correct settings.
    Il giorno 9-set-2014, alle ore 16:11, Aishvarya Raj Rastogi <[email protected]> ha scritto:
    Why some contact forms doesn't work on some websites? We don't receive the submission form with the information?
    created by Aishvarya Raj Rastogi in Help with using Adobe Muse CC - View the full discussion
    Hi Nicole,
    What is the "From" email address in your form?
    Also, have you checked the spam folder?
    Please check the following posts as well :
    https://forums.adobe.com/docs/DOC-3581
    Re: PHP mail may be disabled or incorrectly configured on the web server.
    Regards,
    Aish
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6714281#6714281
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Help with using Adobe Muse CC by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Why the italic function doesn't works in my Pages? I have already installed the actualization and it keeps not working...

    Why the italic function doesn't works in my Pages? I have already installed the actualization and it keeps not working...

    drag the other clip 'over' the main clip
    the 2nd clip has to be selected/yellow border...
    then you're prompted in the Inspector with the several options...

  • Why does my n81 doesn't work properly in Vodafone ...

    Why does my n81 doesn't work properly in Vodafone Live?? I can't download....etc

    Hi,
    I'm sorry to hear that you're having problems downloading from Vodafone Live.
    If you're able to access the pages of Vodafone Live then the settings in your handset are correct else you wouldn't get that far.
    It's possible that there's a problem with your account that’s restricting you from downloading which will need to be looked into. Rather then transferring your account details on the forum would it be possible for you to contact me via email by completing Vodafone Online Contact Forum following the link below.
    https://online.vodafone.co.uk/dispatch/Portal/appmanager/vodafone/wrp?_nfpb=true&_pageLabel=Page_Hel...
    Please fill in all the fields and include the code FIT135 to ensure that the email is directed to the forum Team.
    As soon as we receive your email we can look into this further for you.
    I look forward to hearing from you.
    Techgirl
    Vodafone UK

  • Why forum home page doesn't working?

    Hai friends, can anyone tell me why this forum homepage doesn't work properly and it shows Opps the page can't find error.

    -> See these:
    * http://www.ehow.com/how_6609141_remove-bearshare-spyware.html
    * http://www.fanhow.com/answers/question-77222-how-to-delete-bearshare-search-from-firefox
    You can look for a "Mediabar" program under "Control Panel > Programs and features"
    -> See also these forum threads about BearShare:
    * https://support.mozilla.com/en-US/questions/762144
    * https://support.mozilla.com/en-US/questions/700250
    Check and tell if its working.

  • Why javax.security.* doesn't work for me ?

    I am newbie in Java. Recently I met a problem which confused my a lot. I am a class named CSecurity which can throw LoginException. Code sample is
    public class CSecurity
    userLogin() throws LoginException
    When compiling it, "unresolved symbol - Can't locate LoginException class" error message appears, although I put "import javax.security.*;" in the front. Compilation succeeds, if I change it to "import javax.security.auth.login.LoginException;". My question is why character "*" doesn't work at all, since it is supposed to work. I assume "import javax.security.*;" should import all class under security branch. Am I wrong about this ?
    Regards,
    WenBin

    when you import * it doesn't import sub packages, only the specified one.
    so you would need to do..
    import javax.security.auth.login.*;

  • Juuuust in case you are wondering why your bass bin doesn't work in

    you need to go to the THX SETUP CONSOLE and "Enable Bass Redirection"
    because this isn't set by default!!!
    [img"]http://img54.imageshack.us/img54/999/bassyc5yk7.gif">

    Hi,
    Whenever you have a question, it helps to post:
    (1) The version of Oracle (and any other relevant software) you're using
    (2) A little sample data (just enough to show what the problem is) from all the relevant tables
    (3) The results you want from that data (If you're asking about a DML statement, such as UPDATE, this will be the state of the tables when everything is finished.)
    (4) Your best attempt so far (formatted) (You posted this, but since it's unformated, it's very hard to read.)
    (5) The full error message (if any), including line number.
    Executable SQL statements (like "CREATE TABLE AS ..." or "INSERT ..." statements) are best for (2).
    If you can present your problem using commonly available tables (for example, tables in the scott schema, or views in the data dictionary), then you can omit (2).
    Formatted tabular output is okay for (3).
    I'll bet you know something more specific about the problem than "it doesn't work", such as an error message or wrong results. Why not share that information?
    One possible problem is that the sub-query sometimes finds more than one matching row, so it returns two (or more) courtNotes. If it does that, which one do you want to use?

  • Why my airplay mirror doesn't works? when I tap in the button mirror, it closes automatically and return to the task bar

    Hello supporters, I have an ipod touch 5 blue with ios 7 in his last update, and when I connect my pc to my ipod with REFLECTOR to mirror with AIRPLAY it closes automatically in my ipod. I mean... ALL is connected, the router wifi, internet, and reflector on pc is open.... When I press the button of AIRPLAY on my IPOD TOUCH 5 on IOS 7 it let me choose a few options: Ipod touch; and my PC... When I choose MY PC it let me to enable the MIRROR button... When I press the MIRROR BUTTON, it closes automatically all the menu and returns to the task bar and when I try then the same thing later now the menu doesn't closes but when I tap on my AIRPLAY DEVICE "PC" it doesn't selecct, I cant select my pc, and I can see it on the airplay devices in the menu... In conclusion I cant set up my airplay mirror. Why? I think all its working great on my ios device and with my pc.. I said that cause all the people on youtube and on the internet can run it perfectly with that software and I can't! Hope you can help me soon

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • Why the msn messenger doesn't work on iphone

    why msn messenger doesn't work with my iphone

    M$ will never give code to people to compile it for the iPhone (M$ hates open source stuff) and they probably want people to use Windows Mobile, of which MSN is a feature.
    Mercury/aMSN may one day be ported to iPhone (when Apple does the SDK in Feb) and Apple may even do an iChat for it. You can still use web-based communicators in the meantime.
    Also, you may be surprised to know your iPhone functions as a phone - why not call the people you wanna talk to?

  • Why Adobe Flash Player11 doesn't work in IE?

    I don't want sending messages.  Just make the Player work in IE.  That's all I want!

    I don't know what "doesn't work" means; please explain.
    Also check
    http://forums.adobe.com/thread/885448
    http://forums.adobe.com/thread/867968

  • Urgent! please help: why socket.setSoTimeout(ms) doesn't work precisely

    I wanted to set timeout for the sockets accepted by server as:
    Socket socket = server.accept();
    socket.setSoTimeout(5);
    Since I want the server to process next request (another thread) as soon as read block happened on the current one, I set the timeout to be extremely short. But it doesn't work. I intentionly blocked my testing client and timed my first .read() method from server. 200 ms actually escaped, no timeout happened. What could be the problem?

    You can't really expect processors to be that fine-grained. There are multiple factors:
    1) other apps are running (such as the OS), consuming processor time as well
    2) processor speed
    3) etc.

  • Why the serial number doesn't work?

    Since updating from lightroom 5.4 to 5.5 the serial number - also visible in "My Products" (My Adobe) - doesn't work. I shall contact the support... Who can help me?

    Hello Aiko80,
    did you try these links too?
    Error "This serial number is not for a qualifying product" | CS6, CS5.5, CS5 >>> Contact Adobe Customer Care for help unlocking your serial number.
    If your problem stillresits you should use
    http://helpx.adobe.com/contact.html >>> Lightroom >>> http://helpx.adobe.com/contact.html?step=LTRM_downloading-installing-setting-up_licensing- activation and click through the headlinses till the chat is offered (see screenshot):
    and if "open" please use chat, I had the best experiences. I quote from Preran: The chat button is activated as soon as there is an agent available to help.
    Good luck!
    Hans-Günter

  • Why "start abc.doc" doesn't work in my java code

    Hi there:
    I used Runtime.getRuntime().exec("start abc.doc") to view the file in my java code, it doesn't work, but it works when I type in this at command line, could anybody help me out, super thanks in advance.
    Regards

    Hi there:
    The exception is
    java.io.IOException: CreateProcess: start "c:/temp/desktop/bob/data/abc.doc" error=2
         at java.lang.Win32Process.create(Native Method)
         at java.lang.Win32Process.<init>(Unknown Source)
         at java.lang.Runtime.execInternal(Native Method)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at desktop_v1_f.novell.io.IOManager.showFile(IOManager.java:42)
         at desktop_v1_f.novell.core.MainDesktopManager.showFile(MainDesktopManager.java:74)
         at desktop_v1_f.novell.gui.Surfboard.openF(Surfboard.java:267)
         at desktop_v1_f.novell.gui.Surfboard.detailsTable_mouseClicked(Surfboard.java:283)
         at desktop_v1_f.novell.gui.Surfboard_detailsTable_mouseAdapter.mouseClicked(Surfboard.java:320)
         at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)

  • Why Premiere Elements 10 doesn't work smoothly?

    First  of all I am using Windows Vista 32 bit (on a HP Pavilion dv6).
    Actually it happens lately that the software video screening doesn't work properly smooth so that i cannot see the video into the software and i must export it if i want to see the result. It stops, that makes working impossible.
    By the way, since two weeks, when i open the software, a screening tells me that i have to update the video card, if i want better performances.
    If i click "OK", Premier however starts, but it doesn't work smoothly, like i told. The ironic fact is that i had already update the version of video card, so i've got the february version.
    So my question is: what do i have to do? have i to change my video card? Or what else?
    Plese help me
    Thank you
    Riccardo

    Riccardo Pesare
    To help others following your Premiere Elements 10 Windows Vista 32 bit issue, I am posting the link to your recent thread in which we discussed the matter and went through troubleshooting.
    http://forums.adobe.com/thread/1259758?tstart=0
    The conclusion that I arrive at when the thread was ended,
    if
    a. you have the latest video card driver version according to the web site of the manufacturer of that video card
    and
    b. you have deleted the BadDrivers.txt file and still have the problem
    then
    this situation is indicative of replacing the video card with another supported video card
    (as per the comments of Daksha123 in the thread that I cited in our recent discussion of this matter)
    So in summary,
    if user is getting warning message : "We have detected an incompatible display driver. To get a better and faster playback performance, please update your display driver "
    1. User should try to get the latest driver for the card available on those systems,
    2. If user is getting same message again even after updating the driver, try to re-launch app after deleting BadDrivers.txt file,
    3. If even deleting “BadDrivers.txt” is not working and they are again getting same message, then that driver is really a bad driver for PRE9. PRE9 will run in pure software mode in that case.
    But, I wonder what would happen if you just uninstalled and then reinstalled the present video card driver?
    We will be watching for your progress.
    Thank you.
    ATR

  • Question: why the 802.11n doesn't work on my brand new MacBook?

    dear sirs,
    I've just found out that the 802.11n upgrade doesn't work for my MacBook 2 GHz Intel Core Duo. How come? Is it possible? What should I do to have it talk to my also new AirPort Extreme 802.11n at the same rate?
    Thanks in advance for your help.
    Tomaso

    Also on http://www.apple.com/airportextreme/performance.html it states:Most currently shipping Mac systems support the next-generation 802.11n technology in the new AirPort Extreme Base Station.2
    2. All Mac computers with Intel Core 2 Duo and Intel Xeon processors except the 17-inch iMac with 1.83GHz Intel Core 2 Duo processor support the 802.11n technology in AirPort Extreme. These 802.11n-compatible Mac systems require enabler software that is included on the AirPort Extreme CD.

Maybe you are looking for

  • No internet access from WRT54G router -see details please-

    I have a westell 6100 modem with Verizon high speed internet. I was given these instructions for my modem by Verizon for the router to work and it still doesn't. what do I need to do? 3. Click on Network Connections in the left navigation menu. 4. Cl

  • Adobe Acrobat Pro 9 Lion Printer Error

    My MacBook Pro came with Lion already installed. I installed a new copy of Acrobat Pro 9 and it worked fine... including printing to both my Canon Pixma and Brother Laser printers. I installed Lion 7.1.2 update and when I tried to print an Acrobat fi

  • Duplicate TV Shows on iOS 5 devices

    Hi, How can I fix/remove duplicate TV Shows when browsing from iOS 5 device (iPhone 4 and iPad) to Mac (iTunes 10.5)? Has anybody experienced it? Home Sharing works great for music and movies, except for album covers that occasionally get mixed up, b

  • Report 10g Crashed when i run report on spreadsheet

    Hi gurus, I am running report in 10g from a form its working fine when i set DESTFORMAT as PDF, but when i set DESFORMAT as SPREADSHEET the browser is crashing. could you please advise me why it is happening. same thing is happening in -windows XP pr

  • MSI PRO-E takes forever to autodiscover the SATA drives in RAID mode

    If I change the bios from IDE to RAID, it takes at least a minute to find each SATA drive during the post.   Any ideas?  The bios is at 8.2 so I'm wondering if a flash to 8.5 would help. Thanks, lavesa