IsAccessAllowed tag please Help

Hi,
I want use isAccessAllowed tag of auth library,
i've just set right entitlements for users, but i don't know how use resourceId attribute. The related documentation is not really clared, and in this forum there is the same question without replies.
Please Someone can Help me also with one sample!!
Bye

You probably need to create the entitlement on your resource programmatically.
--------- create the resource ----------------------
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ page import="com.bea.p13n.entitlements.common.EntitlementConstants"%>
<%@ page import="com.bea.p13n.entitlements.common.EntitlementHelper"%>
<%@ page import="com.bea.p13n.entitlements.common.InvalidArgsException"%>
<%@ page import="com.bea.p13n.entitlements.management.SecurityPolicyManager"%>
<%@ page import="com.bea.p13n.entitlements.policy.SecurityPolicyItem"%>
<%@ page import="com.bea.p13n.management.ApplicationHelper"%>
<%@ page import="weblogic.servlet.security.ServletAuthentication"%>
<%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
<%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
<%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
<%
final String RESOURCE_ID = "tempWebApp" +
EntitlementConstants.RESOURCE_ID_DELIMITER +
"tempDesktop" +
EntitlementConstants.RESOURCE_ID_DELIMITER +
"tempWebApp_page_2" + //definition label
EntitlementConstants.RESOURCE_ID_DELIMITER +
"testlink";
final String READ_CAPABILITY = "canRead";
final String EDIT_CAPABILITY = "canEdit";
ArrayList roleList = new ArrayList();
roleList.add("veRole0");
ServletAuthentication.weak("weblogic", "weblogic", request);
SecurityPolicyItem securityPolicyItem =
new SecurityPolicyItem(ApplicationHelper.getApplicationName(),
ApplicationHelper.getWebAppName(request),
RESOURCE_ID,
(List)null,
(List)null,
roleList,
READ_CAPABILITY,
EntitlementHelper.createP13nContextHandler(request));
try
if (SecurityPolicyManager.policyExists(securityPolicyItem))
//SecurityPolicyManager.removeSecurityPolicy(securityPolicyItem1);
%><b>canRead Security Policy has already been created.</b><br><%
else
SecurityPolicyManager.createSecurityPolicy(securityPolicyItem);
%><b>canRead Security Policy successfully created.</b></br><%
catch (InvalidArgsException e)
%><b>Invalid argument exception caught! Incorrect input for role policy.</b><br><%
e.printStackTrace();
%>
--------------- usage of the isAccessAllowed tag ------------------
<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ page import="com.bea.p13n.entitlements.common.EntitlementConstants"%>
<%@ page import="weblogic.servlet.security.ServletAuthentication"%>
<%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
<%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
<%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
<%@ taglib uri="http://www.bea.com/servers/p13n/tags/auth" prefix="auth"%>
<%
//tempWebApp tempDesktop tempWebApp_page_2 testlink
final String RESOURCE_ID = "tempWebApp" +
EntitlementConstants.RESOURCE_ID_DELIMITER +
"tempDesktop" +
EntitlementConstants.RESOURCE_ID_DELIMITER +
"tempWebApp_page_2" + //definition label
EntitlementConstants.RESOURCE_ID_DELIMITER +
"testlink";
%>
<netui:html>
<head>
<title>
</title>
</head>
<body>
<p>
<auth:isAccessAllowed resourceId="<%=RESOURCE_ID%>" id="auth" capability="canRead"
roleScope="<%=EntitlementConstants.HIERARCHICAL_ROLE_INHERITANCE%>"/>
<% if (auth.booleanValue()) {%>
Yada Yada Yada
<% }
else { %>
You should have created a Visitor Entitlement Role of veRole0 with the group <br>
Administrators.   Then ... please login as your system user.<p>
login.jsp
<% }
out.println("<p>" + request.getUserPrincipal() + "<br>" + auth.booleanValue());
%>
</p>
</body>
</netui:html>
Nino Guarnacci wrote:
I have create myPortal myDesk page2, I've just entiltles its to a user, also have see the RESOURCE_NAME attribute in the P13N_ENTITLEMENT_RESOURCE table.
In the jsp page:
<%
String a="Page" + EntitlementConstants.RESOURCE_ID_DELIMITER +
"mioPortal" + EntitlementConstants.RESOURCE_ID_DELIMITER +
"mioDesk" + EntitlementConstants.RESOURCE_ID_DELIMITER +"page2";
%>
<auth:isAccessAllowed
resourceId="<%=a%>"
id="auth"
>
SOME THING
</auth:isAccessAllowed>
But don't work!!!!!
WHY???????

