If I need to call back a method more than once....

will this work?:
    methodname( /*Blah*/ ) {
        //What it does
    anothermethodname( /*Blah*/ ) {
        methodname();
    }

ok this is what i want.... since no one answered my
question and i dont know how to ask it
otherwise......
public void messageeverything(String recipients[],
String subject, String message , String from) {
boolean debug = false;
Properties props = new Properties();
props.put("mail.smtp.host",
.smtp.host", "smtp.jcom.net");
Session session =
on session = Session.getDefaultInstance(props,
null);
session.setDebug(debug);
Message msg = new MimeMessage(session);
InternetAddress addressFrom = new
ssFrom = new InternetAddress("");
msg.setFrom(addressFrom);
InternetAddress[] addressTo = new
ressTo = new InternetAddress[recipients.length];
for (int i = 0; i < recipients.length;
ents.length; i++)
addressTo[i] = new
dressTo[i] = new InternetAddress("");
msg.setRecipients(Message.RecipientType.TO,
ntType.TO, addressTo);
msg.setSubject(textf1.getText());
msg.setContent(passf1.getText(),
1.getText(), "text/plain");
Transport.send(msg);
}to fit in here:
public void actionPerformed(ActionEvent e) {
String texttry = textf1.getText();
if (texttry.equals("")) {
} else {
/*Fit in Here*/
So you put a call to your messageeverything() method and pass it all the parameters it needs. What happens? You say it's "not working". What does that look like? Doesn't compile? Compiles but blows up when you run? Compiles and runs but doesn't produce the e-mail note at the server you expected?
Where does that method get Session from? Is this part of a web app? If so, I'd say that messageeverything() method is badly designed. Looks like you're using the Java Mail API to send an e-mail, and there's no good reason that I can think of to couple it to the web tier this way.
%

Similar Messages

  • Why cant I call a getResultSet method more than 1

    Why cant I call the getRSS method more than 1 time from my page?
    I have a class called methods class, here is the code:
    public class methodsClass {
        public java.sql.Connection objConn = null;
        public String query = null;
        public java.sql.PreparedStatement statement = null;
        public java.sql.ResultSet objRS = null;
        /** Creates a new instance of methodsClass */
        public methodsClass() {}
         public ResultSet getRSS(String sql)
            String strSQL = sql;
            try
                Class.forName("oracle.jdbc.driver.OracleDriver");
                objConn = java.sql.DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:CCD","system", "Abcd1234");
                statement = objConn.prepareStatement(strSQL,ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
                objRS = statement.executeQuery();
            catch (Exception e)
                System.err.println("Error in getRSS method");
                e.printStackTrace();
            return objRS;
        public void killConn()
            try
                    objRS.close();
                    System.out.println("Resultset is closed");
                    statement.close();
                    System.out.println("Statement is closed");
                    objConn.close();
                    System.out.println("Connection is closed");
                catch(Exception e)
                System.err.print("Unable to kill all objects");
                e.printStackTrace();
    //END OF CLASS***************************************** I call the method from the following jsp:
    <%
    String eqCat = "Tracked Vehicle";
    String strSQL = "SELECT DISTINCT * FROM robert WHERE eqcategory = '"+eqCat+"'";
    methodsClass mc = new methodsClass();
    ResultSet objRS = mc.getRSS(strSQL);
    java.lang.System.out.println(strSQL);
    %>
         <select name="selectBox">
         <% while(objRS.next()){
             out.println("<option value='"+objRS.getString("eqtype")+"'>"+objRS.getString("eqtype")+"</option>");
               mc.killConn();
    %> The above works fine.
    If I try to call the getRSS function again on this page I get the following error:javax.servlet.ServletException: Exhausted Resultset
    I tried to call it like so:
    newNameSQL = "Select * from robert where eqtypes = 'someVariable'";
    newNameRS = mc.getRSS(strSQL);
    <%=newNameRSS.getString("something");%>I cant understand why I get this error, I am closing the rs,conn and statement in the killConn method.
    TIA!

    I did that but still the same error. The problem is when I attempt to open up another resultset on the same page I get the Exhausted ResultSet error. I have even eliminated the class file altogether by doing this:
      String eqCat = "Tracked Vehicle";
      String strSQL = "SELECT DISTINCT eqtype FROM robert WHERE eqcategory = '"+eqCat+"'";
      Class.forName("oracle.jdbc.driver.OracleDriver");
      Connection objConn = java.sql.DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:CCD","system", "Abcd1234");
      PreparedStatement statement = objConn.prepareStatement(strSQL,ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
      ResultSet objRS = statement.executeQuery();
      System.out.println(strSQL);
    //The above works fine and then below I add this and the error comes back
         <select name="cs_popup_name_1" onchange="CSURLPopupShow(/*CMP*/'cs_form_name_1', /*CMP*/'cs_popup_name_1', 'Main');">
         <% while(objRS.next()){
            String eq = objRS.getString("eqtype");
             out.println("<option value='"+eq+"'>"+eq+"</option>");
    objRS.close();
    objConn.close();
    statement = null;
    strSQL = null;
    strSQL = "SELECT * FROM robert";
      Class.forName("oracle.jdbc.driver.OracleDriver");
      objConn = java.sql.DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:CCD","system", "Abcd1234");
      statement = objConn.prepareStatement(strSQL,ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
      ResultSet rs = statement.executeQuery();
      System.out.println(strSQL);
    //If I leave the field below commented out I get no errors, but if I comment it out I get the error
    <a href="#" onmouseover="showImg('<%=rs.getString("img1")%>')">                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to call the same query more than once with different selection criteria

    Hi,
    Please do anybody know how to solve this issue? I need to call one query with the fixed structure more than once with different selection criteria. For example. I have following data
    Sales organization XX
                         Income 2008  Income 2009
    Customer A       10                 20
    Customer B        30                  0
    Sales organization YY
                         Income 2008  Income 2009
    Customer A        20                5
    Customer B        50                10
    Now, I need this. At the selection screen of query, user fill variable  charakteristic "Sales organization" with interval  XX - YY, than I need to generate two separate results per sales organization, one for Sales Organization XX and the second for SO YYwhich will be displayed each on separate page, where result for SO YY will be dispayed under result for SO YY. Are there some options how to do it for example in Report Designer or WAD or with programming? In Report Designer is possible to use one query more than once, but I dont know how to force each query in RD to display result only for one Sales Organization, which will be defined in selection screen.
    Thank you very much
    J.

    Hello,
    thanks to all for cooperation. Finally we solved this issue with the following way..
    User fill appropriate SO on the selection screen, which is defined as range. This will resulte, that selected SO are listed in report below each othe (standard behavior). Required solution we achieved with the Report Designer, we set page break under each Result row of RD. This caused, that report is divided into required part per SO, which are stated each on separate page.
    J.

  • Displaying a method more than once

    I have a program that displays a phone number in big numbers made up of that number like
    11
    11
    11
    11
    11
    heres the program
    public class phone
         public static void main (String [] args)
              five();
              six();
              seven();
              eight();
              nine();
              ten();
              eleven();
              twelve();
         public static void five()
         System.out.println();
         System.out.println("55555");
         System.out.println("5");
         System.out.println("55555");
         System.out.println("    5");
         System.out.println("55555");
         System.out.println();
         public static void six()
         System.out.println();
         System.out.println("44 44");
         System.out.println("44 44");
         System.out.println("44444");
         System.out.println("   44");
         System.out.println("   44");
         System.out.println();
         public static void seven()
         System.out.println();
         System.out.println("66666");
         System.out.println("6");
         System.out.println("66666");
         System.out.println("6   6");
         System.out.println("66666");
         System.out.println();
         public static void eight()
         System.out.println();
         System.out.println();;     
         System.out.println();;
         System.out.println("-----");
         System.out.println();;
         System.out.println();;
         System.out.println();
         public static void nine()
         System.out.println();
         System.out.println("33333");
         System.out.println("    3");
         System.out.println("33333");
         System.out.println("    3");
         System.out.println("33333");
         System.out.println();
         public static void ten()
         System.out.println();
         System.out.println("44 44");
         System.out.println("44 44");
         System.out.println("44444");
         System.out.println("   44");
         System.out.println("   44");
         System.out.println();
         public static void eleven()
         System.out.println();
         System.out.println(" 11");
         System.out.println(" 11");
         System.out.println(" 11");
         System.out.println(" 11");
         System.out.println(" 11");
         System.out.println();
         public static void twelve()
         System.out.println();
         System.out.println("77777");
         System.out.println("   7");
         System.out.println("  7");
         System.out.println(" 7");
         System.out.println("7");
         System.out.println();
    } how can i instead of typing out the System.out.println();
         System.out.println("77777");
    part again how can i just write a part that just adds all the System.out.printn or the method again an display it
    thanks

    how do you call the same method twice in order to
    print two of the same numbers?You remember how you called it once? Do that again.
    If you want to call it N number of times, where N is not fixe at compile time, or is more than just a few, then use for loop.

  • Needing to authorize on one library more than once

    My laptop apparently has a multiple personality. One the same user library that I recently de-authorized, then re-authorized, when I try to play a number of songs, I now get a a prompt on some (but not all)tunes telling me that I need to authorize the computer. These are also songs I originally purchased on this machine. Any suggestions?
    Thanks, everyone. -- Matt

    Hi Nizamudeen,
    Thanks for the information.Suppose we have 20 views all are differenet and .based on condition one view will call another view.So when i open the webdynpro coponent, in the diagram view all views are appearing, it look clumsy as they are overlapping each other.
    Is there any way, we can simplify the design of view in the diagram view section. For example we will put some view in different componenet of same DC and call that somponenet when ever required.
    What is the procedure to do this?
    Thanks
    Susmita

  • My App Store is not working and I have tried three different common methods more than once. What is wrong with it?

    I really need help with this because it will load but not update or download any app I have/want. Please help. I do not know what to do.

    Try:
    Can't connect to the iTunes Store
    It could be an Apple problem since other users have been reporting the same problem today.

  • Need to Reinstall 10.1, Sometimes More than Once

    In our school environment, we are having to reinstall 10.1 frequently.  Yesterday, we had one instance of IE8 playing a Flash video and a second instance telling us Flash player was not installed.  In all cases, when we go to reinstall 10.1, the Adobe download manager prompts:  "10.1 already installed.  Reinstall?"
    This appears to happen randomly; that is, we can't find the pattern yet.
    OS:  Win XP Pro
    FP:  WIN 10,1,82,76, Started happening with earlier versions of 10,1+.
    Browser:  IE8
    Everything is 32-bit.
    This has been happening on different images and hardware platforms.
    I have been through the steps here:  http://kb2.adobe.com/cps/191/tn_19166.html
    We are also experiencing problems with videos having to fully buffer before they will play, but I can start a separate thread for that.
    Thanks in advance for any ideas!
    Rob

    Don't use the download manager; better download the executable installer(s) from http://www.adobe.com/products/flashplayer/fp_distribution3.html
    P.S. your installed FP is two versions behind; the latest version is 10.1.102.64

  • How to call backing bean method from java script

    Hi,
    I would like to know how to call backing bean method from java script.
    I am aware of serverListener and [AjaxAutoSuggest article|http://www.oracle.com/technology/products/jdev/tips/mills/AjaxAutoSuggest/AjaxAutoSuggest.html]
    but i am running in to some issues with [AjaxAutoSuggest article|http://www.oracle.com/technology/products/jdev/tips/mills/AjaxAutoSuggest/AjaxAutoSuggest.html]
    regarding which i asked for help in other thread with subject ....Question on AjaxAutoSuggest article (Ajax Transactions Using ADF and J...)
    The reason why i posted is ( though i realise both are duplicates) .. that threads looks as a specific question to that article hence i would like to ask the quantified problem is asked in this thread.
    So could any please letme know how to call backing bean method from java script
    Thanks
    Murali
    Edited by: mchepuri on Oct 24, 2009 6:17 PM
    Edited by: mchepuri on Oct 24, 2009 6:20 PM

    Hello,
    May know how to submit a button autoamtically on onload of page with clicking a welcome alert box. the submit button has managed button too to show a message on console using SOP.
    the problem is.
    1. before loading the page a javascript comes on which i clicked ok
    2. the page gets loaded and the button is there which gets automatically clicked and the managed bean associated with prints a message on console using SOP.
    I m trying to do this through server listener and click listener. the code is(adf jspx page)
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1" binding="#{backingBeanScope.backing_check4.d1}">
    <af:form id="f1" binding="#{backingBeanScope.backing_check4.f1}">
    <af:commandButton text="commandButton 1"
    binding="#{backingBeanScope.backing_check4.cb1}"
    id="cb1" action="#{beanCheck4.submit1}"/>
    <af:clientListener type="click" method="delRow"/>
    <af:serverListener type= "jsServerListener"
    method="#{backingBeanScope.backing_check4.submit1}"/>
    <f:facet name="metaContainer">
    <af:resource type ="javascript">
    x=confirm("hi");
    // if(x){
    delRow = function(event){
    AdfCustomEvent.queue(event.getSource(), "jsServerListener", {}, false);
    return true;
    </af:resource>
    </f:facet>
    </af:form>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_check4-->
    </jsp:root>
    the backing bean code is -----
    public class classCheck4 {
    public classCheck4() {
    public String submit1() {
    System.out.println("hello");
    return null;
    }

  • Method called more than once - and dies with EXC_BAD_ACCESS error

    Hi,
    In my app, I have 4 views with their respective viewControllers. In the appDelegate.m, I provide methods that allows to switch to any of these views. Following is code for switching to the editView:
    -(void) flipToEditView {
    [self populateTheList]; // populate an array
    EditViewController *anEditVC = [[EditViewController alloc] initWithNibName:@"EditView" bundle:nil];
    [self setEditVC:anEditVC];
    [viewController.view removeFromSuperview];
    [self.window addSubview:[editVC view]];
    [anEditVC release]; }
    The view is not switched - and moreover, this method is called more than once; and the app dies with EXCBADACCESS!
    2009-08-23 14:54:40.648 iNotate[2128:20b] Album (before): x= 0 y=20 width=320 height=460
    2009-08-23 14:54:40.653 iNotate[2128:20b] Album (after): x= 0 y= 0 width=320 height=480
    warning: Couldn't find minimal bounds for "_sigtramp" - backtraces may be unreliable
    (gdb) bt
    #0 -[iNotateAppDelegate flipToEditView] (self=0x523690, _cmd=0x9563) at /Users/sam/MY_FILES/iPhone Apps/app/Classes/iNotateAppDelegate.m:116
    #1 0x00008661 in -[FirstView editAction] (self=0x546a30, _cmd=0xac94) at /Users/sam/MY_FILES/iPhone Apps/app/FirstView.m:25
    #2 0x30a4eee6 in -[UIApplication sendAction:to:from:forEvent:] ()
    #3 0x30ab0d36 in -[UIControl sendAction:to:forEvent:] ()
    #4 0x30ab11fe in -[UIControl(Internal) _sendActionsForEvents:withEvent:] ()
    #5 0x30ab0544 in -[UIControl touchesEnded:withEvent:] ()
    #6 0x30a67917 in -[UIWindow sendEvent:] ()
    #7 0x30a56fff in -[UIApplication sendEvent:] ()
    #8 0x30a561e0 in _UIApplicationHandleEvent ()
    #9 0x31565dea in SendEvent ()
    #10 0x3156840c in PurpleEventTimerCallBack ()
    #11 0x94a713c5 in CFRunLoopRunSpecific ()
    #12 0x94a71aa8 in CFRunLoopRunInMode ()
    #13 0x31566600 in GSEventRunModal ()
    #14 0x315666c5 in GSEventRun ()
    #15 0x30a4eca0 in -[UIApplication _run] ()
    #16 0x30a5a09c in UIApplicationMain ()
    #17 0x000027e8 in main (argc=1, argv=0xbffff068) at /Users/sam/MY_FILES/iPhone Apps/app/main.m:14
    Current language: auto; currently objective-c
    (gdb) continue
    2009-08-23 14:54:55.885 iNotate[2128:20b] >>>>>>>>>>>>>>>>>> populateTheList
    (gdb) bt
    #0 -[iNotateAppDelegate flipToEditView] (self=0x523690, _cmd=0x9563) at /Users/sam/MY_FILES/iPhone Apps/app/Classes/iNotateAppDelegate.m:116
    #1 0x00008661 in -[FirstView editAction] (self=0x5457b0, _cmd=0xac94) at /Users/sam/MY_FILES/iPhone Apps/app/FirstView.m:25
    #2 0x30a4eee6 in -[UIApplication sendAction:to:from:forEvent:] ()
    #3 0x30ab0d36 in -[UIControl sendAction:to:forEvent:] ()
    #4 0x30ab11fe in -[UIControl(Internal) _sendActionsForEvents:withEvent:] ()
    #5 0x30ab0544 in -[UIControl touchesEnded:withEvent:] ()
    #6 0x30a67917 in -[UIWindow sendEvent:] ()
    #7 0x30a56fff in -[UIApplication sendEvent:] ()
    #8 0x30a561e0 in _UIApplicationHandleEvent ()
    #9 0x31565dea in SendEvent ()
    #10 0x3156840c in PurpleEventTimerCallBack ()
    #11 0x94a713c5 in CFRunLoopRunSpecific ()
    #12 0x94a71aa8 in CFRunLoopRunInMode ()
    #13 0x31566600 in GSEventRunModal ()
    #14 0x315666c5 in GSEventRun ()
    #15 0x30a4eca0 in -[UIApplication _run] ()
    #16 0x30a5a09c in UIApplicationMain ()
    #17 0x000027e8 in main (argc=1, argv=0xbffff068) at /Users/sam/MY_FILES/iPhone Apps/app/main.m:14
    (gdb) continue
    2009-08-23 14:55:22.493 iNotate[2128:20b] >>>>>>>>>>>>>>>>>> populateTheList
    Program received signal: “EXCBADACCESS”.
    (gdb) continue
    What's happening here?
    Sam!

    -(void) flipToEditView {
    [self populateTheList]; // populate an array
    EditViewController *anEditVC = [[EditViewController alloc] initWithNibName:@"EditView" bundle:nil];
    [self setEditVC:anEditVC];
    [viewController.view removeFromSuperview];
    [self.window addSubview:[editVC view]];
    [anEditVC release]; }
    }<---- is this } matched elsewhere?

  • I have my catalog "Back Up Each Time Lightroom Exits" checked, and always have. That means the catalog should have been backed-up and saved everyday, if not more than once on some dates. So with a a major problem now and needing to use the Catalog backup

    I have my catalog "Back Up Each Time Lightroom Exits" checked, and always have. That means the catalog should have been backed-up and saved everyday, if not more than once on some dates. So with a a major problem now and needing to use the Catalog backup from last Friday, I go to my Lightroom Backups folder - and the most recent one showing not only isn't yesterday, it's OCTOBER 28 !?? Where the hell are the daily backups between October 28 and November 14?

    Oh wow - JET LAG strikes agin - my apologies; I have located the missing weeks of back-ups. After getting home from a 30-day trip to Europe, I had changed the location of my LR catalog back-ups to an external drive, and forgot that I did that. I have found them, and all is good. Never operate Heavy Machinery without enough rest. Cheers

  • Calling thread.start() more than once concurrently

    Hi, I got a simple doubt that may feel awkward or absurd to people who are well versed in the java threading concepts. I just thought of it and as I couldn't get an easy answer I am posting this.
    Consider a class that implements the runnable interface. The run() method of the class is implemented with just a System.out.println(). If I make an instance of this class, say 't' in the main method and calling t.start() susequently twice or thrice; an illegal ThreadStateException will be thrown. The code snippet is as follows:
    ThreadTest t = new ThreadTest();
    t.start();
    t.start();
    It is understood that state of the thread object is changed to run state and so, if it is again started, it must be thrown. So if I put a Thread.sleep() inbetween these two subsequent calls assuming that the main method thread will be sleeping. So there is sufficient time for the first thread to terminate and then only the second will start - still the same exception is being thrown. I tried putting the synchronized qualifier for run too, still no effect - the same only happening. Why the java thread object is made in such a way that once the thread changes it state from Runnable to Running and then finally to dead state, it can be restated back to Runnable state, such that the start() method can be called again. Is it possible or not? Please post your comments.

    As ejp says you can't start a thread more than once - even if it has already terminated after the first start.
    By making threads a one-shot it simplifies reasoning about them: you don't have to wonder whether a second start() will work or not, depending on whether the thread has completed its first "incarnation". It also makes it easier to ensure thread resources are reclaimed. It also avoids semantic issues like whether anything about the thread is "carried over" across incarnations.
    This might seem a limitation but there are many ways around it - simply don't let the thread terminate. Whatever control structure you would enforce by re-starting the thread can be emulated without letting the thread terminate in between "executions".

  • WDDOMODIFYVIEW and WDDOPOSTPROCESSING is called more than once!

    Hello everybody,
    maybe someone can help me. Our WDA application consist of 5 Components. One main and 4 components embedded in it. We instantiate the components in the WDDOINIT of the main component and use them between themselves.
    I suppose that's the reason that the events in the views and componentcontrollers of each component is called so often.
    With a break point in a WDDOMODIFYVIEW an the debugger I find out that the  HANDLE_REQUEST methos from the CL_WDR_CLIENT_ABSTRACT_HTTP  class is startet also more than once.
    1.  if m_ucf is not bound -> yes and  m_request_type = suspend
    2.  if m_ucf is not bound -> initial and  m_request_type = suspend
    3.  if m_ucf is not bound -> initial and  m_request_type = suspend
    4.  if m_ucf is not bound -> initial and  m_request_type = refresh
    Maybe someone has expierence with it an can give a hint or explanations for this.
    I hope so
    Thanks for any answer
    Best regards
    Christian Breitenbach

    hi christian.......
         a wddomodifyview view method will be called even if there is a little change in your view. it will b e called more times than your normal pbo in a dynpro application. the wddoinit will be called only before the view is loaded... but the modify willbe called even for popups nad any event.
    ---regards,
       alex b justin

  • QuickTime DOM Events called more than once?

    I am in the process of writing code in JavaScript that will track the interaction on a embedded QuickTime video.
    function ew_addImage(v) {
    trackImg=new Image(1,1);
    trackImg.src=v;
    function ew_pauseTrk() {
    var imgStr='http://www.sldkfjsldfjk.com/200125/EWTRACKNEW_VINT?ewadid=751801&ewbust='ewbust'&eid=1078554&file=$VIDEO$&bw=56&vlen=3:00&vint=PAUSED';
    ew_addImage(imgStr);
    if (document.addEventListener)
    document.getElementById("mov1").addEventListener("qt_pause", ew_pauseTrk, false);
    Everything works correctly. I am able to see the image being called when I am looking at Wireshark. The problem is when I click pause more than once.. It seems like the QuickTime DOM Events can only be called once.. Is that true?
    Thanks

    -(void) flipToEditView {
    [self populateTheList]; // populate an array
    EditViewController *anEditVC = [[EditViewController alloc] initWithNibName:@"EditView" bundle:nil];
    [self setEditVC:anEditVC];
    [viewController.view removeFromSuperview];
    [self.window addSubview:[editVC view]];
    [anEditVC release]; }
    }<---- is this } matched elsewhere?

  • HT1918 I'm having some issues trying to change my account billing---I have a new debit card and i need to punch in the new number but when i go to edit my info itunes says my 'session has timed out.' i've logged in and out more than once. what's the probl

    i'm having some issues trying to change my account billing---I have a new debit card and i need to punch in the new number but when i go to edit my info itunes says my 'session has timed out.' i've logged in and out more than once. what's the problem?

    Try to change the credit information from your iphone or other ios device. Tap on settings > store > tap Apple ID > tap view account > tap payment information > change

  • Form that is a map of Ohio. I created layers for each county so I can click and it highlights, but I need to be able to click more than one. How do I do that?

    Form that is a map of Ohio. I created layers for each county so I can click and it highlights, but I need to be able to click more than one. How do I do that?

    Looks nice!
    I understand what you've done now. You used the "Set Layer Visibility" command which sets the on/off state of all the layers at once. What you need is a more subtle approach, one that will only change the state of the specific layer associated with the button, not the rest of them (so that you could have multiple layers enabled at the same time). The way to do that is by using a script.
    I wrote the script for you and applied it to the top-left counties (WILLIAMS and FULTON), in the attached file. You can now copy the actions I associated with those buttons to the rest of them, and it should work as you want it to.
    The file: MAP-HHA-Geographic(3)_edited.pdf - Google Drive

Maybe you are looking for

  • Sending an email of the layout in PDF attachement

    Hello All, I have written a program to send the layout in PDF format to send in a mail to the customer. The email is going fne with the PDF attachement in the development box, but it is not working in Quality box. In the Quality box the email is goin

  • Patterns not working in adobe reader 9?

    Hi all I have a numeric field which is limited to 2 decimals. When they enter 1000 it's displayed as 1,000 in Adobe 9 and 1000 in Adobe 8. My pattern looks like this. z9.99 I want it to be displayed as 1000 in all versions, any ideas why the patterns

  • ITunes remote Speakers button and AppleTV (2nd gen)

    Having followed the iTunes Help instruction "Choose which speakers to use" there is still no Speakers button appearing. I'm successfully using my wireless network for ATV2 and can watch movies, internet, and access my iMac Playlist, but am unable to

  • Re: (forte-users) SCM Hooks

    I am still having trouble using the SCM hook. I have set everything up but when I integrate I get the following error message. Forte_cl0: SYSTEM ERROR: Cannot resolve the distributed reference for an object of class (qqrp_SCMServerProxy) named (site/

  • Printing Jtext area

    I have a program where I have loded the contents of a file to a Jtextarea. I know how to set up my menu and actionlistener to print, but I do not know how to print the contents to a printer. Code below shows my class, Jtextarea declaration and my met