What should the code be?

the following is the code to throw an exception, what should be in the if stmt?
String L=lecArea.getText();
if(L==null)

Hmm...
One of these must be true about the poster:
A) just a troll hoping to get a flame (it worked)
B) someone who takes no offense where offense was intended and has now gone on to look at tutorials (either a fool or just way too mild-mannered)
C) even more stupid than I originally thought he was
My guess is: A

Similar Messages

  • In BSP-HTMLB what is the code for auto refresh.?

    Hi friends,
    In BSP-HTMLB what is the code for auto refresh.?
    Means i gave the input every 2 minutes once my output should get refresh.
    So what is the code in bsp-htmpb?
    Moosa

    Hi Moosa,
    Many threads on this topic...
    [Auto Refresh - I|Auto refresh]
    [Auto Refresh - II|Auto-Refresh for BSP page]
    [Auto Refresh - III|Page refresh.....]
    Search the forum for more information.
    Regards,
    Anubhav

  • What Should the template form have ?

    What Should the template form have ?
    Object Library ; which has the most common used inherited triggers ?
    and ???
    Regards,
    Abdetu...

    If you look at the form of the standard object library (OFGWEBOL.fmb) you will see that there is no code (except for a few program units). The OL is really meant for look and feel kind of stuff.
    Also, it is far easier to maintain code in a pll library.

  • What should the"default behavior" be for WiFi network connections?

    I Have been able to at least temporarily fix the plethora of problems encountered after downloading Mountain Lion to my 2009 17" MBP just ten days ago.  Thanks to the time and effort of so many posters that are much more savvy than me, I successfully executed the steps suggested in many of the posts and with good results.  It surely beats running down to the Apple store and being told that I am the only one with a problem.
    Okay,  I've  realized that I don't really know what the default behavior of the WiFi network connection should be? 
    Specifically:
    Should the Wi-Fi drop down in Network always be" looking for networks", even though I am obviously on my Network?
    Should the Wi-Fi be connected at all times even when your computer is in sleep mode- or deep sleep mode?  There have been so many problems with Wi-Fi dropping off,slow or hanging loads, etc.
    I unchecked "ask to join networks, in Network preferences thinking it might stop looking for networks when it doesn't need to because I'm already on mine.  I do see my neighbors (four neighbors) in the drop down in Network. 
    How do you get into Time Capsule's settings, to check speeds, especially ping?  What should the ideal settings be?
    How do you know if your DHCP license is renewed? I've heard that feature isn't working and may be the culprit to some of the Wi-Fi problems.
    I'll look forward to your help in understanding more about this.  I've been in the support  area a lot lately, I've read plenty of definitions, and explanations of the different options to choose from in Apple's support area, but nowhere have I seen anything that explains what the default behavior should be or perform  like. 
    Thanks, as always.

    Generally, you don't want to tweak the wifi settings. It pretty much takes care of itself. The caveat to that is, of course, if you're experiencing problems.
    The 'looking for networks' behaviour only happens when you log in, wake the mac from sleep OR when you click on the wifi icon. You clicking on it tells the mac  "I want to see what networks are available" - so it does a scan for you to check to see if any new networks have appeared since you last clicked on it (or woke/logged in). In short, if you don't want it to look for new networks, don't click on the icon!
    Unchecking the 'ask to join networks' option only applies when your mac detects a new network (such as when it wakes) that you haven't already authorised; it'll ask you to confirm whether you want to join it or not. Otherwise, if the network is open it'll join automatically. You should keep this selected if you travel around with your Mac. It's a good idea to know what network you're on before you start plugging in passwords or typing other things into the mac.
    There is a utility that you can use for ping and traceroute called 'Network Utility'. Click on the Spotlight icon in the top right of your screen and type "Network' and you should see it at the top of the list. Hit 'return' to open it.
    DHCP licences are normally renewed automatically by your router every 24 hours. Again, there's no reason to be messing about with that unless you're experiencing problems.
    If you're experiencing wifi dropout, let us know, and we'll make some suggestions, but if you're not, you're best leaving your mac to manage the background processes. It knows what it's doing!
    Message was edited by: softwater

  • What should the settings in Preview be if scanning documents and the faxing them

    I'm trying to scan documents using preview and my printer. Once I scan the documents, I save them in dropbox and later fax them using SFax. However, the faxes are coming out blurry and very difficult to read. What should the Preview settings be on? PDF? File Format? How many dots per inch? What are standard settings?

    I am a recently retired webmaster and fortunately have fewer eye problems than most people my age. I have astigmatism and, in common with most people over 40, have reduced accommodation. Perhaps because I have spent considerable time in front of computer screens my eyes focus most easily at screen distance. I use low power long distance glasses to watch television and drive after dark. I use low power reading glasses for small print such as maps and repairing small items. Most of the time I don't need glasses.
    There is no such thing as standard settings for font size or style. It is entirely a matter of personal preference.
    Here are my settings:
    34cm x 27cm Apple Studio Display set to millions of colours and a resolution of 1280 x 1024
    Safari 'standard' font set to Geneva 14
    Safari fixed width font set to Courier 14
    Default encoding set to Western (ISO Latin 1)
    Minimum font size set to 10
    Geneva is a very old Apple font optimised for screen use. I still find it more readable than other fonts under a wide range of conditions.
    I assume you know about Zoom settings to override the above:
    cmd + to increase size
    cmd - to decrease size
    cmd 0 to return to 'normal' size
    I set 'Zoom Text Only' on the view menu.
    You can also create your own style sheet to obtain even more control. Here is a Google search link about these:
    https://encrypted.google.com/search?q=browser+%27style+sheet%27+%27visually+impa ired%27&as_qdr=all&newwindow=1&num=100
    I have written many style sheets but not for visually impaired. I am happy to assist if required.

  • What should the default tablespace be for SAP users

    I'm using Oracle 10.2.0.4
    For the users
    OPS$<SID>ADM
    OPS$ORA<SID>
    SAP<SID>
    what should the default tablespace be
    PSAP<SID>USR or PSAP<SID>

    Hello Bill,
    > For the users
    > OPS$<SID>ADM
    For this user the default tablespace is SYSTEM
    > OPS$ORA<SID>
    For this user the default tablespace is SYSTEM
    > SAP<SID>
    For this user the default tablespace is PSAPPRDUSR
    Regards,
    Federico Biavati

  • Recording external synth/drum machine - What should the highest peak be?

    Hi,
    When recording the audio from an external synth/drum machine what should the highest peak be? At the moment I have been recording as loud as possible without clipping but is it better to leave a few DB of headroom if using compressors etc afterwards?
    Thanks for the help.

    It is good practice with all audio tracking to have it peaking at around -6. I sometimes aim for around -9 when tracking.
    make sure you are recording at 24bit. Your peeks can be -18 and you wouldn't suffer too much.

  • What is the code to get the  Label of  radio button item at runtime?

    Hi All
    I am working on forms 10g(version 10.1.2.0.2 ) with Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 on windows 2000 platform.
    My requirement is to dynamically get the label of the radio button item in a radio group.I am able to get the label of the radio group as shown below
    Item :Radio group
    Label : Gender
    IF m_type = 'RADIO GROUP' THEN
         m_label:=Get_Item_Property(m_Item ,label);
    END IF;
    There two Radio buttons inside this radio group which are
    item     : Radio button
    Label : Male
    item :Radio button
    Label :female
    What is the code to get the label of radio button(i.e) male and female ?
    How will I get the count of radio buttons in a radio group at runtime?
    Regards
    Mohan

    But you have to provide the button name which cannot be get at runtime.
    This is a lack of information that the Dev team would correct !
    Francois

  • In CRM 2007 what is the code behind the Navigation bar?.

    In CRM 2007 what is the code behind the Navigation bar?.
    Jason

    It might be in component CRMCMP_NAVBAR. However, so far I have been unable to get a break point to activate. Ideally on choosing an option from the navigation bar, like Service ticket, I would like the debug session to start before call the Service Ticket component.
    This is all in the aim of trying to determine why the initial startup of the Service Ticket is so slow.
    Jas.

  • I have receive my new ipad 2 last wek and found scratched behind.what should the steps to cliam at JB area

    I have receive my new ipad 2 last wek and found scratched behind.what should the steps to cliam at JB area

    The iPad was sealed in the box when I got it. It had the plastic screen protector wrapped all around it and when I powered it on for the first time it displayed the "connect to iTunes for setup" message displayed. The only other thing I can think of is if the person I bought it from had ordered it through Verizon on and the iPad was set up on a number on his pre-existing verizon account. My question is should I just keep using it and consider myself lucky? Since there is no way for Verizon to charge me for the usage because I never signed a contract. I realize that if it is on the account belonging to the person I bought it from, they will eventually figure this out and shut it off. But I might as well use it in the meantime right?

  • To imprt  full 9i to 11g what should  the exp parameters

    to imprt full 9i to 11g what should the exp parameters,fist time it was given error some objects r created how to
    import the remaining data, it will support to importing remaining data

    That would be a parameter for import only and not the export.
    Use IGNORE=Y in the import command (that would prevent the object existence errors but not the data duplication errors).

  • What should the multicast rate be set at?

    what should the multicast rate be set at in the wireless options box?
    mine was set at the default of 6 Mbps but could be set higher: 9, 12, 18 & 24Mbps.
    Any care to explain what it does?
    Regards Simon

    That sets the minimum date rate which is valid for a connection. If a connection can't maintain that rate, the connection will drop.
    A side effect of setting it higher is that your usable range will decrease. You will need to be closer to the base station to maintain a higher data rate.

  • What is the code to disable right click and where do I put it in reference to an image?

    What is the code to disable right click and where do I put it in reference to an image?

    There is no sure way to prevent people from right clicking on your webpage or taking images.  This will tell you how:
    http://www.dynamicdrive.com/dynamicindex9/noright.htm
    Now if I have javascript disabled visiting your site, I can easily get around this because the code will not execute.  Also I can simply view the source of your website and get the images.  My suggestion to you is to rethink this because all you will end up doing is annoying visitors and make them want to get your images even more.  The more you block people from something the more they want it.  It's like telling a kid they can't have candy or something then they want it more.

  • My sound no longer works on my Apple 5c cell phone.  What should the settings be?

    My sound no longer works on my phone.  What should the settings be?

    What do you by "what should the settings be?  Volume is either up or down.

  • What is the code for a proscan tv-dvd for a sony rmt-d197a remote control

    trying to program a sony dvd remote to turn on and off my proscan tv-dvd combo. the dvd no longer works. is that possible and what is the code for e proscan tv dvd combo?

    Unfortunately, the RMT-D197A remote control is not programmable. It only works with the DVD player it comes with.
    If my post answers your question, please mark it as "Accept as Solution"
    http://bit.ly/Win-4K

Maybe you are looking for