Similar Messages

  • Flash Tags - please help

    Hello, I am new to flash and i have built this website http://www.pcpros-repair.com
    And i have learned alot from reading blogs and browsing forums, but I have not been able to find a way to put in meta tags for search engines.
    How do you install meta tags for search engines to a cs4 flash website, and do I need to put the tags on each .swf file or just the main page?
    Thanks for your help and sorry if this has already been addressed but i couldnt locate it.
    email me @ http://mailto:[email protected]

    meta tags are added to the html file that embeds your main swf.  open your html file in any plain-text editor and add the tags you want.

  • Could not complete parsing, unmatched tags - Please Help

    I am getting the following error with WLS 6.1, thanks for any help given:
              <Dec 4, 2001 10:11:13 AM PST> <Error> <HTTP>
              <[WebAppServletContext(4939071,digex_web,/digex_web)] Root cause of Servlet
              Exception
              weblogic.utils.ParsingException: Could not complete parsing, unmatched tags:
              correctNumber
              at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:1032)
              at weblogic.servlet.jsp.JspParser.doit(JspParser.java:78)
              at weblogic.servlet.jsp.JspParser.parse(JspParser.java:181)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
              at
              weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:255)
              at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:327)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:189)
              at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:154)
              at
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:36
              8)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :242)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :304)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :200)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:2456)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              The following is the JSP code:
              <jsp:useBean id='form' scope='request'
              class='beans.app.forms.CreateAccountForm'/>
              <%@ taglib uri='cards' prefix='card' %>
              <jsp:setProperty name='form' property='*'/>
              <card:correctNumber number='<%=form.getCreditCardNumber() %>'
              type='<%=form.getCreditCardType() %>'
              expireMonth='<%=form.getCreditCardExpirationMonth() %>'
              expireYear='<%=form.getCreditCardExpirationYear() %>'>
              <% form.validateCard() %>
              <jsp:forward page='/validate-account-action.do'/>
              The following is the taglib:
              <?xml version="1.0" encoding="ISO-8859-1" ?>
              <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library
              1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
              <taglib>
              <tlibversion>1.1</tlibversion>
              <jspversion>1.1</jspversion>
              <shortname>CardTag</shortname>
              <uri>http://www.servletsuite.com/servlets/cardtag</uri>
              <info>Credit card number checking</info>
              <tag>
              <name>correctNumber</name>
              <tagclass>com.cj.ccnum.Correct</tagclass>
              <bodycontent>JSP</bodycontent>
              <info>Executes body for correct credit card number</info>
              <attribute>
              <name>number</name>
              <required>true</required>
              <rtexprvalue>true</rtexprvalue>
              </attribute>
              <attribute>
              <name>type</name>
              <required>true</required>
              The following is my web.xml tag definition:
              <taglib>
              <taglib-uri>cards</taglib-uri>
              <taglib-location>/WEB-INF/tlds/cardcheck.tld</taglib-location>
              </taglib>
              <rtexprvalue>true</rtexprvalue>
              </attribute>
              <attribute>
              <name>expireMonth</name>
              <required>true</required>
              <rtexprvalue>true</rtexprvalue>
              </attribute>
              <attribute>
              <name>expireYear</name>
              <required>true</required>
              <rtexprvalue>true</rtexprvalue>
              </attribute>
              </tag>
              </taglib>
              

    You need to close the correctNumber tag.
              Mike
              "Gino" <[email protected]> wrote in message
              news:[email protected]...
              > I am getting the following error with WLS 6.1, thanks for any help given:
              >
              > <Dec 4, 2001 10:11:13 AM PST> <Error> <HTTP>
              > <[WebAppServletContext(4939071,digex_web,/digex_web)] Root cause of
              Servlet
              > Exception
              > weblogic.utils.ParsingException: Could not complete parsing, unmatched
              tags:
              > correctNumber
              > at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:1032)
              > at weblogic.servlet.jsp.JspParser.doit(JspParser.java:78)
              > at weblogic.servlet.jsp.JspParser.parse(JspParser.java:181)
              > at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
              > at
              > weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:255)
              > at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:327)
              > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:189)
              > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:154)
              > at
              >
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:36
              > 8)
              > at
              >
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              > :242)
              > at
              >
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              > :304)
              > at
              >
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              > :200)
              > at
              >
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              > ntext.java:2456)
              > at
              >
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              > :2039)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              > >
              >
              > The following is the JSP code:
              >
              > <jsp:useBean id='form' scope='request'
              > class='beans.app.forms.CreateAccountForm'/>
              >
              > <%@ taglib uri='cards' prefix='card' %>
              >
              > <jsp:setProperty name='form' property='*'/>
              >
              > <card:correctNumber number='<%=form.getCreditCardNumber() %>'
              > type='<%=form.getCreditCardType() %>'
              > expireMonth='<%=form.getCreditCardExpirationMonth() %>'
              > expireYear='<%=form.getCreditCardExpirationYear() %>'>
              > <% form.validateCard() %>
              >
              > <jsp:forward page='/validate-account-action.do'/>
              >
              >
              > The following is the taglib:
              >
              > <?xml version="1.0" encoding="ISO-8859-1" ?>
              > <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library
              > 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
              >
              > <taglib>
              > <tlibversion>1.1</tlibversion>
              > <jspversion>1.1</jspversion>
              > <shortname>CardTag</shortname>
              > <uri>http://www.servletsuite.com/servlets/cardtag</uri>
              > <info>Credit card number checking</info>
              >
              > <tag>
              > <name>correctNumber</name>
              > <tagclass>com.cj.ccnum.Correct</tagclass>
              > <bodycontent>JSP</bodycontent>
              > <info>Executes body for correct credit card number</info>
              >
              > <attribute>
              > <name>number</name>
              > <required>true</required>
              > <rtexprvalue>true</rtexprvalue>
              > </attribute>
              >
              > <attribute>
              > <name>type</name>
              > <required>true</required>
              >
              > The following is my web.xml tag definition:
              >
              > <taglib>
              > <taglib-uri>cards</taglib-uri>
              > <taglib-location>/WEB-INF/tlds/cardcheck.tld</taglib-location>
              > </taglib>
              > <rtexprvalue>true</rtexprvalue>
              > </attribute>
              >
              > <attribute>
              > <name>expireMonth</name>
              > <required>true</required>
              > <rtexprvalue>true</rtexprvalue>
              > </attribute>
              >
              > <attribute>
              > <name>expireYear</name>
              > <required>true</required>
              > <rtexprvalue>true</rtexprvalue>
              > </attribute>
              >
              > </tag>
              >
              > </taglib>
              >
              >
              

  • HT4199 I just got a new iPod touch 4th generation and I'm trying to connect to my router and my iPod says, 'Cannont find network.' I don't know what to do! No other networks come up on the list so I can't 'tag' along with thier wifi. Please help. I need a

    I just got a new iPod touch 4th generation and I'm trying to connect to my router and my iPod says, 'Cannont find network.' I don't know what to do! No other networks come up on the list so I can't 'tag' along with thier wifi. Please help. I need advice.

    What type network is yu router set up for? The 4G iPod can only connect and see 2.4 GHZ networl like B, G and the 2,4 GHz N. There is also a 5 GHz N but the iPod will not even seethat network.
    See:
    iOS: Troubleshooting Wi-Fi networks and connections
    iOS: Recommended settings for Wi-Fi routers and access points

  • Please HELP join these 2 iTunes folders in Windows 7 preserving album artwork & tags (discussion reply requested)

    (Discussion Reply Requested ) Please HELP join these 2 iTunes folders in
    Windows 7 preserving album artwork & "tags"
    I have searched and not found an up to date understandable answer as how
    to join 2 working portable same (apple ID) user iTunes folders into one itunes folder
    while above all else preserving hand edited Abum Artwork and hand edited tags.
    ( It was many hours of hand edited added Album Artwork and editing of tags )
    Situation is Windows 7 ( 64 bit ) with current iTunes installed ( 2014-03-17 )
    The hard drive crashed and the old \iTunes folder and all old contents have been copied and backed up.
    The windows 7 64 bit and latest iTunes 64 bit has been re-installed cleanly ( no old music added )
    Music from the iTunes cloud was then added/downloaded into iTunes
    Now \itunes has 40 gig of music available to play.
    Now I want to join the currently installed working \itunes folder ( 40 gig of music )
    with  the old saved \itunes folder  ( 100 gig of music ) into just one \iTunes folder
    with preserving the current Album Artwork and editing of "tags" of both folders.
    I have seen previous answers that use words like " consolidate " , " export / import ",
    " merge " , " apple home sharing " , " use explorer to copy  ..." , ect
    none of which mentioned if the current Album Artwork
    or tags survive unchanged from their current "specially edited" status.
    I know their may be the ineviatable "duplicates", but there seems
    to be several ways to handle them.  ( If you know the best way to
    prevent or remove duplicates in this situation with joining two
    iTunes folders in Windows please include that information also ).
    Please provide an explanation of how to join these 2 iTunes folders
    in Windows 7 into one \iTunes folder while preserving Album Artwork and tags.

    Mike, thanks for the response. I will try this. I'll have to dig around here too, bc I want to know more about how I can import a windows xml file (while replacing the drive paths) and it creating a seperate itunes library with the pointers on the mac. Essentially, I have 2 libraries and there may not be a way around this with a windows machine and a mac - ive read plenty on Choose library on open, and mac to mac, windows to windows.
    I also need to know more about what is getting stored in the album art folders. I believe it seems that when you select all, and copy the image in the artwork get info page its actually embedding these images in the files themselves, but if you paste into the left bottom artwork display pane its just adding where?? If I deleted the contents of this folder what would happen, should I not be copying this content?
    If I update the images on the mac and swap out the drive paths and move the external drive back to the windows box, will i lose any updates I did while on the mac?
    Good suggestion though, I'll try this out.

  • Doubt in f:facet tag.. Please help me ..

    Hi Friends,
    I couldnt resolve the following problem..
    In my screen I have 8 columns.. I have to provide sorting facility for some of the column, which is going to be set dynamically..
    I have written my code like this:
    <h:column rendered="#{RecordListController.recordListBean.flag1}">     <f:facet name="header">          <h:commandLink rendered="#{RecordListController.recordListBean.sortFlag1}"     actionListener="#{RecordListController.processAction}" id="cmdSort1">
    <h:outputText  value="#{RecordListController.recordListBean.headerDesc1}"/>               </h:commandLink>                    <h:outputText                               rendered="#{!RecordListController.recordListBean.sortFlag1}"                                                                      value="#{RecordListController.recordListBean.headerDesc1}"/>/f:facet>                         <h:commandLink action="viewRecordDetail"          actionListener="#{RecordDetailController.processAction}"     styleClass="selectlink" id="cmdSelectRecord">          <h:outputText value="#{recordListBean.recordValue1}" />                              <f:param name="recordKeyValue"                         value="#{recordListBean.keyFieldValue}" />                                        <f:param name="currentRecord" value="#{recordListBean.currentRecordNo}" />                                     </h:commandLink>                              </h:column>  No value is getting displayed as a column header..
    Please help me..
    Message was edited by:
    w4c

    Hi all
    i tried to use a selectBooleanCheckBox within f:facet tag with a valueChangeListener. The call to valueChangeListner is not getting fired when clicking the checkBox.
    when i put the same code outside the f:facet tag it works well.
    code snippet:
    <f:facet name="header">
            <h:selectBooleanCheckbox id="checkAll1" value="#{listBean.allSelected}"
                binding="#{listBean.selectAll}" immediate="true" onklick="submit();"
                valueChangeListener="#{listBean.checkBoxClicked}"/>
    </f:facet>Have anyone encountered the same problem.
    Thanks for your valuable suggestions.
    Regards
    Balaji N
    SCJP

  • Getting problem in tag libraries,please help!!!

    hello.
    i am writing simple tag for accessing database.
    i am getting follwing error
    =======================================================================
    weblogic.servlet.jsp.JspException: (line 26): Could not parse deployment descrip
    tor: java.io.IOException: cannot resolve '/WEB-INF/DemoTags.tld' into a valid ta
    g library
    at weblogic.servlet.jsp.JspLexer.jspException(JspLexer.java:863)
    at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:47
    14)
    at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4538)
    at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4385)
    at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2223)
    at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:2006)
    at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1888)
    at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:1107)
    at weblogic.servlet.jsp.JspParser.doit(JspParser.java:89)
    at weblogic.servlet.jsp.JspParser.parse(JspParser.java:193)
    at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
    at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:255
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:341)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:201)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:154)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
    java:370)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:240)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:321)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:198)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:2637)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2359)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    ========================================================================
    i am using weblogic 6.1
    i have put my tld file in /WEB-INF/DemoTags.tld
    i don;t know why i getting this error.
    my tld file is as follow.
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
    "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
    <taglib>
    <tlibversion>1.0</tlibversion>
    <jspversion>1.2</jspversion>
    <shortname>DemoTags</shortname>
    <uri>http://www.stardeveloper.com</uri>
    <info>Demo Tags Library</info>
    <tag>
    <name>displaydata</name>
    <tagclass>Tags.DataAccessTag</tagclass>
    <teiclass>Tags.DataAccessTagTEI</teiclass>
    <bodycontent>JSP</bodycontent>
    <info>Data Access Tag.</info>
    </tag>
    </taglib>
    and my class file is in /WEB-INF/classes/Tags/DataAccessTags.java
    and /WEB-INF/classes/Tags/DataAccessTagsTEI.java
    package Tags;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    import javax.servlet.jsp.tagext.BodyTag;
    import javax.servlet.jsp.tagext.Tag;
    public class DataAccessTag implements BodyTag
         private PageContext pc=null;
         private BodyContent body=null;
         private StringBuffer sb=new StringBuffer();
         private Connection conn=null;
         private Statement stmt=null;
         private ResultSet rs=null;
         public void setPageContext(PageContext p)
              pc=p;
         public void setParent(Tag t)
         public Tag getParent()
              return null;
         public int doStartTag() throws JspException
              String path="jdbc:odbc:Names";
              String sql="select ID,first_name,last_name from Names";
              try
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   conn=DriverManager.getConnection(path);
                   stmt=conn.createStatement();
                   rs=stmt.executeQuery(sql);
                   setVariables();
              }catch(SQLException e)
                   throw new JspTagException("An SQLException occured");
              }catch(ClassNotFoundException e)
                   throw new JspTagException("Jdbc driver not found");
              return EVAL_BODY_TAG;
         public void setBodyContent(BodyContent b)
              body=b;
         public void doInitBody() throws JspException{}
         private boolean setVariables() throws JspTagException
              try
                   if(rs.next())
                        pc.setAttribute("id",rs.getObject(1).toString());
                        pc.setAttribute("first_name",rs.getObject(2).toString());
                        pc.setAttribute("last_name",rs.getObject(3).toString());
                        return true;
                   }else
                        return false;
              }catch(SQLException e){
                   throw new JspTagException("SQLException occured");
         public int doAfterBody() throws JspException
              try{
                   sb.append(body.getString());
                   body.clear();
              }catch(IOException e){
                   throw new JspTagException("Fatal IOException");
              if(setVariables())
                   return EVAL_BODY_TAG;
              try{
                   body.getEnclosingWriter().write(sb.toString());
              }catch(IOException e){
                   throw new JspTagException("fatal IOException");
              return SKIP_BODY;
         public int doEndTag() throws JspException
              try{
                   if(rs!=null)
                        rs.close();
                        rs=null;
                   if(stmt!=null)
                        stmt.close();
                        stmt=null;
                   if(conn!=null)
                        conn.close();
                        conn=null;
              }catch(SQLException e){
              return EVAL_PAGE;
         public void release()
              pc=null;
              body=null;
              sb=null;
    and DataAccessTagTEI.java
    package Tags;
    import javax.servlet.jsp.tagext.*;
    public class DataAccessTagTEI extends TagExtraInfo
         public VariableInfo[] getVariableInfo(TagData data)
              return new VariableInfo[]{
                   new VariableInfo("id","java.lang.String",true,VariableInfo.NESTED),
                   new VariableInfo("first_name","java.lang.String",true,VariableInfo.NESTED),
                   new VariableInfo("last_name","java.lang.String",true,VariableInfo.NESTED)
    please help me...

    package your class(es) as a jar file and put in the lib directory of your web application.

  • Help with css3 rollover tag please

    Hey guys I'm stumped and need help with positioning some big picture buttons.
    Here is the link o the home page http://ceramic-planet2.businesscatalyst.com/
    As u can see I have four picture buttons using css3 roller but I want all four buttons next to each other
    2 buttons next to each other with the next 2 directly below .
    Now orgininally I used the dreamweaver rollover button and everything was inline so flowed across the page no problem. These are divs and I've tried to make 2 panels side by side among other hings but I'm not getting there so I thought one of u clever guys would have no problems telling me what to do.
    Please help I'm not getting the inline or absolute placement right
    Dave

    Hey Dave,
    You need to remove the margin from #mosaicbutton, #kitchenbutton
    and then add float : left; to #bathroombutton, #floorbutton, #mosaicbutton, #kitchenbutton,
    That'll get you buttons sitting the way you want them, you may need to play with the margins after that.
    Pat

  • "People" tag not recognised, have 14,000 photo's to organise, please help!

    Hi, I have just moved to PSE 8 from Windows Live Gallery (Windows Vista, then Windows 7)
    Windows Live Gallery stores metadata in the photos, it puts things like places, events etc as "tags" which PSE8 see's fine, but I have 14,000 photo's tagged with peoples names and Windows Gallery stores them as "people" in the metadata and PSE8 doesn't see that so doesn't import the tag
    PLEASE tell me there's a way around this??!!!
    here's an example:

    Ah, the ambiguity of "tag".  I was referring to the number of distinctly named People tags, not the number of photos with the tags.  So the procedure for converting the WLPG tags would be:
    1. Pick the next distinctly named People tag, e.g. "John Smith".
    2. Create a new tag Descriptive tag named "John Smith".
    3. Click on the People tag "John Smith" to show all photos tagged with it.
    4. Select all those photos and drag them to the Descriptive tag "John Smith".
    5. Go to step 1.
    I'm guessing you could do a sustained rate of roughly 100 tags an hour, perhaps a little faster.  In my main catalog of 15K files, I currently have 150 People tags.

  • Archive file with errors in sender file adapter not working! please help!

    Hi Experts,
       I have a file to RFC scenario. the input is a XML file. I have setup the flag in sender file adapter channel for archiving the input files with errors. But it is not working.
    For testing I have used an invalid xML file for example without the main XML tag. I have also tested with a MSWORD file saved with.xml extension. But in both the cases the files are not getting archived.
    My archive location permissions are fine and in fact normal archive operation is happening. That is, if I select the processing mode as "Archive" and gave the Archive directory then files are getting archived. The problem is only with the "Archive faulty source files" option.
    What am I missing? DO I need to do some more configurations?
    What are the prerequisites if any for this option?
    How to test this?
    Please help me! I will be greatfull to you all!
    Thanks & Regards
    Gopal

    and go thru this links
    Creating a Single Archive of the Version Files
    http://help.sap.com/saphelp_nw04/helpdata/en/79/1e7aecc315004fb4966d1548447675/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/31/8aed3ea86d3d67e10000000a114084/frameset.htm
    Note: reward points if solution found helpfull
    Regards
    Chandrakanth.k

  • How to check for null values in bpel?? Please Help! very urgent!!!

    Hello Guys,
    I have a problem. I have an external webservice to which I have to post my request. My task is to create an Webservice and Service Assembly to which others would post request and get response. I have to create SA to deploy onto the bus.
    The problem is that there are optional elements in the request and response xsd's. In the Response sometimes certain feilds may come or they may not. for Example:- my response could contain a tag like this <firstName></firstName>
    I have to copy these feilds in my bpel process from one variable to another.(like in the mapper).
    My Question is , Is there any way in BPEL process or BPEL mapper where I could Check for null values in the request or response???
    Your inputs would be very helpful.
    Thanks
    Rajesh

    Thanks for replying man :)
    Ok I will be more clear.
    Here is a snippet of one of the xsd's that I am using.
    <xs:element name="returnUrl" nillable="false" minOccurs="0">
                        <xs:annotation>
                             <xs:documentation>Partner specifies the return URL to which responses need to be sent to, in case of
    Async message model.
    </xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                             <xs:restriction base="xs:anyURI">
                                  <xs:maxLength value="300"/>
                                  <xs:whiteSpace value="collapse"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
    This means that the return URL field can be there or it may not be there. But if it is there it cant be null because nillable=false. But the whole <returnURL> </returnURL> can be there or it may not be there because minOccurs=0.
    My requirement is , if returnURL is there in the response with a value, then in my BPEL mapper I should map it else I should not map it.
    Thats the issue.
    and Yes kiran, the node be non-existant.
    So can you please help me with this.
    Thanks
    Rajesh

  • Please help with SIP configuration on 2801 router

    Hi All.
    Please help me to setup a SIP account. I’m already struggling to do that for a few days, and can’t find out how to finish that. We have 2xISDN lines running, so I need to add a SIP trunk to existing config.
    The information from our SIP provider:
    We have issued the following DDI range: 018877000 – 99
    There is no need to register the DDI’s as these will be offered to your PABX IP address provided to in the completed SIP trunking form.
    Configuration details are as follows:
    Our Primary Proxy:-        99.234.56.78
    Codec supported:-             G711Alaw, G729 (G711Alaw is the preferred codec)
    Fax Support:-                     T38 and G711Alaw
    DTMF:-                                 RFC2833 and INFO
    CLI Method:-                     Remote-Party-ID
    Trunk doesn’t require registration; you just need to send Invite. In cisco this is done through Dial-peer session-target command. We are authenticating your IP address for outgoing calls and incoming calls we then forward to the IP mentioned in the sip form.
    This is a SIP configuration on Cisco2801 router (I used outgoing calls only):
    translation-rule 10
    Rule 0 ^90 0
    Rule 1 ^91 1
    Rule 2 ^92 2
    Rule 3 ^93 3
    Rule 4 ^94 4
    Rule 5 ^95 5
    Rule 6 ^96 6
    Rule 7 ^97 7
    Rule 8 ^98 8
    Rule 9 ^99 9
    interface FastEthernet0/0.1
    description ***DATA VLAN***
    encapsulation dot1Q 1 native
    ip address 10.1.1.101 255.255.255.0
    interface FastEthernet0/0.2
    description ***VOICE VLAN***
    encapsulation dot1Q 2
    ip address 192.168.22.1 255.255.255.0
    voice service voip
    allow-connections h323 to h323
    allow-connections h323 to sip
    allow-connections sip to h323
    allow-connections sip to sip
    supplementary-service h450.12
    h323
      call start slow
    sip
      bind control source-interface FastEthernet0/0.2
      bind media source-interface FastEthernet0/0.2
      registrar server expires max 36000 min 600
    voice class codec 1
    codec preference 1 g729r8
    codec preference 2 g711ulaw
    codec preference 3 g711alaw
    dial-peer voice 1 pots
    description ### External Dialling via BRI ###
    preference 7
    destination-pattern 9T
    translate-outgoing called 10
    direct-inward-dial
    port 0/0/0
    forward-digits all
    dial-peer voice 2 pots
    description ### External Dialling via BRI ###
    preference 2
    destination-pattern 9T
    translate-outgoing called 10
    direct-inward-dial
    port 0/0/1
    forward-digits all
    dial-peer voice 9000 voip
    description ** Outgoing calls to SIP **
    preference 1
    destination-pattern 9T
    voice-class sip dtmf-relay force rtp-nte
    session protocol sipv2
    session target ipv4:99.234.56.78:5060
    dtmf-relay rtp-nte
    codec g711alaw
    no vad
    sip-ua
    timers connect 100
    sip-server ipv4:99.234.56.78
    I used debugging commands to troubleshoot the calls.
    2801(config-dial-peer)#
    094509: Jan 24 09:27:06.204: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Calling Number=211, Called Number=, Voice-Interface=0x65FA35B4,
       Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
       Peer Info Type=DIALPEER_INFO_SPEECH
    094510: Jan 24 09:27:06.204: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=20018
    094511: Jan 24 09:27:06.716: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=9, Peer Info Type=DIALPEER_INFO_SPEECH
    094512: Jan 24 09:27:06.716: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=9
    094513: Jan 24 09:27:06.716: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094514: Jan 24 09:27:06.716: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094515: Jan 24 09:27:06.816: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90, Peer Info Type=DIALPEER_INFO_SPEECH
    094516: Jan 24 09:27:06.816: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90
    094517: Jan 24 09:27:06.816: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094518: Jan 24 09:27:06.816: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094519: Jan 24 09:27:06.912: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=908, Peer Info Type=DIALPEER_INFO_SPEECH
    094520: Jan 24 09:27:06.912: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=908
    094521: Jan 24 09:27:06.916: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094522: Jan 24 09:27:06.916: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094523: Jan 24 09:27:07.012: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=9086, Peer Info Type=DIALPEER_INFO_SPEECH
    094524: Jan 24 09:27:07.012: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=9086
    094525: Jan 24 09:27:07.016: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094526: Jan 24 09:27:07.016: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094527: Jan 24 09:27:07.116: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862, Peer Info Type=DIALPEER_INFO_SPEECH
    094528: Jan 24 09:27:07.116: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862
    094529: Jan 24 09:27:07.116: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094530: Jan 24 09:27:07.116: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094531: Jan 24 09:27:07.212: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=908621, Peer Info Type=DIALPEER_INFO_SPEECH
    094532: Jan 24 09:27:07.212: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=908621
    094533: Jan 24 09:27:07.216: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094534: Jan 24 09:27:07.216: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094535: Jan 24 09:27:07.316: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=9086215, Peer Info Type=DIALPEER_INFO_SPEECH
    094536: Jan 24 09:27:07.316: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=9086215
    094537: Jan 24 09:27:07.316: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094538: Jan 24 09:27:07.316: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094539: Jan 24 09:27:07.412: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862157, Peer Info Type=DIALPEER_INFO_SPEECH
    094540: Jan 24 09:27:07.412: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157
    094541: Jan 24 09:27:07.416: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094542: Jan 24 09:27:07.416: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094543: Jan 24 09:27:07.516: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=908621577, Peer Info Type=DIALPEER_INFO_SPEECH
    094544: Jan 24 09:27:07.516: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=908621577
    094545: Jan 24 09:27:07.516: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094546: Jan 24 09:27:07.516: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094547: Jan 24 09:27:07.612: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=9086215777, Peer Info Type=DIALPEER_INFO_SPEECH
    094548: Jan 24 09:27:07.612: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=9086215777
    094549: Jan 24 09:27:07.616: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094550: Jan 24 09:27:07.616: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094551: Jan 24 09:27:07.716: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862157774, Peer Info Type=DIALPEER_INFO_SPEECH
    094552: Jan 24 09:27:07.716: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774
    094553: Jan 24 09:27:07.716: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Partial Matches(1) after DP_MATCH_DEST
    094554: Jan 24 09:27:07.716: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=MORE_DIGITS_NEEDED(1)
    094555: Jan 24 09:27:10.711: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862157774T, Peer Info Type=DIALPEER_INFO_SPEECH
    094556: Jan 24 09:27:10.711: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774T
    094557: Jan 24 09:27:10.711: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    094558: Jan 24 09:27:10.711: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=9000
         2: Dial-peer Tag=2
         3: Dial-peer Tag=1
    094559: Jan 24 09:27:10.711: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Calling Number=90862157774, Called Number=90862157774, Peer Info Type=DIALPEER_INFO_SPEECH
    094560: Jan 24 09:27:10.711: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774
    094561: Jan 24 09:27:10.715: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    094562: Jan 24 09:27:10.715: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=9000
         2: Dial-peer Tag=2
         3: Dial-peer Tag=1
    094563: Jan 24 09:27:10.715: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Calling Number=90862157774, Called Number=, Voice-Interface=0x0,
       Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
       Peer Info Type=DIALPEER_INFO_SPEECH
    094564: Jan 24 09:27:10.715: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=9000
    094565: Jan 24 09:27:10.715: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862157774, Peer Info Type=DIALPEER_INFO_SPEECH
    094566: Jan 24 09:27:10.715: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774
    094567: Jan 24 09:27:10.715: //-1/6A877F6F9054/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    094568: Jan 24 09:27:10.715: //-1/6A877F6F9054/DPM/dpMatchPeersMoreArg:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=9000
         2: Dial-peer Tag=2
         3: Dial-peer Tag=1
    094569: Jan 24 09:27:10.719: fb_get_reject_cause_code: ERROR cause_code NULL
    094570: Jan 24 09:27:10.727: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 192.168.22.1:5060;branch=z9hG4bK47D116D3
    Remote-Party-ID: "Sam " <sip:[email protected]>;party=calling;screen=no;privacy=off
    From: "Sam " <sip:[email protected]>;tag=CDCFB8AC-F98
    To: <sip:[email protected]>
    Date: Tue, 24 Jan 2012 09:27:10 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 1787264879-1168380385-2421457215-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327397230
    Contact: <sip:[email protected]:5060>
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 244
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 3237 2021 IN IP4 192.168.22.1
    s=SIP Call
    c=IN IP4 192.168.22.1
    t=0 0
    m=audio 18258 RTP/AVP 8 101
    c=IN IP4 192.168.22.1
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    094571: Jan 24 09:27:11.227: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 192.168.22.1:5060;branch=z9hG4bK47D116D3
    Remote-Party-ID: "Sam" <sip:[email protected]>;party=calling;screen=no;privacy=off
    From: "Sam " <sip:[email protected]>;tag=CDCFB8AC-F98
    To: <sip:[email protected]>
    Date: Tue, 24 Jan 2012 09:27:11 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 1787264879-1168380385-2421457215-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327397231
    Contact: <sip:[email protected]:5060>
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 244
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 3237 2021 IN IP4 192.168.22.1
    s=SIP Call
    c=IN IP4 192.168.22.1
    t=0 0
    m=audio 18258 RTP/AVP 8 101
    c=IN IP4 192.168.22.1
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    094572: Jan 24 09:27:12.227: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 192.168.22.1:5060;branch=z9hG4bK47D116D3
    Remote-Party-ID: "Sam " <sip:[email protected]>;party=calling;screen=no;privacy=off
    From: "Sam " <sip:[email protected]>;tag=CDCFB8AC-F98
    To: <sip:[email protected]>
    Date: Tue, 24 Jan 2012 09:27:12 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 1787264879-1168380385-2421457215-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327397232
    Contact: <sip:[email protected]:5060>
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 244
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 3237 2021 IN IP4 192.168.22.1
    s=SIP Call
    c=IN IP4 192.168.22.1
    t=0 0
    m=audio 18258 RTP/AVP 8 101
    c=IN IP4 192.168.22.1
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    094573: Jan 24 09:27:14.227: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 192.168.22.1:5060;branch=z9hG4bK47D116D3
    Remote-Party-ID: "Sam" <sip:[email protected]>;party=calling;screen=no;privacy=off
    From: "Sam" <sip:[email protected]>;tag=CDCFB8AC-F98
    To: <sip:[email protected]>
    Date: Tue, 24 Jan 2012 09:27:14 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 1787264879-1168380385-2421457215-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327397234
    Contact: <sip:[email protected]:5060>
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 244
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 3237 2021 IN IP4 192.168.22.1
    s=SIP Call
    c=IN IP4 192.168.22.1
    t=0 0
    m=audio 18258 RTP/AVP 8 101
    c=IN IP4 192.168.22.1
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    I made some changes in the router configuration.
    I removed FA0/0.2 Voice interface from Voice service voip configuration (bind control source-interface FastEthernet0/0.2 and bind media source-interface FastEthernet0/0.2). And now it’s using ip address 10.1.1.101 (data ip).
    The debugging is changed now. I can send and receive a respond from SIP server. But  It shows an error: SIP/2.0 404 Not Found
    Then it moves to ISDN line, and use this line to make a call.
    102988: Jan 24 14:45:47.290: //-1/EDCA21089304/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862157774T, Peer Info Type=DIALPEER_INFO_SPEECH
    102989: Jan 24 14:45:47.290: //-1/EDCA21089304/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774T
    102990: Jan 24 14:45:47.290: //-1/EDCA21089304/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    102991: Jan 24 14:45:47.290: //-1/EDCA21089304/DPM/dpMatchPeersMoreArg:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=9000
         2: Dial-peer Tag=2
         3: Dial-peer Tag=1
    102992: Jan 24 14:45:47.290: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Calling Number=90862157774, Called Number=90862157774, Peer Info Type=DIALPEER_INFO_SPEECH
    102993: Jan 24 14:45:47.290: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774
    102994: Jan 24 14:45:47.294: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    102995: Jan 24 14:45:47.294: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=9000
         2: Dial-peer Tag=2
         3: Dial-peer Tag=1
    102996: Jan 24 14:45:47.294: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Calling Number=90862157774, Called Number=, Voice-Interface=0x0,
       Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
       Peer Info Type=DIALPEER_INFO_SPEECH
    102997: Jan 24 14:45:47.294: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=9000
    102998: Jan 24 14:45:47.294: //-1/EDCA21089304/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862157774, Peer Info Type=DIALPEER_INFO_SPEECH
    102999: Jan 24 14:45:47.294: //-1/EDCA21089304/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774
    103000: Jan 24 14:45:47.294: //-1/EDCA21089304/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    103001: Jan 24 14:45:47.294: //-1/EDCA21089304/DPM/dpMatchPeersMoreArg:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=9000
         2: Dial-peer Tag=2
         3: Dial-peer Tag=1
    103002: Jan 24 14:45:47.298: fb_get_reject_cause_code: ERROR cause_code NULL
    103003: Jan 24 14:45:47.310: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.1.1.101:5060;branch=z9hG4bK4875CB9
    Remote-Party-ID: "Sam" <sip:[email protected]>;party=calling;screen=no;privacy=off
    From: "Seam" <sip:[email protected]>;tag=CEF37490-172C
    To: <sip:[email protected]>
    Date: Tue, 24 Jan 2012 14:45:47 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 3989446920-1171263969-2466545983-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327416347
    Contact: <sip:[email protected]:5060>
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 247
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 2438 9821 IN IP4 10.1.1.101
    s=SIP Call
    c=IN IP4 10.1.1.101
    t=0 0
    m=audio 19412 RTP/AVP 8 101
    c=IN IP4 10.1.1.101
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    103004: Jan 24 14:45:47.354: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Received:
    SIP/2.0 404 Not Found
    From: "Sam "<sip:[email protected]>;tag=CEF37490-172C
    To: <sip:[email protected]>;tag=7fad61f03708-100007f-13c4-55013-a0142-10fd12c8-a0142
    Call-ID: [email protected]
    CSeq: 101 INVITE
    Via: SIP/2.0/UDP 10.1.1.101:5060;received=88.99.77.44;branch=z9hG4bK4875CB9
    Content-Length: 0
    103005: Jan 24 14:45:47.362: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    ACK sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.1.1.101:5060;branch=z9hG4bK4875CB9
    From: "Sam " <sip:[email protected]>;tag=CEF37490-172C
    To: <sip:[email protected]>;tag=7fad61f03708-100007f-13c4-55013-a0142-10fd12c8-a0142
    Date: Tue, 24 Jan 2012 14:45:47 GMT
    Call-ID: [email protected]
    Max-Forwards: 70
    CSeq: 101 ACK
    Allow-Events: telephone-event
    Content-Length: 0
    103006: Jan 24 14:45:47.374: %ISDN-6-LAYER2UP: Layer 2 for Interface BR0/0/1, TEI 96 changed to up
    103007: Jan 24 14:45:51.313: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=211, Peer Info Type=DIALPEER_INFO_SPEECH
    103008: Jan 24 14:45:51.313: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=211
    103009: Jan 24 14:45:51.317: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    103010: Jan 24 14:45:51.317: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=20018
    103011: Jan 24 14:45:51.317: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=0862157774, Peer Info Type=DIALPEER_INFO_SPEECH
    103012: Jan 24 14:45:51.317: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=0862157774
    103013: Jan 24 14:45:51.317: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
       No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
    103014: Jan 24 14:45:51.317: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
       Result=NO_MATCH(-1)
    103015: Jan 24 14:46:08.815: %ISDN-6-LAYER2DOWN: Layer 2 for Interface BR0/0/1, TEI 96 changed to down
    2801(config-dial-peer)#
    Then I removed SIP-UA as I was told there is no registration necessary, only Dial-peer configuration.
    But it didn’t affect anything.
    Then I add translate-outgoing called 10 command to dial-peer 9000, nothing happened.
    Really stuck and don't know where to look at.
    Any help will be highly appreciated.
    Thanks.

    Hi Dan.
    Yes, I saw that RTP debugging, but what can I change there? Maybe I need to open more ports on ASA for RTP like 19412?
    I use Cisco ASDM for ASA to make changes.
    There are static NAT rules for: Server source IPs(10.1.1.100) to Outside(translated IPs, 88.99.77.44)  for a few ports.
    Also I added Security policy access rules for LAN: Any to SIP, and Outside: SIP to any.
    For NAT:
    I can't add this: for LAN: STATIC ROUTER IP 10.1.1.101 (AS SOURCE) UDP 5060 TO OUTSIDE IP 88.99.77.44
    (AS TRANSLATED) UDP 5060
    Because there is already translation for the Server.
    Debugging looks like that now. There is no Received: SIP/2.0, but I can make an outside call with no audio.
    116013: Jan 25 15:28:25.584: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Calling Number=90862157774, Called Number=, Voice-Interface=0x0,
       Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
       Peer Info Type=DIALPEER_INFO_SPEECH
    116014: Jan 25 15:28:25.584: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
       Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=9000
    116015: Jan 25 15:28:25.584: //-1/0D0EB9CE9708/DPM/dpMatchPeersCore:
       Calling Number=, Called Number=90862157774, Peer Info Type=DIALPEER_INFO_SPEECH
    116016: Jan 25 15:28:25.584: //-1/0D0EB9CE9708/DPM/dpMatchPeersCore:
       Match Rule=DP_MATCH_DEST; Called Number=90862157774
    116017: Jan 25 15:28:25.584: //-1/0D0EB9CE9708/DPM/dpMatchPeersCore:
       Result=Success(0) after DP_MATCH_DEST
    116018: Jan 25 15:28:25.584: //-1/0D0EB9CE9708/DPM/dpMatchPeersMoreArg:
       Result=SUCCESS(0)
       List of Matched Outgoing Dial-peer(s):
         1: Dial-peer Tag=9000
         2: Dial-peer Tag=2
         3: Dial-peer Tag=1
    116019: Jan 25 15:28:25.588: fb_get_reject_cause_code: ERROR cause_code NULL
    116020: Jan 25 15:28:25.600: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.1.1.101:5060;branch=z9hG4bK491484D
    Remote-Party-ID: "Sam " ;party=calling;screen=no;privacy=off
    From: "Sam " ;tag=D4410748-1C9D
    To:
    Date: Wed, 25 Jan 2012 15:28:25 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 219068878-1184895457-2533916991-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327505305
    Contact:
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 247
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 1984 5803 IN IP4 10.1.1.101
    s=SIP Call
    c=IN IP4 10.1.1.101
    t=0 0
    m=audio 18782 RTP/AVP 8 101
    c=IN IP4 10.1.1.101
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    116021: Jan 25 15:28:26.096: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.1.1.101:5060;branch=z9hG4bK491484D
    Remote-Party-ID: "Sam " ;party=calling;screen=no;privacy=off
    From: "Sam " ;tag=D4410748-1C9D
    To:
    Date: Wed, 25 Jan 2012 15:28:26 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 219068878-1184895457-2533916991-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327505306
    Contact:
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 247
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 1984 5803 IN IP4 10.1.1.101
    s=SIP Call
    c=IN IP4 10.1.1.101
    t=0 0
    m=audio 18782 RTP/AVP 8 101
    c=IN IP4 10.1.1.101
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    116022: Jan 25 15:28:27.096: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.1.1.101:5060;branch=z9hG4bK491484D
    Remote-Party-ID: "Sam " ;party=calling;screen=no;privacy=off
    From: "Sam " ;tag=D4410748-1C9D
    To:
    Date: Wed, 25 Jan 2012 15:28:27 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 219068878-1184895457-2533916991-1958389771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327505307
    Contact:
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 247
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 1984 5803 IN IP4 10.1.1.101
    s=SIP Call
    c=IN IP4 10.1.1.101
    t=0 0
    m=audio 18782 RTP/AVP 8 101
    c=IN IP4 10.1.1.101
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    116026: Jan 25 15:28:57.092: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
    Sent:
    INVITE sip:[email protected]:5060 SIP/2.0
    Via: SIP/2.0/UDP 10.1.1.101:5060;branch=z9hG4bK491484D
    Remote-Party-ID: "Sam" ;party=calling;screen=no;privacy=off
    From: "Sam " ;tag=D4410748-1C9D
    To:
    Date: Wed, 25 Jan 2012 15:28:57 GMT
    Call-ID: [email protected]
    Supported: 100rel,timer,resource-priority,replaces
    Min-SE:  1800
    Cisco-Guid: 219068878-1184895457-2533916991-1958389preference 1771
    User-Agent: Cisco-SIPGateway/IOS-12.x
    Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
    CSeq: 101 INVITE
    Max-Forwards: 70
    Timestamp: 1327505337
    Contact:
    Expires: 180
    Allow-Events: telephone-event
    Content-Type: application/sdp
    Content-Disposition: session;handling=required
    Content-Length: 247
    v=0
    o=CiscoSystemsSIP-GW-UserAgent 1984 5803 IN IP4 10.1.1.101
    s=SIP Call
    c=IN IP4 10.1.1.101
    t=0 0
    m=audio 18782 RTP/AVP 8 101
    c=IN IP4 10.1.1.101
    a=rtpmap:8 PCMA/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-16
    a=ptime:20
    I'll add Incoming dial-peer now.
    Not sure what kind of NAT rule should I put into ASA to allow in and out sip traffic.
    Appretiate your help.
    Thanks a mill.

  • When i click on a single photo or a folder in finder, preview opens virtually every photograph on my computer in rapid-fire succession. I made a video showing what happens and will try to attach it. Please help.

    Please help. when I click on a single picture or a folder of photos in finder, preview launches and opens virtually all photos in rapid fire succession. I turned off the setting that restores open windows when you restart the computer. That did not help. It has assigned the name  "untitled" to my photos. i don't know what to do. Apple doesn't know what to do. the imac was purchased 6 months ago from apple store in king of prussia PA. I have taken a video showing what happens. i can send this to anyone who wants to see what is going on.
    Please help. This problem persists after restarting and after closing everything down.

    Process: Preview [3268]
    Path: /Applications/Preview.app/Contents/MacOS/Preview
    Identifier: com.apple.Preview
    Version:         5.5.2 (719.25)
    Build Info: Preview-719025000000000~8
    Code Type: X86-64 (Native)
    Parent Process: launchd [916]
    Date/Time: 2012-07-08 13:49:24.147 -0400
    OS Version:      Mac OS X 10.7.4 (11E53)
    Report Version:  9
    Interval Since Last Report:          3771442 sec
    Crashes Since Last Report:           1
    Per-App Interval Since Last Report:  1810338 sec
    Per-App Crashes Since Last Report:   1
    Anonymous UUID: B388121D-AFAB-4591-96E0-89D6998B0CC5
    Crashed Thread: 0  Dispatch queue: com.apple.main-thread
    Exception Type: EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x000000010a70ecec
    VM Regions Near 0x10a70ecec:
        IOKit (reserved) 000000010a68d000-000000010a70d000 [ 512K] rw-/rw- SM=NUL  reserved VM address space (unallocated)
    -->
        MALLOC_LARGE           000000010a725000-000000010a777000 [  328K] rw-/rwx SM=PRV 
    Application Specific Information:
    objc[3268]: garbage collection is OFF
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0 com.apple.CoreGraphics              0x00007fff8c43df9b sseCGSFill8by1 + 155
    1 com.apple.CoreGraphics              0x00007fff8c471fb6 argb32_mark_constshape + 547
    2 com.apple.CoreGraphics              0x00007fff8c4719c3 argb32_mark + 235
    3 libRIP.A.dylib                    0x00007fff8aabf100 ripl_BltShape + 1737
    4 libRIP.A.dylib                    0x00007fff8aabc3af ripc_Render + 362
    5 libRIP.A.dylib                    0x00007fff8aab8c86 ripc_DrawRects + 660
    6 com.apple.CoreGraphics              0x00007fff8c46dc9f CGContextFillRects + 135
    7 com.apple.AppKit                         0x00007fff8b8924b3 NSRectFill + 227
    8 com.apple.AppKit                         0x00007fff8b819a67 -[NSView _drawRect:clip:] + 3995
    9 com.apple.AppKit                         0x00007fff8b817719 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 3020
    10 com.apple.AppKit                       0x00007fff8b963560 -[NSNextStepFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 274
    11 com.apple.AppKit                       0x00007fff8b81186f -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4755
    12 com.apple.AppKit                       0x00007fff8b80a2ed -[NSView displayIfNeeded] + 1676
    13 com.apple.AppKit                       0x00007fff8b963438 -[NSNextStepFrame displayIfNeeded] + 83
    14  com.apple.AppKit                       0x00007fff8b809a2d _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 648
    15 com.apple.CoreFoundation        0x00007fff81e848e7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
    16 com.apple.CoreFoundation        0x00007fff81e84846 __CFRunLoopDoObservers + 374
    17 com.apple.CoreFoundation        0x00007fff81e59af9 __CFRunLoopRun + 825
    18 com.apple.CoreFoundation        0x00007fff81e59486 CFRunLoopRunSpecific + 230
    19 com.apple.CoreFoundation        0x00007fff81e6919f CFRunLoopRun + 95
    20 com.apple.RemoteViewServices            0x00007fff8c3d2bdc -[NSRemoteSavePanel beginSheetModalForWindow:completionHandler:] + 432
    21 com.apple.AppKit                       0x00007fff8bb6cff9 __-[NSDocument runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:]_block_ invoke_2 + 950
    22 com.apple.AppKit                       0x00007fff8bb7b805 -[NSDocument _commitEditingThenContinue:] + 337
    23 com.apple.AppKit                       0x00007fff8bb774d2 -[NSDocument _commitEditingWithDelegate:didSomethingSelector:contextInfo:thenContinue:] + 91
    24 com.apple.AppKit                       0x00007fff8bb6cbdb __-[NSDocument runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:]_block_ invoke_1 + 208
    25 com.apple.AppKit                       0x00007fff8bb8491d -[NSDocument performActivityWithSynchronousWaiting:usingBlock:] + 82
    26 com.apple.AppKit                       0x00007fff8bb6cb05 -[NSDocument runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:] + 96
    27 com.apple.AppKit                       0x00007fff8bb6c1a4 __-[NSDocument saveDocumentWithDelegate:didSaveSelector:contextInfo:]_block_invoke_3 + 138
    28 com.apple.AppKit                       0x00007fff8bb6879f -[NSDocument continueActivityUsingBlock:] + 42
    29  com.apple.AppKit                       0x00007fff8bb6c06b __-[NSDocument saveDocumentWithDelegate:didSaveSelector:contextInfo:]_block_invoke_2 + 496
    30 com.apple.AppKit                       0x00007fff8bb7b805 -[NSDocument _commitEditingThenContinue:] + 337
    31  com.apple.AppKit                       0x00007fff8bb774d2 -[NSDocument _commitEditingWithDelegate:didSomethingSelector:contextInfo:thenContinue:] + 91
    32 com.apple.AppKit                       0x00007fff8bb6be13 __-[NSDocument saveDocumentWithDelegate:didSaveSelector:contextInfo:]_block_invoke_1 + 192
    33 com.apple.AppKit                       0x00007fff8bb8491d -[NSDocument performActivityWithSynchronousWaiting:usingBlock:] + 82
    34 com.apple.AppKit                       0x00007fff8bb6bd4d -[NSDocument saveDocumentWithDelegate:didSaveSelector:contextInfo:] + 92
    35 com.apple.Preview                     0x00000001036c7ed6 0x1035ff000 + 822998
    36 com.apple.AppKit                       0x00007fff8bb898ff __-[NSDocument canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:]_block_invoke_8 + 131
    37  com.apple.AppKit                       0x00007fff8bb6879f -[NSDocument continueActivityUsingBlock:] + 42
    38 com.apple.AppKit                       0x00007fff8bb71ca9 __-[NSDocument canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:]_block_invoke_1 + 1111
    39  com.apple.AppKit                       0x00007fff8bb84acf -[NSDocument performActivityWithSynchronousWaiting:usingBlock:] + 516
    40 com.apple.AppKit                       0x00007fff8bb71850 -[NSDocument canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:] + 291
    41  com.apple.Preview                     0x0000000103627d89 0x1035ff000 + 167305
    42 com.apple.Preview                     0x0000000103627bd0 0x1035ff000 + 166864
    43 com.apple.Preview                     0x0000000103627987 0x1035ff000 + 166279
    44 com.apple.Preview                     0x00000001036277b8 0x1035ff000 + 165816
    45 com.apple.AppKit                       0x00007fff8be62ef2 -[NSWindow __close] + 286
    46 com.apple.AppKit                       0x00007fff8be62c05 -[NSWindow _batchClose] + 65
    47 com.apple.Preview                     0x00000001036fbbb8 0x1035ff000 + 1035192
    48 com.apple.CoreFoundation        0x00007fff81ebbfb1 -[NSObject performSelector:] + 49
    49 com.apple.AppKit                       0x00007fff8b7cb91b -[NSApplication makeWindowsPerform:inOrder:] + 217
    50 com.apple.AppKit                       0x00007fff8ba7bae5 -[NSApplication _makeWindowsPerform:forEvent:inWindow:standardWindowButton:] + 29
    51 com.apple.CoreFoundation        0x00007fff81eb470d -[NSObject performSelector:withObject:] + 61
    52 com.apple.AppKit                       0x00007fff8b8d0f7e -[NSApplication sendAction:to:from:] + 139
    53 com.apple.AppKit                       0x00007fff8b9bdbfb -[NSMenuItem _corePerformAction] + 399
    54 com.apple.AppKit                       0x00007fff8b9bd932 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 125
    55 com.apple.AppKit                       0x00007fff8b93b524 -[NSMenu performKeyEquivalent:] + 281
    56 com.apple.AppKit                       0x00007fff8b93a175 -[NSApplication _handleKeyEquivalent:] + 526
    57 com.apple.AppKit                       0x00007fff8b833536 -[NSApplication sendEvent:] + 4282
    58 com.apple.Preview                     0x0000000103601d4c 0x1035ff000 + 11596
    59 com.apple.AppKit                       0x00007fff8b7ca0c6 -[NSApplication run] + 555
    60 com.apple.AppKit                       0x00007fff8ba46244 NSApplicationMain + 867
    61 com.apple.Preview                     0x00000001036007f4 0x1035ff000 + 6132
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0 libsystem_kernel.dylib                 0x00007fff819bd7e6 kevent + 10
    1 libdispatch.dylib              0x00007fff8ac6778a _dispatch_mgr_invoke + 923
    2 libdispatch.dylib              0x00007fff8ac6631a _dispatch_mgr_thread + 54
    Thread 2:
    0 libsystem_kernel.dylib                 0x00007fff819bd192 __workq_kernreturn + 10
    1 libsystem_c.dylib              0x00007fff856af594 _pthread_wqthread + 758
    2 libsystem_c.dylib              0x00007fff856b0b85 start_wqthread + 13
    Thread 3:
    0 libsystem_kernel.dylib                 0x00007fff819bd192 __workq_kernreturn + 10
    1 libsystem_c.dylib              0x00007fff856af594 _pthread_wqthread + 758
    2 libsystem_c.dylib              0x00007fff856b0b85 start_wqthread + 13
    Thread 4:: Dispatch queue: com.apple.root.default-priority
    0 libsystem_kernel.dylib                 0x00007fff819bb6ce semaphore_timedwait_trap + 10
    1 libdispatch.dylib              0x00007fff8ac69270 _dispatch_semaphore_wait_slow + 211
    2 com.apple.RemoteViewServices             0x00007fff8c3d234e __54-[NSRemoteSavePanel _runOrderingOperationWithContext:]_block_invoke_0323 + 64
    3 libdispatch.dylib              0x00007fff8ac65a86 _dispatch_call_block_and_release + 18
    4 libdispatch.dylib              0x00007fff8ac66965 _dispatch_worker_thread2 + 255
    5 libsystem_c.dylib              0x00007fff856af3da _pthread_wqthread + 316
    6 libsystem_c.dylib              0x00007fff856b0b85 start_wqthread + 13
    Thread 5:
    0 libsystem_kernel.dylib                 0x00007fff819bd192 __workq_kernreturn + 10
    1 libsystem_c.dylib              0x00007fff856af594 _pthread_wqthread + 758
    2 libsystem_c.dylib              0x00007fff856b0b85 start_wqthread + 13
    Thread 6:
    0 libsystem_kernel.dylib                 0x00007fff819bd192 __workq_kernreturn + 10
    1 libsystem_c.dylib              0x00007fff856af594 _pthread_wqthread + 758
    2 libsystem_c.dylib              0x00007fff856b0b85 start_wqthread + 13
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000003  rbx: 0x0000000000000000  rcx: 0x0000000000000280  rdx: 0x0000000000000000
      rdi: 0x0000000000000280  rsi: 0x0000000000000000  rbp: 0x00007fff631fa0c0  rsp: 0x00007fff631fa098
       r8: 0x000000010a70ecec   r9: 0x0000000000000000  r10: 0x0000000000000440  r11: 0x0000000000000001
      r12: 0x00007fc553e72a60  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x00007fc553e7378c
      rip: 0x00007fff8c43df9b  rfl: 0x0000000000010202  cr2: 0x000000010a70ecec
    Logical CPU: 2
    Binary Images:
           0x1035ff000 -        0x1037e3fef  com.apple.Preview (5.5.2 - 719.25) <EF424E00-DDDF-321B-A789-8273F8BAEE48> /Applications/Preview.app/Contents/MacOS/Preview
           0x103876000 -        0x103895ff7  com.apple.MediaUI (1.0 - 1) <62F2783A-413F-3E6F-849D-B748D726DE81> /System/Library/PrivateFrameworks/MediaUI.framework/Versions/A/MediaUI
           0x103a17000 -        0x103a25fff  com.apple.Librarian (1.0.1 - 1) <8479DC40-D188-3262-B33F-BC08E46AFD4D> /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian
           0x105edc000 -        0x105ee2fef  libcldcpuengine.dylib (1.50.69 - compatibility 1.0.0) <303313AD-2D57-37A5-922B-3194C5DCD007> /System/Library/Frameworks/OpenCL.framework/Libraries/libcldcpuengine.dylib
           0x105ee9000 -        0x105eecff7  libCoreFSCache.dylib (??? - ???) <70D5EB80-24F5-3837-9302-EBD4CFCE5CBA> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache .dylib
           0x105ef4000 -        0x105ef4ffd +cl_kernels (??? - ???) <8F424F91-546C-4612-B8C1-F7844F9B45D7> cl_kernels
           0x105efa000 -        0x105efbff3 +cl_kernels (??? - ???) <871199D1-8041-496D-982D-7149CE363CFD> cl_kernels
           0x105f05000 -        0x105f06ffc +cl_kernels (??? - ???) <C541B738-4853-474C-BA6D-745EA88533D6> cl_kernels
           0x105f17000 -        0x105f18ff3 +cl_kernels (??? - ???) <7361CFF4-57C2-4D70-9605-5A20A94328B8> cl_kernels
           0x1082d1000 -        0x10846afff  GLEngine (??? - ???) <61484217-C41D-3A65-86BD-397ACC0D069F> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
           0x10849e000 -        0x108597fff  libGLProgrammability.dylib (??? - ???) <7396EE13-5FA6-3E78-88D0-2502CFE79A97> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
           0x1085bd000 -        0x108885ff7  com.apple.ATIRadeonX3000GLDriver (7.18.18 - 7.1.8) <337EB117-0CB0-3C9E-AEE8-76BCB3CB9371> /System/Library/Extensions/ATIRadeonX3000GLDriver.bundle/Contents/MacOS/ATIRade onX3000GLDriver
           0x1088d0000 -        0x1088feff7  GLRendererFloat (??? - ???) <E33704BC-AA25-3279-A585-ABC6B3176D3E> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GL RendererFloat
           0x10968c000 -        0x1096acfff  com.apple.ChunkingLibrary (1.0 - 127) <ED9D3079-A201-30D8-9FC4-2F5860100E63> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/Chunking Library
           0x109994000 -        0x1099d1fff  com.apple.Ubiquity (1.1 - 210) <E198603B-C205-3366-82BD-7D642FF2F909> /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
           0x10aa10000 -        0x10aaa3ff7  unorm8_bgra.dylib (1.50.69 - compatibility 1.0.0) <5FB796A4-1AD0-3B4D-AA83-F8A46E039224> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_bgra. dylib
        0x7fff631ff000 -     0x7fff63233baf  dyld (195.6 - ???) <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld
        0x7fff81322000 -     0x7fff81328fff  libmacho.dylib (800.0.0 - compatibility 1.0.0) <D86F63EC-D2BD-32E0-8955-08B5EAFAD2CC> /usr/lib/system/libmacho.dylib
        0x7fff81329000 -     0x7fff81329fff  com.apple.quartzframework (1.5 - 1.5) <21FCC91F-C7B9-304F-8C9C-04F3924F4AE3> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
        0x7fff81680000 -     0x7fff81712ff7  com.apple.CorePDF (3.1 - 3.1) <F81F99A9-7FF6-3A6A-92C7-78C76BA35777> /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF
        0x7fff81713000 -     0x7fff81725ff7  libsasl2.2.dylib (3.15.0 - compatibility 3.0.0) <6245B497-784B-355C-98EF-2DC6B45BF05C> /usr/lib/libsasl2.2.dylib
        0x7fff8193a000 -     0x7fff819a5ff7  com.apple.framework.IOKit (2.0 - ???) <6C604894-7F61-3130-8499-20791D14577F> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
        0x7fff819a6000 -     0x7fff819c6fff  libsystem_kernel.dylib (1699.26.8 - compatibility 1.0.0) <1DDC0B0F-DB2A-34D6-895D-E5B2B5618946> /usr/lib/system/libsystem_kernel.dylib
        0x7fff819c7000 -     0x7fff81a1bff7  com.apple.ScalableUserInterface (1.0 - 1) <1873D7BE-2272-31A1-8F85-F70C4D706B3B> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableU serInterface.framework/Versions/A/ScalableUserInterface
        0x7fff81a5f000 -     0x7fff81a7cff7  com.apple.openscripting (1.3.3 - ???) <BDCCCBA9-F440-30BD-8378-FAB5AF685A5D> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
        0x7fff81a7d000 -     0x7fff81a93fff  libGL.dylib (??? - ???) <6A473BF9-4D35-34C6-9F8B-86B68091A9AF> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
        0x7fff81a94000 -     0x7fff81b5bff7  com.apple.ColorSync (4.7.4 - 4.7.4) <590AFCDA-F10E-31FE-9B01-DA5FFE74C2BB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
        0x7fff81b5c000 -     0x7fff81b60fff  libdyld.dylib (195.5.0 - compatibility 1.0.0) <F1903B7A-D3FF-3390-909A-B24E09BAD1A5> /usr/lib/system/libdyld.dylib
        0x7fff81b61000 -     0x7fff81b64fff  com.apple.AppleSystemInfo (1.0 - 1) <598ADC13-C994-3579-A885-0D6658DDD564> /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSys temInfo
        0x7fff81b65000 -     0x7fff81b68fff  com.apple.help (1.3.2 - 42) <AB67588E-7227-3993-927F-C9E6DAC507FD> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
        0x7fff81be0000 -     0x7fff81be0fff  com.apple.CoreServices (53 - 53) <043C8026-8EDD-3241-B090-F589E24062EF> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
        0x7fff81c56000 -     0x7fff81c7ffff  com.apple.CoreVideo (1.7 - 70.3) <9A9D4058-9935-3B0A-B1A6-27EB78D02249> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
        0x7fff81c80000 -     0x7fff81cc4ff7  com.apple.MediaKit (12 - 602) <0C2CBEDA-412F-3DDF-9C74-44114E5E0DB9> /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit
        0x7fff81cc5000 -     0x7fff81cc6fff  liblangid.dylib (??? - ???) <CACBE3C3-2F7B-3EED-B50E-EDB73F473B77> /usr/lib/liblangid.dylib
        0x7fff81cc7000 -     0x7fff81cddff7  com.apple.ImageCapture (7.0.1 - 7.0.1) <BF4EC1CC-C998-3529-A69F-765774C66A6F> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
        0x7fff81e21000 -     0x7fff81ff5ff7  com.apple.CoreFoundation (6.7.2 - 635.21) <62A3402E-A4E7-391F-AD20-1EF20236CE1B> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7fff81ff6000 -     0x7fff82042ff7  com.apple.SystemConfiguration (1.11.3 - 1.11) <0A7F1982-B4EA-3424-A0C7-FE46C6224F03> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
        0x7fff82043000 -     0x7fff8205dfff  com.apple.CoreMediaAuthoring (2.0 - 891) <C7A92C52-AD9F-3CF1-86D5-C0714118935C> /System/Library/PrivateFrameworks/CoreMediaAuthoring.framework/Versions/A/CoreM ediaAuthoring
        0x7fff8205e000 -     0x7fff8205efff  com.apple.ApplicationServices (41 - 41) <03F3FA8F-8D2A-3AB6-A8E3-40B001116339> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
        0x7fff8205f000 -     0x7fff82348ff7  com.apple.security (7.0 - 55148.1) <E9C46204-1336-3D90-BC67-5162FC7079D2> /System/Library/Frameworks/Security.framework/Versions/A/Security
        0x7fff82349000 -     0x7fff823dcff7  com.apple.PDFKit (2.6.3 - 2.6.3) <49BF9CDC-E902-3CAC-9C04-3302545907D5> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
        0x7fff823dd000 -     0x7fff823f4fff  com.apple.CFOpenDirectory (10.7 - 144) <9709423E-8484-3B26-AAE8-EF58D1B8FB3F> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpen Directory.framework/Versions/A/CFOpenDirectory
        0x7fff8312d000 -     0x7fff83132fff  libGIF.dylib (??? - ???) <8763F67F-A881-30B6-B20E-D395B4D9FD58> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
        0x7fff83133000 -     0x7fff83139fff IOSurface (??? - ???) <77C6757B-D357-3E34-9424-48F962B5CC9C> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
        0x7fff8313a000 -     0x7fff831beff7  com.apple.ApplicationServices.ATS (317.11.0 - ???) <082DEAFE-8A93-3AF2-B4E5-30012E725929> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
        0x7fff831cf000 -     0x7fff8324aff7  com.apple.print.framework.PrintCore (7.1 - 366.3) <C5F39A82-0E77-3AD6-906A-20DD2EE8D374> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
        0x7fff8324b000 -     0x7fff83274fff  libJPEG.dylib (??? - ???) <64D079F9-256A-323B-A837-84628B172F21> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
        0x7fff83275000 -     0x7fff832ddff7  com.apple.audio.CoreAudio (4.0.2 - 4.0.2) <DFD8F4DE-3B45-3A2E-9CBE-FD8D5DD30923> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
        0x7fff8331f000 -     0x7fff83320fff  libdnsinfo.dylib (395.11.0 - compatibility 1.0.0) <853BAAA5-270F-3FDC-B025-D448DB72E1C3> /usr/lib/system/libdnsinfo.dylib
        0x7fff83321000 -     0x7fff83341fff  libPng.dylib (??? - ???) <F4D84592-C450-3076-88E9-8E6517C7EF33> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
        0x7fff83342000 -     0x7fff83342fff  libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
        0x7fff83343000 -     0x7fff83427fff  com.apple.CoreServices.OSServices (478.46 - 478.46) <70BEE269-8F4D-3FDC-B1AD-A591C0CB37E5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
        0x7fff83428000 -     0x7fff838effff  FaceCoreLight (1.4.7 - compatibility 1.0.0) <BDD0E1DE-CF33-3AF8-B33B-4D1574CCC19D> /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLi ght
        0x7fff838f0000 -     0x7fff838f4fff  libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib
        0x7fff838f5000 -     0x7fff83957ff7  com.apple.Symbolication (1.3 - 91) <B072970E-9EC1-3495-A1FA-D344C6E74A13> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolicat ion
        0x7fff83958000 -     0x7fff83980fff  com.apple.PerformanceAnalysis (1.11 - 11) <8D4C6382-DD92-37A2-BCFC-E89951320848> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/Perf ormanceAnalysis
        0x7fff83981000 -     0x7fff83a17ff7  libvMisc.dylib (325.4.0 - compatibility 1.0.0) <642D8D54-F9F5-3FBB-A96C-EEFE94C6278B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
        0x7fff83a37000 -     0x7fff83b9efff  com.apple.CFNetwork (520.4.3 - 520.4.3) <31D7A595-375E-341A-8E97-21E73CC62E4A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
        0x7fff83b9f000 -     0x7fff83fd2ff7  com.apple.VideoToolbox (1.0 - 705.78) <7F115540-88CF-3087-951A-7073F7D58F4D> /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbo x
        0x7fff83fd3000 -     0x7fff83fd8fff  libcache.dylib (47.0.0 - compatibility 1.0.0) <B7757E2E-5A7D-362E-AB71-785FE79E1527> /usr/lib/system/libcache.dylib
        0x7fff84208000 -     0x7fff84521fff  com.apple.Foundation (6.7.2 - 833.25) <22AAC369-B63C-3C55-8AC6-C3ECBA44DA7B> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
        0x7fff84522000 -     0x7fff84527ff7  libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib
        0x7fff84528000 -     0x7fff84535ff7  libbz2.1.0.dylib (1.0.5 - compatibility 1.0.0) <8EDE3492-D916-37B2-A066-3E0F054411FD> /usr/lib/libbz2.1.0.dylib
        0x7fff84539000 -     0x7fff8458cfff  com.apple.AppleVAFramework (5.0.14 - 5.0.14) <E3FE9B47-2276-3316-B2D2-85784AD2D9B3> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
        0x7fff8458d000 -     0x7fff848a9fff  com.apple.CoreServices.CarbonCore (960.24 - 960.24) <6F99A26B-788F-37B9-860F-508906EC06D7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
        0x7fff848aa000 -     0x7fff84906ff7  com.apple.HIServices (1.21 - ???) <9645CFA8-63BE-3A0D-A636-56D9827E6C8C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
        0x7fff84907000 -     0x7fff8490eff7  com.apple.CommerceCore (1.0 - 17) <AA783B87-48D4-3CA6-8FF6-0316396022F4> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/C ommerceCore.framework/Versions/A/CommerceCore
        0x7fff8496c000 -     0x7fff84997ff7  com.apple.CoreServicesInternal (113.17 - 113.17) <B1DF81C3-9C23-3BAE-9DE8-21EAFEEB97B8> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/Cor eServicesInternal
        0x7fff84998000 -     0x7fff8499efff  com.apple.DiskArbitration (2.4.1 - 2.4.1) <CEA34337-63DE-302E-81AA-10D717E1F699> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
        0x7fff8499f000 -     0x7fff8499ffff  com.apple.audio.units.AudioUnit (1.7.2 - 1.7.2) <04C10813-CCE5-3333-8C72-E8E35E417B3B> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
        0x7fff849a0000 -     0x7fff849b5fff  com.apple.speech.synthesis.framework (4.0.74 - 4.0.74) <C061ECBB-7061-3A43-8A18-90633F943295> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
        0x7fff84ad8000 -     0x7fff84afcfff  com.apple.Kerberos (1.0 - 1) <1F826BCE-DA8F-381D-9C4C-A36AA0EA1CB9> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
        0x7fff84afd000 -     0x7fff84afdfff  com.apple.Cocoa (6.6 - ???) <021D4214-9C23-3CD8-AFB2-F331697A4508> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
        0x7fff84afe000 -     0x7fff84bf3fff  libiconv.2.dylib (7.0.0 - compatibility 7.0.0) <5C40E880-0706-378F-B864-3C2BD922D926> /usr/lib/libiconv.2.dylib
        0x7fff84c6e000 -     0x7fff84c6fff7  libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib
        0x7fff84ca6000 -     0x7fff84d8ae5f  libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <871E688B-CF57-3BC7-80D6-F6476DFF109B> /usr/lib/libobjc.A.dylib
        0x7fff84d8b000 -     0x7fff84dc6fff  libsystem_info.dylib (??? - ???) <35F90252-2AE1-32C5-8D34-782C614D9639> /usr/lib/system/libsystem_info.dylib
        0x7fff84dc7000 -     0x7fff84df7ff7  com.apple.DictionaryServices (1.2.1 - 158.2) <3FC86118-7553-38F7-8916-B329D2E94476> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
        0x7fff84df8000 -     0x7fff85301ff7  com.apple.RawCamera.bundle (3.14.0 - 646) <75A96BFC-1832-808B-F430-C4C9379C5A98> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
        0x7fff85302000 -     0x7fff8530ffff  libCSync.A.dylib (600.0.0 - compatibility 64.0.0) <528BAA66-C38C-3093-84B5-92A7832CE7BC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
        0x7fff85561000 -     0x7fff8565eff7  com.apple.avfoundation (2.0 - 180.40) <ED3DCB15-7E88-34FD-9E56-4ECAD10A6E7E> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
        0x7fff8565f000 -     0x7fff8573cfef  libsystem_c.dylib (763.13.0 - compatibility 1.0.0) <41B43515-2806-3FBC-ACF1-A16F35B7E290> /usr/lib/system/libsystem_c.dylib
        0x7fff8573d000 -     0x7fff8576afff  com.apple.quartzfilters (1.7.0 - 1.7.0) <ED846829-EBF1-3E2F-9EA6-D8743E5A4784> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters .framework/Versions/A/QuartzFilters
        0x7fff86249000 -     0x7fff86473fe7  com.apple.CoreData (104.1 - 358.14) <6BB64605-8DA7-337D-A2AB-A3346A421CBD> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
        0x7fff86474000 -     0x7fff86552fff  com.apple.DiscRecording (6.0.4 - 6040.4.1) <E6D5835F-EE3C-3814-A2EE-6962B5570EF1> /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording
        0x7fff86553000 -     0x7fff8655cff7  libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) <A4D651E3-D1C6-3934-AD49-7A104FD14596> /usr/lib/system/libsystem_notify.dylib
        0x7fff8658a000 -     0x7fff86591fff  com.apple.NetFS (4.0 - 4.0) <B9F41443-679A-31AD-B0EB-36557DAF782B> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
        0x7fff86592000 -     0x7fff86b76fff  libBLAS.dylib (??? - ???) <C34F6D88-187F-33DC-8A68-C0C9D1FA36DF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
        0x7fff86b77000 -     0x7fff86be7fff  com.apple.datadetectorscore (3.0 - 179.4) <9C01D16F-75A9-3BDD-B91A-F0F32261A2E7> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDe tectorsCore
        0x7fff86be8000 -     0x7fff86be8fff  com.apple.vecLib (3.7 - vecLib 3.7) <9A58105C-B36E-35B5-812C-4ED693F2618F> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
        0x7fff86be9000 -     0x7fff86be9fff  com.apple.Accelerate (1.7 - Accelerate 1.7) <82DDF6F5-FBC3-323D-B71D-CF7ABC5CF568> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
        0x7fff86bea000 -     0x7fff86beafff  com.apple.Accelerate.vecLib (3.7 - vecLib 3.7) <C06A140F-6114-3B8B-B080-E509303145B8> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
        0x7fff86c68000 -     0x7fff86cebfef  com.apple.Metadata (10.7.0 - 627.32) <38735923-2EB5-3133-BE36-BDD65A7E47DB> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
        0x7fff86def000 -     0x7fff86df0fff  libDiagnosticMessagesClient.dylib (??? - ???) <3DCF577B-F126-302B-BCE2-4DB9A95B8598> /usr/lib/libDiagnosticMessagesClient.dylib
        0x7fff86e0e000 -     0x7fff86e62fff  libFontRegistry.dylib (??? - ???) <822DD341-C735-36C9-9521-E8E98807D09D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
        0x7fff86e92000 -     0x7fff86eccfe7  com.apple.DebugSymbols (2.1 - 87) <ED2B177C-4146-3715-91DF-D99A8ED5449A> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbol s
        0x7fff86ecd000 -     0x7fff86ed2fff  libpam.2.dylib (3.0.0 - compatibility 3.0.0) <D952F17B-200A-3A23-B9B2-7C1F7AC19189> /usr/lib/libpam.2.dylib
        0x7fff871b7000 -     0x7fff87310fff  com.apple.audio.toolbox.AudioToolbox (1.7.2 - 1.7.2) <0AD8197C-1BA9-30CD-98F1-4CA2C6559BA8> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
        0x7fff87311000 -     0x7fff8731cff7  com.apple.speech.recognition.framework (4.0.21 - 4.0.21) <6540EAF2-E3BF-3D2E-B4C1-F106180D6F20> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
        0x7fff8731d000 -     0x7fff87334fff  com.apple.MultitouchSupport.framework (231.4 - 231.4) <10A978D1-8781-33F0-BE45-60C9171F7278> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/Multit ouchSupport
        0x7fff87335000 -     0x7fff8738dfff  libTIFF.dylib (??? - ???) <A0FF68DE-2935-30E7-B61C-4D9D70E14AD0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
        0x7fff8738e000 -     0x7fff87518fff  com.apple.QTKit (7.7.1 - 2330) <4B5363D4-4854-342F-8B95-DE6559075B46> /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
        0x7fff87519000 -     0x7fff87524ff7  com.apple.bsd.ServiceManagement (2.0 - 2.0) <F260D4A7-C727-3FB6-8525-50E279BF9BAF> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManage ment
        0x7fff87525000 -     0x7fff87604ff7  com.apple.ImageIO.framework (3.1.2 - 3.1.2) <FFA7532B-336A-3F0B-9AB9-2A35B56ED887> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
        0x7fff87772000 -     0x7fff87839ff7  ColorSyncDeprecated.dylib (4.6.0 - compatibility 1.0.0) <7E2E109C-A438-3EDC-A6EB-3EF634A1B28B> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.f ramework/Versions/A/Resources/ColorSyncDeprecated.dylib
        0x7fff8783a000 -     0x7fff8787aff7  libcups.2.dylib (2.9.0 - compatibility 2.0.0) <5328C0AB-F169-3786-A3EC-9E82E960CAAF> /usr/lib/libcups.2.dylib
        0x7fff8787b000 -     0x7fff87886ff7  com.apple.aps.framework (2.1 - 2.1) <D0C49BA6-A5FB-3DBD-AFCC-7B6F056A57A7> /System/Library/PrivateFrameworks/ApplePushService.framework/Versions/A/ApplePu shService
        0x7fff87887000 -     0x7fff87889fff  libCVMSPluginSupport.dylib (??? - ???) <1C73D331-6F6C-3872-A011-1C41FBF49F2A> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginS upport.dylib
        0x7fff87a89000 -     0x7fff87a9bff7  libz.1.dylib (1.2.5 - compatibility 1.0.0) <30CBEF15-4978-3DED-8629-7109880A19D4> /usr/lib/libz.1.dylib
        0x7fff87b13000 -     0x7fff87b70ff7  com.apple.QuickLookFramework (3.2 - 500.16) <46017A4B-9E2B-329C-A8D9-2C11DE6C1A47> /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
        0x7fff87b86000 -     0x7fff87bc8ff7  libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <A5B9778E-11C3-3F61-B740-1F2114E967FB> /usr/lib/system/libcommonCrypto.dylib
        0x7fff87bc9000 -     0x7fff87bcbfff  com.apple.TrustEvaluationAgent (2.0 - 1) <1F31CAFF-C1C6-33D3-94E9-11B721761DDF> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/Tru stEvaluationAgent
        0x7fff87bee000 -     0x7fff87e63ff7  com.apple.imageKit (2.1.2 - 1.0) <5BAA52A9-F359-31E4-8109-74EBCEB626B4> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.fram ework/Versions/A/ImageKit
        0x7fff87e8e000 -     0x7fff87ed5ff7  com.apple.CoreMedia (1.0 - 705.78) <F6EA2328-FD3E-3057-80C7-C9845837F863> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
        0x7fff87ed6000 -     0x7fff87ee5ff7  libxar-nossl.dylib (??? - ???) <A6ABBFB9-E4ED-38AD-BBBB-F9958B9CEFB5> /usr/lib/libxar-nossl.dylib
        0x7fff87ee6000 -     0x7fff87f4ffff  com.apple.coreui (1.2.2 - 165.10) <F427BF39-3E01-3DC6-A63D-BFC50FE6C72E> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
        0x7fff87f8f000 -     0x7fff87fabff7  com.apple.GenerationalStorage (1.0 - 126.1) <509F52ED-E54B-3FEF-B3C2-759387B826E6> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Gene rationalStorage
        0x7fff87fac000 -     0x7fff87fbafff  com.apple.NetAuth (1.0 - 3.0) <F384FFFD-70F6-3B1C-A886-F5B446E456E7> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
        0x7fff87fe7000 -     0x7fff8808cfff  com.apple.ink.framework (1.4 - 110) <F93B76B3-E57C-3805-B20D-03717A3F91DD> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
        0x7fff8808d000 -     0x7fff88187ff7  com.apple.DiskImagesFramework (10.7.4 - 331.6) <C7860B00-E1CF-3851-9A3B-9F145B7F498F> /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages
        0x7fff88188000 -     0x7fff8818afff  libquarantine.dylib (36.6.0 - compatibility 1.0.0) <0EBF714B-4B69-3E1F-9A7D-6BBC2AACB310> /usr/lib/system/libquarantine.dylib
        0x7fff8818b000 -     0x7fff8838dfff  libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <38CD6ED3-C8E4-3CCD-89AC-9C3198803101> /usr/lib/libicucore.A.dylib
        0x7fff8838e000 -     0x7fff88390ff7  com.apple.print.framework.Print (7.4 - 247.3) <626C58D5-2841-3329-8C32-9F4A8353F3E7> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
        0x7fff88391000 -     0x7fff883d0fff  com.apple.AE (527.7 - 527.7) <B82F7ABC-AC8B-3507-B029-969DD5CA813D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
        0x7fff883d1000 -     0x7fff883d7ff7  libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
        0x7fff883d8000 -     0x7fff88b6cfef  com.apple.CoreAUC (6.16.11 - 6.16.11) <3D40FEA5-AFE7-3752-A52E-D0F80304320A> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
        0x7fff88b6d000 -     0x7fff88b72fff  libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
        0x7fff88b77000 -     0x7fff88ea3ff7  com.apple.HIToolbox (1.9 - ???) <B7D2A06B-7BE5-3355-BF7D-8139100B9B97> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
        0x7fff88ef1000 -     0x7fff88f1cff7  libxslt.1.dylib (3.24.0 - compatibility 3.0.0) <E71220D3-8015-38EC-B97D-7FDB383C2BDC> /usr/lib/libxslt.1.dylib
        0x7fff88f1d000 -     0x7fff88f2fff7  libbsm.0.dylib (??? - ???) <349BB16F-75FA-363F-8D98-7A9C3FA90A0D> /usr/lib/libbsm.0.dylib
        0x7fff88f30000 -     0x7fff89252fe7  com.apple.JavaScriptCore (7534.56 - 7534.56.6) <675725F8-37C4-3B80-ADB0-7B6AE908A908> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
        0x7fff89253000 -     0x7fff89680fff  libLAPACK.dylib (??? - ???) <4F2E1055-2207-340B-BB45-E4F16171EE0D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
        0x7fff89794000 -     0x7fff897bafff  com.apple.framework.familycontrols (3.0 - 300) <93828BC1-3D83-3A93-99A5-F0E7951AFC6C> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyCon trols
        0x7fff897bb000 -     0x7fff897bbfff  com.apple.Carbon (153 - 153) <895C2BF2-1666-3A59-A669-311B1F4F368B> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
        0x7fff897bc000 -     0x7fff89b65fef  com.apple.MediaToolbox (1.0 - 705.78) <A4DF8258-0CB9-3244-BF12-3AD02B1952B0> /System/Library/PrivateFrameworks/MediaToolbox.framework/Versions/A/MediaToolbo x
        0x7fff89b66000 -     0x7fff89ba1fff  com.apple.LDAPFramework (3.2 - 120.2) <A2675243-9122-308D-A5C8-9C1C4FE7639D> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
        0x7fff89ba2000 -     0x7fff89ba6fff  libCGXType.A.dylib (600.0.0 - compatibility 64.0.0) <2B1215A0-1B43-39C3-B4F4-392D71D08FFA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
        0x7fff89ba7000 -     0x7fff89baefff  libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <172B1985-F24A-34E9-8D8B-A2403C9A0399> /usr/lib/system/libcopyfile.dylib
        0x7fff89baf000 -     0x7fff89bb5fff  libGFXShared.dylib (??? - ???) <8A61FA67-EB3C-319D-AE3C-64936FB26BAC> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
        0x7fff89bb6000 -     0x7fff89ccffff  com.apple.DesktopServices (1.6.3 - 1.6.3) <20812ECE-CACC-3D44-8108-025EF6B45C14> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
        0x7fff89cd8000 -     0x7fff89d17ff7  libGLImage.dylib (??? - ???) <49BB4404-68F1-3839-A5C9-983405B59F52> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
        0x7fff8a735000 -     0x7fff8a83cfe7  libsqlite3.dylib (9.6.0 - compatibility 9.0.0) <EE02BB01-64C9-304D-9719-A35F5CD6D04C> /usr/lib/libsqlite3.dylib
        0x7fff8a83d000 -     0x7fff8a870ff7  com.apple.GSS (2.2 - 2.0) <971395D0-B9D0-3FDE-B23F-6F9D0A2FB95F> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
        0x7fff8a92b000 -     0x7fff8a92cfff  libunc.dylib (24.0.0 - compatibility 1.0.0) <C67B3B14-866C-314F-87FF-8025BEC2CAAC> /usr/lib/system/libunc.dylib
        0x7fff8a95e000 -     0x7fff8a9afff7  com.apple.CoreMediaIO (212.0 - 3199.1.1) <D8C364AF-A1E8-3215-ABF5-188B50A80B18> /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO
        0x7fff8a9b0000 -     0x7fff8aa26fff  com.apple.CoreSymbolication (2.2 - 73.2) <126415E3-3A35-315B-B4B7-507CDBED0D58> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSy mbolication
        0x7fff8aa27000 -     0x7fff8aa87fff  libvDSP.dylib (325.4.0 - compatibility 1.0.0) <3A7521E6-5510-3FA7-AB65-79693A7A5839> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
        0x7fff8aa88000 -     0x7fff8aab5ff7  com.apple.opencl (1.50.69 - 1.50.69) <57939F7D-3626-30E2-883D-8A7CCB3F8763> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
        0x7fff8aab6000 -     0x7fff8aafaff7  libRIP.A.dylib (600.0.0 - compatibility 64.0.0) <22B2A10A-34B5-3787-88C9-B2722FE79504> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
        0x7fff8aafb000 -     0x7fff8abfbfff  com.apple.QuickLookUIFramework (3.2 - 500.16) <0BACF8C4-5A7B-31EE-B4AA-3CCF8615C9A8> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.f ramework/Versions/A/QuickLookUI
        0x7fff8abfc000 -     0x7fff8abfdff7  libremovefile.dylib (21.1.0 - compatibility 1.0.0) <739E6C83-AA52-3C6C-A680-B37FE2888A04> /usr/lib/system/libremovefile.dylib
        0x7fff8abfe000 -     0x7fff8ac1dfff  libresolv.9.dylib (46.1.0 - compatibility 1.0.0) <0635C52D-DD53-3721-A488-4C6E95607A74> /usr/lib/libresolv.9.dylib
        0x7fff8ac1e000 -     0x7fff8ac57fe7  libssl.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <79AAEC98-1258-3DA4-B1C0-4120049D390B> /usr/lib/libssl.0.9.8.dylib
        0x7fff8ac58000 -     0x7fff8ac63ff7  com.apple.DisplayServicesFW (2.5.4 - 323.3) <5E7F7A88-9313-3C31-87BD-80F3361DA338> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayS ervices
        0x7fff8ac64000 -     0x7fff8ac72fff  libdispatch.dylib (187.9.0 - compatibility 1.0.0) <1D5BE322-A9B9-3BCE-8FAC-076FB07CF54A> /usr/lib/system/libdispatch.dylib
        0x7fff8b105000 -     0x7fff8b153fff  libauto.dylib (??? - ???) <D8AC8458-DDD0-3939-8B96-B6CED81613EF> /usr/lib/libauto.dylib
        0x7fff8b154000 -     0x7fff8b1aeff7  com.apple.ImageCaptureCore (3.0.3 - 3.0.3) <12C722EE-3A13-3937-ABDF-EDC922F4C299> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCo re
        0x7fff8b1af000 -     0x7fff8b1c3ff7  com.apple.LangAnalysis (1.7.0 - 1.7.0) <04C31EF0-912A-3004-A08F-CEC27030E0B2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
        0x7fff8b1c4000 -     0x7fff8b5e1ff7  com.apple.SceneKit (125.3 - 125.4) <12AD6DBE-F3A3-34D6-BA01-B211BEAFD48F> /System/Library/PrivateFrameworks/SceneKit.framework/Versions/A/SceneKit
        0x7fff8b60b000 -     0x7fff8b690ff7  com.apple.Heimdal (2.2 - 2.0) <FF0BD9A4-6FB0-31E3-ABFB-563FBBEC45FC> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
        0x7fff8b6d2000 -     0x7fff8b72bfff  MetadataLib.dylib (3.14.0 - compatibility 2.2.1) <DCA76A5E-14B4-3260-8C00-7C4EE675E049> /System/Library/CoreServices/RawCamera.bundle/Contents/Resources/MetadataLib.dy lib
        0x7fff8b72c000 -     0x7fff8b73cff7  com.apple.opengl (1.7.7 - 1.7.7) <0CA11278-746C-353A-923B-BCC0047190C3> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
        0x7fff8b73d000 -     0x7fff8b741ff7  com.apple.CommonPanels (1.2.5 - 94) <0BB2C436-C9D5-380B-86B5-E355A7711259> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
        0x7fff8b7b6000 -     0x7fff8b7b9ff7  com.apple.securityhi (4.0 - 1) <B37B8946-BBD4-36C1-ABC6-18EDBC573F03> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
        0x7fff8b7ba000 -     0x7fff8b7c4ff7  liblaunch.dylib (392.38.0 - compatibility 1.0.0) <6ECB7F19-B384-32C1-8652-2463C1CF4815> /usr/lib/system/liblaunch.dylib
        0x7fff8b7c5000 -     0x7fff8c3cbff7  com.apple.AppKit (6.7.3 - 1138.47) <CAF5783F-F80B-30E7-929F-BBA6D96C5C44> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
        0x7fff8c3cc000 -     0x7fff8c3f0fff  com.apple.RemoteViewServices (1.4 - 44.1) <EA3837DF-A3A3-37FF-AE11-D50048D5F21A> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/Remot eViewServices
        0x7fff8c3f1000 -     0x7fff8cd8ec9f  com.apple.CoreGraphics (1.600.0 - ???) <1DB9C92C-DFA8-36ED-B513-998134462148> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
        0x7fff8cd8f000 -     0x7fff8cde1ff7  libGLU.dylib (??? - ???) <E2EF0336-3A5F-3532-AEB0-6CCF04851B72> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
        0x7fff8cde2000 -     0x7fff8ce58fff  libc++.1.dylib (28.1.0 - compatibility 1.0.0) <DA22E4D6-7F20-3BEA-9B89-2FBA735C2EE1> /usr/lib/libc++.1.dylib
        0x7fff8ce59000 -     0x7fff8ceccfff  libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib
        0x7fff8cecd000 -     0x7fff8d003fff  com.apple.vImage (5.1 - 5.1) <A08B7582-67BC-3EED-813A-4833645964A7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
        0x7fff8d004000 -     0x7fff8d017ff7  libCRFSuite.dylib (??? - ???) <034D4DAA-63F0-35E4-BCEF-338DD7A453DD> /usr/lib/libCRFSuite.dylib
        0x7fff8d018000 -     0x7fff8d035fff  libxpc.dylib (77.19.0 - compatibility 1.0.0) <9F57891B-D7EF-3050-BEDD-21E7C6668248> /usr/lib/system/libxpc.dylib
        0x7fff8d036000 -     0x7fff8d2a9fff  com.apple.CoreImage (7.98 - 1.0.1) <73485E4E-1407-3913-AB3C-B54986A3E01C> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage .framework/Versions/A/CoreImage
        0x7fff8d2aa000 -     0x7fff8d2b5fff  com.apple.CommonAuth (2.2 - 2.0) <77E6F0D0-85B6-30B5-B99C-F57104DD2EBA> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
        0x7fff8d2fc000 -     0x7fff8d3afff7  com.apple.CoreText (220.20.0 - ???) <0E979362-15E4-3955-BF54-B5961361D1CC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
        0x7fff8d3b0000 -     0x7fff8d3bbff7  libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
        0x7fff8d42d000 -     0x7fff8d435fff  libsystem_dnssd.dylib (??? - ???) <D9BB1F87-A42B-3CBC-9DC2-FC07FCEF0016> /usr/lib/system/libsystem_dnssd.dylib
        0x7fff8d436000 -     0x7fff8d461fff  libpcre.0.dylib (1.1.0 - compatibility 1.0.0) <7D3CDB0A-840F-3856-8F84-B4A50E66431B> /usr/lib/libpcre.0.dylib
        0x7fff8d462000 -     0x7fff8d470ff7  libkxld.dylib (??? - ???) <C2FC894F-3716-32C3-967E-6AD5E2697045> /usr/lib/system/libkxld.dylib
        0x7fff8d471000 -     0x7fff8d474fff  libRadiance.dylib (??? - ???) <CD89D70D-F177-3BAE-8A26-644EA7D5E28E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
        0x7fff8d510000 -     0x7fff8d5aaff7  com.apple.SearchKit (1.4.0 - 1.4.0) <4E70C394-773E-3A4B-A93C-59A88ABA9509> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
        0x7fff8d5c4000 -     0x7fff8d665ff7  com.apple.LaunchServices (480.33 - 480.33) <45EF2044-3396-3910-9B5B-C8F7777D5F56> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
        0x7fff8d769000 -     0x7fff8d908ff7  com.apple.QuartzCore (1.7 - 270.4) <97E20A5F-652B-3E85-8C46-DCB777248ECD> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
        0x7fff8d935000 -     0x7fff8d962fe7  libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <7BEBB139-50BB-3112-947A-F4AA168F991C> /usr/lib/libSystem.B.dylib
        0x7fff8d96f000 -     0x7fff8da74fff  libFontParser.dylib (??? - ???) <759645F2-8CB1-358C-AF41-BA3797CD0F60> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontParser.dylib
        0x7fff8da75000 -     0x7fff8db17fff  com.apple.securityfoundation (5.0 - 55116) <A9311EF6-B7F7-3DA5-84E8-21BC9B2C3C69> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
        0x7fff8db18000 -     0x7fff8db1bfff  libCoreVMClient.dylib (??? - ???) <934D0D11-C34F-3C06-A352-21BB8FFE9774> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
        0x7fff8db51000 -     0x7fff8dc5dfff  libcrypto.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <3A8E1F89-5E26-3C8B-B538-81F5D61DBF8A> /usr/lib/libcrypto.0.9.8.dylib
        0x7fff8dc5e000 -     0x7fff8dc9ffff  com.apple.QD (3.40 - ???) <47674D2C-BE88-388E-B1B0-03F08BFFE5FD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
        0x7fff8dca0000 -     0x7fff8dca1ff7  libsystem_sandbox.dylib (??? - ???) <96D38E74-F18F-3CCB-A20B-E8E3ADC4E166> /usr/lib/system/libsystem_sandbox.dylib
        0x7fff8dca2000 -     0x7fff8df10ff7  com.apple.QuartzComposer (5.0 - 236.7) <D556126B-3D67-3E37-82E0-D06532DE0C89> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/QuartzComposer
        0x7fff8df9b000 -     0x7fff8e09dfff  libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <AFBB22B7-07AE-3F2E-B88C-70BEEBFB8A86> /usr/lib/libxml2.2.dylib
        0x7fff8e09e000 -     0x7fff8e1abfff  libJP2.dylib (??? - ???) <5BE8CFA7-00C2-3BDE-BC20-5FF6DC18B415> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
        0x7fff8e1d4000 -     0x7fff8e21afff  libcurl.4.dylib (7.0.0 - compatibility 7.0.0) <2C442396-1006-3765-92D2-60869D4641CE> /usr/lib/libcurl.4.dylib
        0x7fff8e29e000 -     0x7fff8e2a3fff  com.apple.OpenDirectory (10.7 - 146) <A674AB55-6E3D-39AE-9F9B-9865D0193020> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    External Modification Summary:
      Calls made by other processes targeting this process:
        task_for_pid: 9
        thread_create: 0
        thread_set_state: 0
      Calls made by this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by all processes on this machine:
        task_for_pid: 4954
        thread_create: 0
        thread_set_state: 0
    VM Region Summary:
    ReadOnly portion of Libraries: Total=194.3M resident=85.8M(44%) swapped_out_or_unallocated=108.6M(56%)
    Writable regions: Total=992.5M written=350.3M(35%) resident=830.7M(84%) swapped_out=0K(0%) unallocated=161.9M(16%)
    REGION TYPE                      VIRTUAL
    ===========                      =======
    CG backing stores                 249.7M
    CG image                           3056K
    CG raster data                     1472K
    CG shared images                   4624K
    CoreAnimation                      4104K
    CoreGraphics                         16K
    CoreImage 8K
    CoreServices                       1324K
    IOKit                             333.9M
    IOKit (reserved)                   26.0M        reserved VM address space (unallocated)
    MALLOC                            380.0M
    MALLOC guard page                    48K
    Memory tag=240                        4K
    Memory tag=242                       12K
    Memory tag=251                       88K
    OpenCL                               44K
    OpenGL GLSL                        1372K
    OpenGL GLSL (reserved)              128K        reserved VM address space (unallocated)
    STACK GUARD                        56.0M
    Stack                              11.0M
    VM_ALLOCATE                        16.7M
    __CI_BITMAP                          80K
    __DATA                             17.4M
    __IMAGE                             528K
    __LINKEDIT                         48.6M
    __RC_CAMERAS                        248K
    __TEXT                            145.8M
    __UNICODE                           544K
    mapped file                       210.2M
    shared memory                       9.8M
    ===========                      =======
    TOTAL                               1.5G
    TOTAL, minus reserved VM space      1.5G
    Model: iMac12,1, BootROM IM121.0047.B1F, 4 processors, Intel Core i5, 2.7 GHz, 4 GB, SMC 1.71f22
    Graphics: AMD Radeon HD 6770M, AMD Radeon HD 6770M, PCIe, 512 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353737334448302D4348392020
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.64.8-P2P
    Bluetooth: Version 4.0.5f11, 2 service, 18 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: ST31000528AS, 1 TB
    Serial ATA Device: OPTIARC DVD RW AD-5690H
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 3
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 7
    USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b, 0xfa200000 / 2
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: Generic USB Hub, 0x058f  (Alcor Micro, Corp.), 0x9254, 0xfd140000 / 5
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 4
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 3

  • Please help me in creating a form using Swing.

    (I m sorry if I've posted similar post in some other thread.I am new to this forum..:))
    There are several problems which I am facing while coding a form.
    1. In the form I have one JComboBox
    of Country and other of State. Now I want it in such a way that when
    I select a country from the Country JComboBox ,the corresponding states
    automatically appears in the State JComboBox.
    2. I need to add picture frame in the 6th tab so that the picture shows up when clicked browse and open.
    3.I need to add tables in 1st and 5th tab which shows up the details through database when added through several textboxes and combo boxes.
    so please help me!
    Here's my code
    ==========================================================
    import javax.swing.JFrame;
    import javax.swing.JTabbedPane;
    import javax.swing.JPanel;
    import javax.swing.JButton;
    import javax.swing.JLabel;
    import javax.swing.JCheckBox;
    import javax.swing.border.*;
    import javax.swing.table.*;
    import javax.swing.Box;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class Design extends JFrame
    public Design()
    super("Tenant Form");
    setLayout(new BorderLayout());
    JTabbedPane tabbedPane=new JTabbedPane(); //creating tabbed buttons
    //<--------coding for first tab--------->
    JPanel panel1=new JPanel();
    tabbedPane.addTab("Detail of Landlord",null,panel1,"first tab"); //here panel1 is created for tab1
    GridBagConstraints gbc=new GridBagConstraints();
    gbc.insets=new Insets(2,2,2,2);
    gbc.anchor=GridBagConstraints.WEST;
    JPanel jp11 = new JPanel(); //1st panel in 1st tab for top labels and buttons
    jp11.setLayout(new GridBagLayout());
    JLabel l241 = new JLabel("Name Of LandLord");
    jp11.add(l241,gbc);
    JComboBox jc01=new JComboBox();
    jc01.addItem("Select");
    jc01.addItem("Mr.");
    jc01.addItem("Mrs.");
    gbc.gridx=1;
    jp11.add(jc01,gbc);
    JTextField f01=new JTextField(10);
    gbc.gridx=2;
    jp11.add(f01,gbc);
    JLabel l251 = new JLabel("Sex");
    gbc.gridx=5;
    gbc.insets=new Insets(2,20,2,2);
    jp11.add(l251,gbc);
    JComboBox jc11=new JComboBox();
    jc11.addItem("Select");
    jc11.addItem("Male");
    jc11.addItem("Female");
    gbc.gridx=6;
    gbc.insets=new Insets(2,2,2,2);
    jp11.add(jc11,gbc);
    JLabel l261 = new JLabel("Age(Yrs)");
    gbc.gridx=8;
    gbc.insets=new Insets(2,20,2,2);
    jp11.add(l261,gbc);
    JTextField f11=new JTextField(3);
    gbc.gridx=9;
    gbc.insets=new Insets(2,2,2,2);
    jp11.add(f11,gbc);
    JLabel l271 = new JLabel("Occupation");
    gbc.gridx= 11;
    gbc.insets=new Insets(2,20,2,2);
    jp11.add(l271,gbc);
    JComboBox jc21=new JComboBox();
    jc21.addItem("Select");
    jc21.addItem("Engineer");
    jc21.addItem("Business");
    gbc.gridx=12;
    gbc.insets=new Insets(2,2,2,2);
    jp11.add(jc21,gbc);
    JButton ab1=new JButton("ADD");
    gbc.gridx=14;
    gbc.insets=new Insets(2,20,2,2);
    jp11.add(ab1,gbc);
    panel1.add(jp11);
    //<--coding for adding table with scroll pane #yet to be coded#-->
    JTable jtab1=new JTable();
    //start of p21 panel. 1st of two titledborder panels in tab 1
    JPanel jp21=new JPanel();
    jp21.setBorder(new TitledBorder("Address Of Landlord Property"));
    jp21.setLayout(new GridBagLayout());
    JLabel l11=new JLabel("Property/House/Building Address");
    gbc.gridx=0;
    gbc.gridy=0;
    jp21.add(l11,gbc);
    JTextArea ta11=new JTextArea(3,15);
    ta11.setLineWrap(true);
    int v=ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    int h=ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER;
    JScrollPane scroll11=new JScrollPane(ta11,v,h);
    gbc.gridx=1;
    jp21.add(scroll11);
    jp21.add(ta11,gbc);
    JLabel l21=new JLabel("Land Mark");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.ipady=0;
    gbc.gridheight=1;
    jp21.add(l21,gbc);
    JTextField tf21=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=1;
    jp21.add(tf21,gbc);
    JLabel l31=new JLabel("Country");
    gbc.gridx=0;
    gbc.gridy=2;
    jp21.add(l31,gbc);
    JComboBox c11=new JComboBox();
    c11.addItem("India");
    c11.addItem("US");
    c11.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=2;
    jp21.add(c11,gbc);
    JLabel l41=new JLabel("State");
    gbc.gridx=0;
    gbc.gridy=3;
    jp21.add(l41,gbc);
    JComboBox c21=new JComboBox();
    c21.addItem("Rajasthan");
    c21.addItem("Delhi");
    c21.addItem("Maharastra");
    gbc.gridx=1;
    gbc.gridy=3;
    jp21.add(c21,gbc);
    JLabel l51=new JLabel("District");
    gbc.gridx=0;
    gbc.gridy=4;
    jp21.add(l51,gbc);
    JComboBox c31=new JComboBox();
    c31.addItem("jaipur");
    c31.addItem("ajmer");
    c31.addItem("alwar");
    gbc.gridx=1;
    gbc.gridy=4;
    jp21.add(c31,gbc);
    JLabel l61=new JLabel("City/Town");
    gbc.gridx=0;
    gbc.gridy=5;
    jp21.add(l61,gbc);
    JTextField tf31=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=5;
    jp21.add(tf31,gbc);
    JLabel l71=new JLabel("Police District");
    gbc.gridx=0;
    gbc.gridy=6;
    jp21.add(l71,gbc);
    JComboBox c41=new JComboBox();
    c41.addItem("Jaipur");
    c41.addItem("Alwar");
    c41.addItem("Ajmer");
    gbc.gridx=1;
    gbc.gridy=6;
    jp21.add(c41,gbc);
    JLabel l81=new JLabel("Police Circle");
    gbc.gridx=0;
    gbc.gridy=7;
    jp21.add(l81,gbc);
    JComboBox c51=new JComboBox();
    c51.addItem("India");
    c51.addItem("US");
    c51.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=7;
    jp21.add(c51,gbc);
    JLabel l91=new JLabel("Police station");
    gbc.gridx=0;
    gbc.gridy=8;
    jp21.add(l91,gbc);
    JComboBox c61=new JComboBox();
    c61.addItem("Bani Park");
    c61.addItem("Raja Park");
    c61.addItem("Malviya Nagar");
    gbc.gridx=1;
    gbc.gridy=8;
    jp21.add(c61,gbc);
    JLabel l101=new JLabel("Pin No.");
    gbc.gridx=0;
    gbc.gridy=9;
    jp21.add(l101,gbc);
    JTextField tf41=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=9;
    jp21.add(tf41,gbc);
    JLabel l111=new JLabel("Phone No.(R)");
    gbc.gridx=0;
    gbc.gridy=10;
    jp21.add(l111,gbc);
    JTextField tf51=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=10;
    jp21.add(tf51,gbc);
    //start of p31.2nd of two titledborder panels in tab 1
    JPanel jp31=new JPanel();
    jp31.setBorder(new TitledBorder("Address Of Landlord Office"));
    jp31.setLayout(new GridBagLayout());
    JLabel l121=new JLabel("Office Address");
    gbc.gridx=0;
    gbc.gridy=0;
    jp31.add(l121,gbc);
    JTextArea ta61=new JTextArea(3,15);
    ta61.setLineWrap(true);
    JScrollPane scroll2=new JScrollPane(ta61);
    gbc.gridx=1;
    gbc.gridy=0;
    jp31.add(ta61,gbc);
    JLabel l131=new JLabel("Country");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.gridheight=1;
    jp31.add(l131,gbc);
    JComboBox c12=new JComboBox();
    c12.addItem("India");
    c12.addItem("US");
    c12.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=1;
    jp31.add(c12,gbc);
    JLabel l141=new JLabel("State");
    gbc.gridx=0;
    gbc.gridy=2;
    jp31.add(l141,gbc);
    JComboBox c22=new JComboBox();
    c22.addItem("Rajasthan");
    c22.addItem("Delhi");
    c22.addItem("Maharastra");
    gbc.gridx=1;
    gbc.gridy=2;
    jp31.add(c22,gbc);
    JLabel l151=new JLabel("District");
    gbc.gridx=0;
    gbc.gridy=3;
    jp31.add(l151,gbc);
    JComboBox c32=new JComboBox();
    c32.addItem("jaipur");
    c32.addItem("ajmer");
    c32.addItem("alwar");
    gbc.gridx=1;
    gbc.gridy=3;
    jp31.add(c32,gbc);
    JLabel l161=new JLabel("City/Town");
    gbc.gridx=0;
    gbc.gridy=4;
    jp31.add(l161,gbc);
    JTextField tf71=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=4;
    jp31.add(tf71,gbc);
    JLabel l171=new JLabel("Police District");
    gbc.gridx=0;
    gbc.gridy=5;
    jp31.add(l171,gbc);
    JComboBox c42=new JComboBox();
    c42.addItem("Jaipur");
    c42.addItem("Alwar");
    c42.addItem("Ajmer");
    gbc.gridx=1;
    gbc.gridy=5;
    jp31.add(c42,gbc);
    JLabel l181=new JLabel("Police Circle");
    gbc.gridx=0;
    gbc.gridy=6;
    jp31.add(l181,gbc);
    JComboBox c52=new JComboBox();
    c52.addItem("India");
    c52.addItem("US");
    c52.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=6;
    jp31.add(c52,gbc);
    JLabel l191=new JLabel("Police station");
    gbc.gridx=0;
    gbc.gridy=7;
    jp31.add(l191,gbc);
    JComboBox c62=new JComboBox();
    c62.addItem("Bani Park");
    c62.addItem("Raja Park");
    c62.addItem("Malviya Nagar");
    gbc.gridx=1;
    gbc.gridy=7;
    jp31.add(c62,gbc);
    JLabel l201=new JLabel("Pin No.");
    gbc.gridx=0;
    gbc.gridy=8;
    jp31.add(l201,gbc);
    JTextField tf81=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=8;
    jp31.add(tf81,gbc);
    JLabel l211=new JLabel("Phone No.(O)");
    gbc.gridx=0;
    gbc.gridy=9;
    jp31.add(l211,gbc);
    JTextField tf91=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=9;
    jp31.add(tf91,gbc);
    JLabel l221=new JLabel("Phone No.(M)");
    gbc.gridx=0;
    gbc.gridy=10;
    gbc.gridheight=1;
    jp31.add(l221,gbc);
    JTextField tf101=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=10;
    jp31.add(tf101,gbc);
    JLabel l231=new JLabel("E-mail");
    gbc.gridx=0;
    gbc.gridy=11;
    gbc.gridheight=1;
    jp31.add(l231,gbc);
    JTextField tf111=new JTextField(15);
    gbc.gridx=1;
    gbc.gridy=11;
    jp31.add(tf111,gbc);
    JPanel jp41=new JPanel(); //adding above two panels p21 and p31 to p41 panel.
    jp41.setLayout(new BoxLayout(jp41,BoxLayout.X_AXIS));
    jp41.add(jp21);
    jp41.add(Box.createHorizontalStrut(50));
    jp41.add(jp31);
    panel1.add(jp41); //adding p41 panel to panel1
    //<--------coding for second tab--------->
    JPanel panel2 = new JPanel();
    tabbedPane.addTab("Id of Landlord",null,panel2,"second tab");
    panel2.setLayout(new FlowLayout());
    //adding radiobutton above TitledBorder panel
    JPanel jp02=new JPanel();
    JLabel l12=new JLabel("Identity Known");
    JRadioButton jrb12=new JRadioButton("Yes");
    JRadioButton jrb22=new JRadioButton("No");
    ButtonGroup bg12=new ButtonGroup();
    bg12.add(jrb12);
    bg12.add(jrb22);
    jp02.add(l12);
    jp02.add(jrb12);
    jp02.add(jrb22);
    //adding TitledBorder panel
    JPanel jp12=new JPanel();
    jp12.setBorder(new TitledBorder("Identity Detail"));
    jp12.setLayout(new GridBagLayout());
    gbc.insets=new Insets(5,5,5,5);
    JLabel l22=new JLabel("Identity Card");
    gbc.gridx=0;
    gbc.gridy=0;
    jp12.add(l22,gbc);
    JTextField jtf12=new JTextField(10);
    gbc.gridx=1;
    jp12.add(jtf12,gbc);
    JLabel l32=new JLabel("Date of Issue");
    gbc.gridx=0;
    gbc.gridy=1;
    jp12.add(l32,gbc);
    JTextField jtf22=new JTextField(10);
    gbc.insets=new Insets(5,5,5,25);
    gbc.gridx=1;
    jp12.add(jtf22,gbc);
    JLabel l42=new JLabel("Identity Number");
    gbc.insets=new Insets(5,5,5,5);
    gbc.gridx=2;
    jp12.add(l42,gbc);
    JTextField jtf32=new JTextField(10);
    gbc.gridx=3;
    jp12.add(jtf32,gbc);
    JLabel l52=new JLabel("Name Of Issuer");
    gbc.gridx=0;
    gbc.gridy=2;
    jp12.add(l52,gbc);
    JTextField jtf42=new JTextField(10);
    gbc.insets=new Insets(5,5,5,25);
    gbc.gridx=1;
    jp12.add(jtf42,gbc);
    JLabel l62= new JLabel("Place Of Issuer");
    gbc.insets=new Insets(5,5,5,5);
    gbc.gridx=2;
    jp12.add(l62,gbc);
    JTextField jtf52=new JTextField(10);
    gbc.gridx=3;
    jp12.add(jtf52,gbc);
    gbc.gridx=0;
    gbc.gridy=2;
    Box b12 =Box.createVerticalBox(); //adding both panels to vertica box and adding it to panel2
    b12.add(jp02);
    b12.add(jp12);
    panel2.add(b12);
    //<--------coding for third tab--------->
    JPanel panel3 = new JPanel();
    tabbedPane.addTab("Detail of Tenant",null,panel3,"third tab");
    //adding panel for top data
    JPanel jp13=new JPanel(); //jp13 panel for details above 3 TitledBorder panels
    jp13.setLayout(new GridBagLayout());
    JLabel l13=new JLabel("Name");
    gbc.insets=new Insets(2,2,2,2);
    gbc.gridx=0;
    gbc.gridy=0;
    jp13.add(l13,gbc);
    JComboBox c13=new JComboBox();
    c13.addItem("Select");
    c13.addItem("Mr.");
    c13.addItem("Mrs.");
    gbc.gridx=1;
    jp13.add(c13,gbc);
    JTextField jtf13=new JTextField(16);
    gbc.gridx=2;
    gbc.gridwidth=2;
    jp13.add(jtf13,gbc);
    JLabel l23=new JLabel("Sex");
    gbc.insets=new Insets(2,20,2,2);
    gbc.gridx=4;
    gbc.gridwidth=1;
    jp13.add(l23,gbc);
    JComboBox c23=new JComboBox();
    c23.addItem("Select");
    c23.addItem("Male");
    c23.addItem("Female");
    gbc.insets=new Insets(2,2,2,2);
    gbc.gridx=5;
    jp13.add(c23,gbc);
    JLabel l33=new JLabel("Father/Mother/Husband's Name");
    gbc.gridy=1;
    gbc.gridx=0;
    jp13.add(l33,gbc);
    JComboBox c33=new JComboBox();
    c33.addItem("Select");
    c33.addItem("Mr.");
    c33.addItem("Mrs.");
    gbc.gridx=1;
    jp13.add(c33,gbc);
    JComboBox c43=new JComboBox();
    c43.addItem("Select");
    c43.addItem("Mr.");
    c43.addItem("Mrs.");
    gbc.gridx=2;
    jp13.add(c43,gbc);
    JTextField jtf23=new JTextField(10);
    gbc.gridx=3;
    jp13.add(jtf23,gbc);
    JLabel l43=new JLabel("Age(Yrs)");
    gbc.insets=new Insets(2,20,2,2);
    gbc.gridx=4;
    jp13.add(l43,gbc);
    JTextField jtf33=new JTextField(3);
    gbc.insets=new Insets(2,2,2,2);
    gbc.gridx=5;
    jp13.add(jtf33,gbc);
    JLabel l53=new JLabel("Citizenship");
    gbc.gridy=2;
    gbc.gridx=0;
    jp13.add(l53,gbc);
    JComboBox c53=new JComboBox();
    c53.addItem("Select");
    c53.addItem("Indian");
    c53.addItem("Australian");
    gbc.gridx=1;
    gbc.gridwidth=2;
    jp13.add(c53,gbc);
    JLabel l63=new JLabel("Occupation");
    gbc.insets=new Insets(2,20,2,2);
    gbc.gridx=4;
    gbc.gridwidth=1;
    jp13.add(l63,gbc);
    JComboBox c63=new JComboBox();
    c63.addItem("Select");
    c63.addItem("Engineer");
    c63.addItem("Doctor");
    gbc.insets=new Insets(2,2,2,2);
    gbc.gridx=5;
    jp13.add(c63,gbc);
    panel3.add(jp13);
    JPanel jp23=new JPanel(); //first of 3 TitledBorder panels
    jp23.setBorder(new TitledBorder("Local Address"));
    jp23.setLayout(new GridBagLayout());
    JLabel l73=new JLabel("Local Address");
    gbc.gridx=0;
    gbc.gridy=0;
    jp23.add(l73,gbc);
    JTextArea ta43=new JTextArea(3,10);
    ta43.setLineWrap(true);
    JScrollPane scroll13=new JScrollPane(ta43);
    gbc.gridx=1;
    gbc.gridy=0;
    jp23.add(ta43,gbc);
    JLabel l83=new JLabel("Country");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.gridheight=1;
    jp23.add(l83,gbc);
    JComboBox c73=new JComboBox();
    c73.addItem("India");
    c73.addItem("US");
    c73.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=1;
    jp23.add(c73,gbc);
    JLabel l93=new JLabel("State");
    gbc.gridx=0;
    gbc.gridy=2;
    jp23.add(l93,gbc);
    JComboBox c83=new JComboBox();
    c83.addItem("Rajasthan");
    c83.addItem("Delhi");
    c83.addItem("Maharastra");
    gbc.gridx=1;
    gbc.gridy=2;
    jp23.add(c83,gbc);
    JLabel l103=new JLabel("District");
    gbc.gridx=0;
    gbc.gridy=3;
    jp23.add(l103,gbc);
    JComboBox c93=new JComboBox();
    c93.addItem("jaipur");
    c93.addItem("ajmer");
    c93.addItem("alwar");
    gbc.gridx=1;
    gbc.gridy=3;
    jp23.add(c93,gbc);
    JLabel l113=new JLabel("City/Town");
    gbc.gridx=0;
    gbc.gridy=4;
    jp23.add(l113,gbc);
    JTextField tf53=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=4;
    jp23.add(tf53,gbc);
    JLabel l123=new JLabel("Police District");
    gbc.gridx=0;
    gbc.gridy=5;
    jp23.add(l123,gbc);
    JComboBox c103=new JComboBox();
    c103.addItem("Jaipur");
    c103.addItem("Alwar");
    c103.addItem("Ajmer");
    gbc.gridx=1;
    gbc.gridy=5;
    jp23.add(c103,gbc);
    JLabel l133=new JLabel("Police Circle");
    gbc.gridx=0;
    gbc.gridy=6;
    jp23.add(l133,gbc);
    JComboBox c113=new JComboBox();
    c113.addItem("India");
    c113.addItem("US");
    c113.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=6;
    jp23.add(c113,gbc);
    JLabel l143=new JLabel("Police station");
    gbc.gridx=0;
    gbc.gridy=7;
    jp23.add(l143,gbc);
    JComboBox c123=new JComboBox();
    c123.addItem("Bani Park");
    c123.addItem("Raja Park");
    c123.addItem("Malviya Nagar");
    gbc.gridx=1;
    gbc.gridy=7;
    jp23.add(c123,gbc);
    JLabel l153=new JLabel("Pin No.");
    gbc.gridx=0;
    gbc.gridy=8;
    jp23.add(l153,gbc);
    JTextField tf63=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=8;
    jp23.add(tf63,gbc);
    JLabel l163=new JLabel("Phone No.(R)");
    gbc.gridx=0;
    gbc.gridy=9;
    jp23.add(l163,gbc);
    JTextField tf73=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=9;
    jp23.add(tf73,gbc);
    JLabel l173=new JLabel("E-mail");
    gbc.gridx=0;
    gbc.gridy=10;
    gbc.gridheight=1;
    jp23.add(l173,gbc);
    JTextField tf83=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=10;
    jp23.add(tf83,gbc);
    JPanel jp33=new JPanel(); //second of 3 TitledBorder panels
    jp33.setBorder(new TitledBorder("Permanent Address"));
    jp33.setLayout(new GridBagLayout());
    JLabel l183=new JLabel("Perm. Address");
    gbc.gridx=0;
    gbc.gridy=0;
    jp33.add(l183,gbc);
    JTextArea ta93=new JTextArea(5,10);
    JScrollPane scroll23=new JScrollPane(ta43);
    ta93.setLineWrap(true);
    gbc.gridx=1;
    gbc.gridy=0;
    jp33.add(ta43,gbc);
    JLabel l193=new JLabel("Country");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.gridheight=1;
    jp33.add(l193,gbc);
    JComboBox c133=new JComboBox();
    c133.addItem("India");
    c133.addItem("US");
    c133.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=1;
    jp33.add(c133,gbc);
    JLabel l203=new JLabel("State");
    gbc.gridx=0;
    gbc.gridy=2;
    jp33.add(l203,gbc);
    JComboBox c143=new JComboBox();
    c143.addItem("Rajasthan");
    c143.addItem("Delhi");
    c143.addItem("Maharastra");
    gbc.gridx=1;
    gbc.gridy=2;
    jp33.add(c143,gbc);
    JLabel l213=new JLabel("District");
    gbc.gridx=0;
    gbc.gridy=3;
    jp33.add(l213,gbc);
    JComboBox c153=new JComboBox();
    c153.addItem("jaipur");
    c153.addItem("ajmer");
    c153.addItem("alwar");
    gbc.gridx=1;
    gbc.gridy=3;
    jp33.add(c153,gbc);
    JLabel l223=new JLabel("City/Town");
    gbc.gridx=0;
    gbc.gridy=4;
    jp33.add(l223,gbc);
    JTextField tf103=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=4;
    jp33.add(tf103,gbc);
    JLabel l233=new JLabel("Police District");
    gbc.gridx=0;
    gbc.gridy=5;
    jp33.add(l233,gbc);
    JComboBox c163=new JComboBox();
    c163.addItem("Jaipur");
    c163.addItem("Alwar");
    c163.addItem("Ajmer");
    gbc.gridx=1;
    gbc.gridy=5;
    jp33.add(c163,gbc);
    JLabel l243=new JLabel("Police Circle");
    gbc.gridx=0;
    gbc.gridy=6;
    jp33.add(l243,gbc);
    JComboBox c173=new JComboBox();
    c173.addItem("India");
    c173.addItem("US");
    c173.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=6;
    jp33.add(c173,gbc);
    JLabel l253=new JLabel("Police station");
    gbc.gridx=0;
    gbc.gridy=7;
    jp33.add(l253,gbc);
    JComboBox c183=new JComboBox();
    c183.addItem("Bani Park");
    c183.addItem("Raja Park");
    c183.addItem("Malviya Nagar");
    gbc.gridx=1;
    gbc.gridy=7;
    jp33.add(c183,gbc);
    JLabel l263=new JLabel("Pin No.");
    gbc.gridx=0;
    gbc.gridy=8;
    jp33.add(l263,gbc);
    JTextField tf113=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=8;
    jp33.add(tf113,gbc);
    JLabel l273=new JLabel("Phone No.(R)");
    gbc.gridx=0;
    gbc.gridy=9;
    jp33.add(l273,gbc);
    JTextField tf123=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=9;
    jp33.add(tf123,gbc);
    JLabel l283=new JLabel("phone No.(M)");
    gbc.gridx=0;
    gbc.gridy=10;
    gbc.gridheight=1;
    jp33.add(l283,gbc);
    JTextField tf133=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=10;
    jp33.add(tf133,gbc);
    JPanel jp43=new JPanel(); //third of 3 TitledBorder panels
    jp43.setBorder(new TitledBorder("Ex-Home Address"));
    jp43.setLayout(new GridBagLayout());
    JLabel l293=new JLabel("Address");
    gbc.gridx=0;
    gbc.gridy=0;
    jp43.add(l293,gbc);
    JTextArea ta143=new JTextArea(3,10);
    ta143.setLineWrap(true);
    JScrollPane scroll33=new JScrollPane(ta143);
    gbc.gridx=1;
    gbc.gridy=0;
    jp43.add(ta143,gbc);
    JLabel l303=new JLabel("Country");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.gridheight=1;
    jp43.add(l303,gbc);
    JComboBox c193=new JComboBox();
    c193.addItem("India");
    c193.addItem("US");
    c193.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=1;
    jp43.add(c193,gbc);
    JLabel l313=new JLabel("State");
    gbc.gridx=0;
    gbc.gridy=2;
    jp43.add(l313,gbc);
    JComboBox c203=new JComboBox();
    c203.addItem("Rajasthan");
    c203.addItem("Delhi");
    c203.addItem("Maharastra");
    gbc.gridx=1;
    gbc.gridy=2;
    jp43.add(c203,gbc);
    JLabel l323=new JLabel("District");
    gbc.gridx=0;
    gbc.gridy=3;
    jp43.add(l323,gbc);
    JComboBox c213=new JComboBox();
    c213.addItem("jaipur");
    c213.addItem("ajmer");
    c213.addItem("alwar");
    gbc.gridx=1;
    gbc.gridy=3;
    jp43.add(c213,gbc);
    JLabel l333=new JLabel("City/Town");
    gbc.gridx=0;
    gbc.gridy=4;
    jp43.add(l333,gbc);
    JTextField tf153=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=4;
    jp43.add(tf153,gbc);
    JLabel l343=new JLabel("Police District");
    gbc.gridx=0;
    gbc.gridy=5;
    jp43.add(l343,gbc);
    JComboBox c223=new JComboBox();
    c223.addItem("Jaipur");
    c223.addItem("Alwar");
    c223.addItem("Ajmer");
    gbc.gridx=1;
    gbc.gridy=5;
    jp43.add(c223,gbc);
    JLabel l353=new JLabel("Police Circle");
    gbc.gridx=0;
    gbc.gridy=6;
    jp43.add(l353,gbc);
    JComboBox c233=new JComboBox();
    c233.addItem("India");
    c233.addItem("US");
    c233.addItem("Australia");
    gbc.gridx=1;
    gbc.gridy=6;
    jp43.add(c233,gbc);
    JLabel l363=new JLabel("Police station");
    gbc.gridx=0;
    gbc.gridy=7;
    jp43.add(l363,gbc);
    JComboBox c243=new JComboBox();
    c243.addItem("Bani Park");
    c243.addItem("Raja Park");
    c243.addItem("Malviya Nagar");
    gbc.gridx=1;
    gbc.gridy=7;
    jp43.add(c123,gbc);
    JLabel l373=new JLabel("Pin No.");
    gbc.gridx=0;
    gbc.gridy=8;
    jp43.add(l373,gbc);
    JTextField tf163=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=8;
    jp43.add(tf163,gbc);
    JLabel l383=new JLabel("Phone");
    gbc.gridx=0;
    gbc.gridy=9;
    jp43.add(l383,gbc);
    JTextField tf173=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=9;
    jp43.add(tf173,gbc);
    JLabel l393=new JLabel("Leaving Date");
    gbc.gridx=0;
    gbc.gridy=10;
    gbc.gridheight=1;
    jp43.add(l393,gbc);
    JTextField tf183=new JTextField(10);
    gbc.gridx=1;
    gbc.gridy=10;
    jp43.add(tf183,gbc);
    /*JCheckBox cb13=new JCheckBox("Approx");
    gbc.gridx=2;
    gbc.gridy=10;
    jp43.add(cb13);*/
    JPanel jp53=new JPanel(); //panel for addin all 3 TitledBorder panels
    jp53.setLayout(new BoxLayout(jp53,BoxLayout.X_AXIS));
    jp53.add(jp23);
    jp53.add(Box.createHorizontalStrut(30)); //giving space between each TitledBorder panel
    jp53.add(jp33);
    jp53.add(Box.createHorizontalStrut(30));
    jp53.add(jp43);
    panel3.add(jp53); //adding panel which contains all 3 TitledBorder panels to panel3
    JPanel jp63=new JPanel(); //jp63 panel for bottom data
    jp63.setBorder(new TitledBorder("Tennancy Start/End"));
    JLabel l403=new JLabel("From Date");
    jp63.add(l403);
    JTextField jtf193=new JTextField(12);
    jp63.add(jtf193);
    JCheckBox jcb23=new JCheckBox("Approx");
    jp63.add(jcb23);
    JLabel l413=new JLabel("To Date");
    jp63.add(l413);
    JTextField jtf203=new JTextField(12);
    jp63.add(jtf203);
    JCheckBox jcb33=new JCheckBox("Approx");
    jp63.add(jcb33);
    panel3.add(jp63); //adding bottom details panel jp63 to panel3
    //<--------coding for fourth tab--------->
    JPanel panel4 = new JPanel();
    tabbedPane.addTab("Id of Tenant",null,panel4,"fourth tab");
    panel4.setLayout(new FlowLayout());
    //adding radiobutton above TitledBorder panel jp14
    JPanel jp04=new JPanel();
    JLabel l14=new JLabel("Identity Known");
    JRadioButton jrb14=new JRadioButton("Yes");
    JRadioButton jrb24=new JRadioButton("No");
    ButtonGroup bg14=new ButtonGroup();
    bg14.add(jrb14);
    bg14.add(jrb24);
    jp04.add(l14);
    jp04.add(jrb14);
    jp04.add(jrb24);
    //adding TitledBorder panel jp14
    JPanel jp14=new JPanel();
    jp14.setBorder(new TitledBorder("Identity Detail"));
    jp14.setLayout(new GridBagLayout());
    gbc.insets=new Insets(5,5,5,5);
    JLabel l24=new JLabel("Identity Card");
    gbc.gridx=0;
    gbc.gridy=0;
    jp14.add(l24,gbc);
    JTextField jtf14=new JTextField(10);
    gbc.gridx=1;
    jp14.add(jtf14,gbc);
    JLabel l34=new JLabel("Date of Issue");
    gbc.gridx=0;
    gbc.gridy=1;
    jp14.add(l34,gbc);
    JTextField jtf24=new JTextField(10);
    gbc.insets=new Insets(5,5,5,25);
    gbc.gridx=1;
    jp14.add(jtf24,gbc);
    JLabel l44=new JLabel("Identity Number");
    gbc.insets=new Insets(5,5,5,5);
    gbc.gridx=2;
    jp14.add(l44,gbc);
    JTextField jtf34=new JTextField(10);
    gbc.gridx=3;
    jp14.add(jtf34,gbc);
    JLabel l54=new JLabel("Name Of Issuer");
    gbc.gridx=0;
    gbc.gridy=2;
    jp14.add(l54,gbc);
    JTextField jtf44=new JTextField(10);
    gbc.insets=new Insets(5,5,5,25);
    gbc.gridx=1;
    jp14.add(jtf44,gbc);
    JLabel l64=new JLabel("Place Of Issuer");
    gbc.insets=new Insets(5,5,5,5);
    gbc.gridx=2;
    jp14.add(l64,gbc);
    JTextField jtf54=new JTextField(10);
    gbc.gridx=3;
    jp14.add(jtf54,gbc);
    gbc.gridx=0;
    gbc.gridy=2;
    Box b14=Box.createVerticalBox(); //adding both panels to panel4 in vertical box
    b14.add(jp04);
    b14.add(jp14);
    panel4.add(b14);
    //<--------coding for fifth tab--------->
    JPanel panel5 = new JPanel();
    tabbedPane.addTab("Info Of Other Members",null,panel5,"fifth tab");
    JPanel jp15=new JPanel(); //top panel jp15 for details above add delete buttons
    jp15.setLayout(new GridBagLayout());
    JLabel l15=new JLabel("Name");
    gbc.gridx=0;
    gbc.gridy=0;
    gbc.insets=new Insets(10,10,10,10);
    jp15.add(l15,gbc);
    JTextField jtf15=new JTextField(10);
    gbc.gridx=1;
    jp15.add(jtf15,gbc);
    JLabel l25=new JLabel("Sex");
    gbc.gridx=2;
    gbc.insets=new Insets(10,80,10,10);
    jp15.add(l25,gbc);
    JComboBox jcb15=new JComboBox();
    jcb15.addItem("Male");
    jcb15.addItem("Female");
    gbc.gridx=3;
    gbc.insets=new Insets(10,10,10,10);
    jp15.add(jcb15,gbc);
    JLabel l35=new JLabel("Relation");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.insets=new Insets(10,10,40,10);
    jp15.add(l35,gbc);
    JTextField jtf25=new JTextField(10);
    gbc.gridx=1;
    jp15.add(jtf25,gbc);
    JLabel l45=new JLabel("Age");
    gbc.gridx=2;
    gbc.insets=new Insets(10,80,40,10);
    jp15.add(l45,gbc);
    JTextField jtf35 =new JTextField(10);
    gbc.gridx=3;
    gbc.insets=new Insets(10,10,40,10);
    jp15.add(jtf35,gbc);
    JPanel jp25=new JPanel(); //middle panel jp25 for adding "add" and "delete" buttons
    JButton jb15=new JButton("Add");
    JButton jb25=new JButton("Delete");
    jp25.add(jb15);
    jp25.add(jb25);
    //adding table #yet to be coded#
    Box b15=Box.createVerticalBox();
    b15.add(jp15);
    b15.add(jp25);
    panel5.add(b15); //adding jp15 and jp25 to panel5 in vertical box
    //<--------coding for sixth tab--------->
    JPanel panel6 = new JPanel();
    tabbedPane.addTab("Related To Office",null,panel6,"sixth tab");
    panel6.setLayout(new GridBagLayout());
    //adding 4 labels and textfields vertically
    JLabel l16=new JLabel("Investigation Officer");
    gbc.gridx=0;
    gbc.gridy=0;
    gbc.insets=new Insets(40,40,20,10);
    panel6.add(l16,gbc);
    JTextField jtf16 =new JTextField(10);
    gbc.gridx=1;
    gbc.insets=new Insets(40,20,20,40);
    panel6.add(jtf16,gbc);
    JLabel l26=new JLabel("S.No.");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.insets=new Insets(10,40,20,10);
    panel6.add(l26,gbc);
    JTextField jtf26 =new JTextField(10);
    gbc.gridx=1;
    gbc.insets=new Insets(10,20,20,40);
    panel6.add(jtf26,gbc);
    JLabel l36=new JLabel("Page No.");
    gbc.gridx=0;
    gbc.gridy=2;
    gbc.insets=new Insets(10,40,20,10);
    panel6.add(l36,gbc);
    JTextField jtf36 =new JTextField(10);
    gbc.gridx=1;
    gbc.insets=new Insets(10,20,20,40);
    panel6.add(jtf36,gbc);
    JLabel l46=new JLabel("Date");
    gbc.gridx=0;
    gbc.gridy=3;
    gbc.insets=new Insets(10,40,20,10);
    panel6.add(l46,gbc);
    JTextField jtf46=new JTextField(10);
    gbc.gridx=1;
    gbc.insets=new Insets(10,20,20,40);
    panel6.add(jtf46,gbc);
    /* Canvas c16=new Canvas(); //creating a rectangle frame for adding image
    Image i16=c.createImage(200,100);
    gbc.gridx=2;
    gbc.gridy=0;
    gbc.insets=new Insets(40,20,20,40);
    gbc.gridheight=3;
    panel6.add(i16,gbc);*/
    JButton jb16=new JButton("Browse"); //adding "browse" and "save" buttons
    gbc.insets=new Insets(10,20,20,40);
    gbc.gridy=3;
    panel6.add(jb16,gbc);
    JButton jb26=new JButton("Save");
    gbc.insets=new Insets(50,20,20,40);
    gbc.gridy=4;
    panel6.add(jb26,gbc);
    //<-------end of sixth tab------->
    add(tabbedPane);
    //lower panel for cancel button
    JPanel jp1=new JPanel();
    jp1.setLayout(new FlowLayout(FlowLayout.RIGHT));
    JButton can=new JButton("Cancel"); //initialising cancel button
    jp1.add(can);
    add(jp1,BorderLayout.SOUTH);
    class Blistener implements ActionListener // class for action listener
    public void actionPerformed(ActionEvent ae)
    Object obj=ae.getSource();
    try{
    if(obj == can) //condition for cancel button
    System.exit(0);
    }catch(Exception e)
    {System.out.println(e);
    public class Project
    public static void main(String args[]) //main method for the program
    Design tabbedwin= new Design();
    tabbedwin.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    tabbedwin.setSize(900,700);
    tab

    First things first. Next time please use the code formating tags when posting your code.
    Secondly, we cant help you do your entire project or more specifically we cant do it for you. We can probably help you with one section at a time.
    Thirdly, do not post your entire code. Create a Short, Self Contained, Compilable Example (SSCCE) that demonstrates the problem section, and that is independent of any third party libraries and can compiled instantly and tested.
    Now, lets see if we can answer one problem here.
    Ques 1. In the form I have one JComboBox of Country and other of State. Now I want it in such a way that whenI select a country from the Country JComboBox ,the corresponding states automatically appears in the State JComboBox.
    Ans 1: Use an ItemListener or an ActionListener (javax.swing.event) for this. Once an item is selected, the event will be fired and then you populate your ComboBox with the requried data.
    Ques 2. I need to add picture frame in the 6th tab so that the picture shows up when clicked browse and open.
    Ans 2: You haven't created the JButton for the browse action, nor have you created the JLabel to show the picture in. Create the JButton, then the JLabel, attach an ActionListener to the button to listen for the button click, open a JFileChooser, select the image file, create an ImageIcon and pass the File object returned to it. Then call the JLabel.setIcon( the ImageIcon) to display the picture. You'll have to store the picture File information some where so can reference it when saving.
    Ques 3.I need to add tables in 1st and 5th tab which shows up the details through database when added through several textboxes and combo boxes.
    You need to do some reading. The Swing Tutorial has everything you need, from How to use Tables to How to connect to databases. There are also some examples in your JDK installation folder, ie, jdk/demos/jfc/tableExample. Here is the link to the swing tutorial on how to use Tables: http://java.sun.com/docs/books/tutorial/uiswing/components/table.html. You find other useful links there.
    ICE

  • STEVE JOBS!! PLEASE HELP!! LIST OF WHAT NEEDS TO BE FIXED IN FIRST UPDATE!!

    DEAR STEVE AND APPLE DEVELOPMENT TEAM,
    I have been a loyal Mac customer for almost 20 years. This is the first time I have been extremely unhappy. My thoughts are listed below......
    In giddy excitement, I rushed home from work on Tuesday September 12, 2006 to downloaded itunes 7 and play with the new added features, but to my dismay the bad upgrade experience began which I go into more detail below.
    I just wanted to mention that I bought some new music videos and they won't play. Contacted Apple and they said that they would not give me a refund or itunes store credit. Is this good customer service Apple?? This past week since installing itunes 7.0 It's been a week of MAC DRAMA! If it's the company's fault that I'm having problems because of a bad software upgrade, should I be punished for being a good customer?? Not good business Apple. Wise up to your customers. Without us, where would you be???
    BELOW IS MY PERSONAL DREAM LIST OF ITUNES 7.0 FIXES........
    1) NOT AN EASY UPGRADE. This was not an easy upgrade. itunes 7.0 removed all of my music videos from my ipod because the preferences are now in the summary and at the bottom of the music tab is a check box for including your music videos. Should this not be on by default? Because it was not, all my music videos were erased so I had to put them all back on my ipod which is very time consuming.
    2) INSTALLING QUICKTIME. Apple don't you think that you should have told your customers to install the latest NEW version of Quicktime BEFORE installing itunes 7.0?
    3) MUSIC VIDEO LIBRARY. The itunes library is now separated into different categories. Good idea if you had thought it through. Apple, if you have three video kind settings in the get info box (music video, movie, TV show) would it not be a good idea to reflect this in the new itunes library? PLEASE ADD A MUSIC VIDEO LIBRARY. I understand that music videos are music, but because they are music videos and not audio, it would just make it easier to be able to access them separately from the rest of your mp3's.
    4) COVER FLOW. Again great idea for the eye candy if it worked correctly. Every-time I try to use the coverflow view and add movie art or album art half the time itunes crashes. I have to force quit, then restart itunes. Never crashed in itunes 6.0. Please fix!!
    5) GET ALBUM ART. Get album art is a great idea if it would work correctly. I click on a song that needs art, use the contextual menu, go to get album art, yeah!!!!! oh... nothing happened? Still using third party software fetch art instead.
    6) CATEGORIES. When you are in a playlist or library and would search for a file — at the top left of the itunes 6.0 window it would give you automatic categories to refine and breakdown your search even more. For example, Music, Music Video, Movie, Podcasts. Why did you take this out in itunes 7.0? It was very helpful in refining your search!! PLEASE PUT BACK!!
    7) MUSIC VIDEOS. Even though I would have my music videos set to skip when song shuffle is selected, I could go into the music video folder of the ipod and just play my music videos and they would shuffle within their own folder. Now in itunes 7.0 they will not shuffle. So of course to get around this.... again I had to do more work than I would like to have, by creating just a music playlist with all my songs so I can have them shuffle separate from everything else on my ipod. Then I had to go into my music videos and select all of them to now not skip when shuffle is selected. Apple why are you making this harder on us?? Why are we having to backtrack and regress to do what itunes 6.0 did for us automatically??!!
    8) FRONT ROW WILL NOW NOT RECOGNIZE ANY OF MY TV SHOWS. I go to front row, TV shows, nothing is listed. Just a blank bar. Only way around this is to get info then change video kind from TV show to movie. If video kind is a TV show, then Front Row needs to reflect that. PLEASE FIX!!!
    9) QUICKTIME CRASHES ABOUT HALF THE TIME I USE IT NOW. No problems until last upgrade. I open a video file, click play, spinning color wheel of death! Force quit restart. Did Microsoft help you with this last upgrade???
    10) ITUNES 7.0 IS VERY SLUGGISH! Not as responsive as itunes 6.0. Apple what happened with taking your time. I feel that itunes 7.0 was not thought through and rushed! IF IT AIN'T BROKE, THEN DON'T FIX IT!!! Remember Coke and New Coke?
    I have read numerous more complaints from customers regarding their own personal experiences with this VERY BAD UPGRADE. Apple, I really hope you are reading a lot of these user complaints and really taking this seriously. This mistake may cost you a lot of loyal MAC fans.
    Steve, I hope your reading this. Please help us!!
    Sincerely,
    Jason Bowles

    You're wasting your time writing letters to Apple here as these are user to user forums.
    Use the iTunes feedback form to request improvements and fixes.
    It looks like you used the iTunes Store support form to ask Apple for a refund or store credit but if you think about it, anyone could ask for a refund saying their files don't work and Apple wouldn't know if they were telling the truth. You can ask for replacement copies of your purchases just like I did when I had a corrupted file one. If there really is a problem I suspect an iTunes/QuickTime update will render your videos playable again.
    Most people like me are not experiencing the problems you describe and I can honestly say all my videos and music are playing just fine.
    I updated to QuickTime 7.1.3 after I updated and played with iTunes 7 so that didn't make any difference. I also repaired permissions before and after the updates and permissions were changed so that may have been important.
    I don't know about the erasing of videos from the iPod as I don't have a video capable one.
    I totaly agree about the need for a Music Video library to go with the other libraries and I don't want my music videos in the main music library. This is preferable to using a Music Videos Smart Playlist. I currently find my music videos/behind the scenes interviews etc in the Movies library because their Video Kind is set to "Movies" and the option to change that is greyed out which is a pain. Temporarily I added a grouping tag of "Music Videos" to those videos and edited the Music Videos Smart Playlist to look for that Grouping tag, so at least I can find old and new Music Videos in one place.
    I've had no issues with Cover Flow whatsoever and despite extensive use of iT7 have had no crashes so can't comment on that.
    The Get Album Art feature only works if your track information is correct and the songs are available in the iTunes Store because that's where the artwork comes from. It also won't work if you already have artwork in place from another source so you'd have to remove that to make way for the iTunes artwork if you're wanting higher quality artwork than you could elsewhere.
    The thinking behind the categories change is that you have separate libraries so you can go straight to the appropriate one for movies, podcasts etc. The seach box features a drop-down menu to narrow your search down to All, Album, Artist, Composer or Song so whichever library or playlist you go into you can narrow a search with that.
    I am not finding iTunes 7 to be sluggish at all and having tested its cpu usage I know that's using about 1.5% when idle to 7-10% when playing a song.
    Clearly something is wrong with your installation so assuming you've done the usual practices of repairing permissions and even a reboot for good measure then maybe a reinstall of iT7 and QT is in order.
    I'm sure it's only a matter of time before you or Apple crack it and all will be well again.

Maybe you are looking for

  • Imic, my minidisc and my imac...please help.

    I am trying to understand how to import my recorded music on my minidics to my imac. I just bought the imic, and I really have no idea where to start to figure this out. I went to my system preferences, where i turned all output sound to my imic usb,

  • Invoice and Inventory App

    I run a small clinic with one acupuncturist and would like to track her daily sales on her iPad. Ideally, she'd write up an invoice (no need for printing) with the treatment cost and the supplements purchased for each patient. Then at the end of the

  • Help for NOkia 3220 charger

    Is anybody could help me that, what is the voltage and current value for the charger of Nokia 3220? I left my charger in hotel, and I was told by them that they have loads of charger, so I need these data to get a suitable one. Help and Thanks cheng

  • BPM not activated ,returns code 99

    Hi all,    We are running XI 3.0 SR1,when I create a business process it gets activated,but when I test it, it shows "<b>No object type found for this message"</b>    when i check in sxi_cache it shows return code 99 and when i manually try to activa

  • Javascript confirm alert Can we change the text ok

    can we change the ok and cancel text in the javascript confirm alert. pls respond, its very ungent Edited by: Bini John on Jun 10, 2009 9:19 AM