Can we have a JTabbedPane inside JPanel ?

I am having following containment hierarchy.
JFrame --> JSplitPane(RightComponent) --> JPanel -->
JTabbedPane --> (JPanel1 and JPanel2)
When I run the application, I see no tabs and only JPanel2 is loaded.
regards,
Nirvan

Thanks for the reply.
Encephalopathic wrote:
nirvan wrote:
When I run the application, I see no tabs and only JPanel2 is loaded.
Then you've got a bug, but where it's impossible to guess. I recommend that you show us the smallest compilable > program possible that demonstrates your problem, an [SSCCE.|http://sscce.org] Please click on the link to see > how to create this. Best of luck.
Intially, I just wanted to be sure whether the containment hierarchy is allowed or not. Hence I didn't post SSCCE. Anyways, you were right that there was a simple bug in the program. I have resolved it.
regards,
nirvan

Similar Messages

  • Can I have a form inside another form?

    Hi!
    Is it possible to have a form inside another form?
    Regards,
    Filipa

    I think I'm messing up everything and i'm confused with how jsf works.
    I've noticed now that my problem doen't have todo with if i'm usin one form or nested forms :(
    The problem is (as i understood) that if the backing bean that I'm using for the chart part is a request chart, every time i submit the form a new instance of the bean is created and so the initialization of the selected checkboxes is redone.
    How can I avoid this? I would like to have only the choosen checkboxes selected.
    Here is the jsp code I'm using:
    <h:form>
    <h:panelGrid id="selectMenus" columns="2" style="margin-bottom:10px">
         <h:panelGroup style="margin-right:5px">
              <h:selectOneMenu id="projectSelectBox"
                   value="#{chartTypesBean.selectedProject}" onchange="submit()">
                   <f:selectItems value="#{chartTypesBean.projects}" />
              </h:selectOneMenu>
         </h:panelGroup>
         <h:panelGroup>
              <h:selectOneMenu id="chartSelectBox"
                   value="#{chartTypesBean.selectedProjectChart}" onchange="submit()">
                   <f:selectItems value="#{chartTypesBean.projectCharts}" />
              </h:selectOneMenu>
         </h:panelGroup>
    </h:panelGrid>
    <h:panelGrid id="calcByDay_grid" columns="2"
         rendered="#{chartTypesBean.lineRendered}">
         <h:panelGroup>
              <jd:barChart3d dataset="#{lineChartBean.lineDataset}" width="400"
                   height="400" fileExt="png" chartTitle="Calc by Day"
                   includeLegend="true" formatter="#{lineChartBean.formatter}"
                   type="Line" plotColor="#D8D8D8" binding="#{lineChartBean.lineChart}" />
         </h:panelGroup>
         <h:panelGroup>
              <h:selectManyCheckbox id="lineSeries" layout="pageDirection"
                   immediate="true" value="#{lineChartBean.lineSelectedSeries}">
                   <f:selectItems value="#{lineChartBean.lineSeries}" />
              </h:selectManyCheckbox>
              <h:commandButton id="lineSubmit" value="Submit"
                   action="submit()" />
         </h:panelGroup>
    </h:panelGrid>
    ... (other charts) ...
    </h:form>
    here is the line chart backing bean code:
    public class LineChartBean {
         private Logger logger = Logger.getLogger(LineChartBean.class
                   .getSimpleName());
         private boolean firstTime = true;
         private final String[] lineCategories = { "27/07/05", "28/07/05",
                   "29/07/05", "30/07/05", "31/07/05", "01/08/05", "02/08/05",
                   "03/08/05", "04/08/05", "05/08/05", "06/08/05", "07/08/05",
                   "08/08/05", "09/08/05", "10/08/05", "11/08/05", "12/08/05",
                   "13/08/05", "14/08/05", "15/08/05", "16/08/05", "17/08/05",
                   "18/08/05", "19/08/05", "20/08/05", "21/08/05", "22/08/05",
                   "23/08/05", "24/08/05", "25/08/05", "26/08/05" };
         private final SelectItem[] lineSeries = { new SelectItem("Open", "Open"),
                   new SelectItem("P1(Open)", "P1(Open)"),
                   new SelectItem("P2(Open)", "P2(Open)"),
                   new SelectItem("Active", "Active"), new SelectItem("Test", "Test"),
                   new SelectItem("Evol", "Evol") };
         private final double[][] lineValues = { { 8, 1, 4, 6, 7, 11.60483871 },
                   { 11, 1, 4, 7, 5, 11.62903226 }, { 11, 1, 4, 7, 5, 11.65322581 },
                   { 11, 1, 4, 7, 5, 11.67741935 }, { 11, 1, 4, 7, 5, 11.7016129 },
                   { 13, 2, 5, 7, 5, 11.72580645 }, { 14, 2, 5, 7, 5, 11.75 },
                   { 12, 3, 4, 9, 5, 11.77419355 }, { 12, 3, 4, 9, 5, 11.7983871 },
                   { 12, 3, 4, 9, 5, 11.82258065 }, { 12, 3, 4, 9, 5, 11.84677419 },
                   { 12, 3, 4, 9, 5, 11.87096774 }, { 14, 3, 5, 10, 4, 11.89516129 },
                   { 13, 2, 6, 12, 4, 11.91935484 }, { 13, 2, 6, 12, 4, 11.94354839 },
                   { 13, 2, 6, 12, 4, 11.96774194 }, { 12, 2, 5, 4, 13, 11.99193548 },
                   { 12, 2, 5, 4, 13, 12.01612903 }, { 12, 2, 5, 4, 13, 12.04032258 },
                   { 12, 2, 5, 4, 13, 12.06451613 }, { 12, 2, 4, 4, 11, 12.08870968 },
                   { 12, 2, 4, 3, 9, 12.11290323 }, { 14, 3, 5, 2, 4, 12.13709677 },
                   { 11, 0, 5, 3, 5, 12.16129032 }, { 11, 0, 5, 3, 5, 12.18548387 },
                   { 11, 0, 5, 3, 5, 12.20967742 }, { 12, 0, 6, 2, 5, 12.23387097 },
                   { 12, 0, 6, 2, 4, 12.25806452 }, { 12, 0, 6, 2, 4, 12.28225806 },
                   { 12, 0, 6, 2, 4, 12.30645161 }, { 12, 0, 6, 2, 4, 12.33064516 } };
         private DefaultCategoryDataset lineDataset;
         private String[] lineSelectedSeries;
         private NumberFormat formatter = new DecimalFormat("#,###.##");
         public CategoryDataset getLineDataset() {
              if(firstTime) {
                   lineSelectedSeries = new String[lineSeries.length];
                   for (int i = 0; i < lineSeries.length; i++) {
                        lineSelectedSeries[i] = (String) lineSeries.getValue();
                   firstTime = false;
              lineDataset = new DefaultCategoryDataset();
              for (int serie = 0; serie < lineSeries.length; serie++) {
                   String serieName = (String) lineSeries[serie].getValue();
                   boolean isSelected = false;
                   for (String selectedSerie : lineSelectedSeries) {
                        if (lineSeries[serie].getValue().equals(selectedSerie)) {
                             isSelected = true;
                             break;
                   if (!isSelected) {
                        continue;
                   } else {
                        for (int category = 0; category < lineCategories.length; category++) {
                             double y = lineValues[category][serie];
                             lineDataset
                                       .addValue(y, serieName, lineCategories[category]);
              return lineDataset;
         public NumberFormat getFormatter() {
              return formatter;
         * @return Returns the lineSelectedSeries.
         public String[] getLineSelectedSeries() {
              return lineSelectedSeries;
         * @return Returns the lineSeries.
         public SelectItem[] getLineSeries() {
              return lineSeries;
         * @param lineSelectedSeries
         * The lineSelectedSeries to set.
         public void setLineSelectedSeries(String[] lineSelectedSeries) {
              this.lineSelectedSeries = lineSelectedSeries;

  • Can I have a JSP  inside another JSP??

    if so,
    say, I have a JSP inside another JSP then,
    how many servlets r generated by the JSP engine??

    Yes U can have JSP inside another JSP, ofcourse using jsp:include and in that case two servlets will be generated. Thats what i feel that happens.

  • Can we have a dataGrid inside dataGrid

    This is my code...
    <netui-data:dataGrid dataSource="pageInput.accountGroup" name="accountDetail" tagId="accountDetail" style="display:none;" width="100%" cellSpacing="0" cellPadding="0" style="color:#333333;" >
                   <netui-data:configurePager disableDefaultPager="true" defaultPageSize="${pageScope.size}" />
                   <netui-data:header >
                   <netui-data:row styleClass="header">
                        <netui-data:templateCell > </netui-data:templateCell >
                        <netui-data:templateCell >Account Group</netui-data:templateCell >
                        <netui-data:templateCell >Account Name</netui-data:templateCell >
                        <netui-data:templateCell >Bank/State ID</netui-data:templateCell >
                        <netui-data:templateCell >Account/Obligor Number</netui-data:templateCell >
                   </netui-data:row>
                        <netui-data:row ><netui-data:templateCell > </netui-data:templateCell ></netui-data:row>
                   </netui-data:header>
                   <netui-data:rows tagId="account" style="background-color:#EEEEEE;">
                   <netui-data:row >
                        <netui-data:imageCell style="cursor:hand;" src="plus.gif" tagId="plus" onclick="displayRows(this)" ></netui-data:imageCell>
                        <netui-data:templateCell >${container.item}</netui-data:templateCell>
                   </netui-data:row>
                   <netui-data:row >
                        <netui-data:templateCell >
                             <netui-data:dataGrid name="accountDetail" dataSource="pageScope.accList" tagId="accountDetail" >
                                  <netui-data:rows >
                                            <netui-data:templateCell > </netui-data:templateCell >
                                            <netui-data:templateCell > </netui-data:templateCell >     
                                            <netui-data:spanCell cellTagId="accountName" value="${container.item.accountName}"></netui-data:spanCell >
                                            <netui-data:spanCell cellTagId="bankId" value="${container.item.bankID}"></netui-data:spanCell >
                                            <netui-data:spanCell cellTagId="accountNumber" value="${container.item.accountNumber}"></netui-data:spanCell >
                                  </netui-data:rows>
                             </netui-data:dataGrid>
                        </netui-data:templateCell>
                   </netui-data:row>
                   </netui-data:rows>
              </netui-data:dataGrid>
    And i am getting this error....................
    javax.servlet.ServletException: javax.servlet.jsp.JspException: javax.servlet.jsp.JspException: Unable to find a dataGridModel in the JspContext
         at weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:420)
         at jsp_servlet._portlets._accountgroups.__accountgorupmain._jspService(__accountgorupmain.java:317)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:385)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
         at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.java:119)
         at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:551)
         at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:363)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:483)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
         at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
         at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
         at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
         at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
         at jsp_servlet._framework._skeletons._default.__flowlayout._jspService(__flowlayout.java:285)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
         at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
         at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
         at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
         at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:188)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:148)
         at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:377)
         at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:253)
         at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:206)
         at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:191)
         at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:266)
         at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:656)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(HttpContextFilter.java:60)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:315)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: javax.servlet.jsp.JspException: javax.servlet.jsp.JspException: Unable to find a dataGridModel in the JspContext
         at jsp_servlet._portlets._accountgroups.__accountgorupmain$JspFragmentHelper.invoke(__accountgorupmain.java:835)
         at org.apache.beehive.netui.tags.databinding.datagrid.Rows.doTag(Rows.java:438)
         at jsp_servlet._portlets._accountgroups.__accountgorupmain$JspFragmentHelper.invoke1(__accountgorupmain.java:439)
         at jsp_servlet._portlets._accountgroups.__accountgorupmain$JspFragmentHelper.invoke(__accountgorupmain.java:775)
         at org.apache.beehive.netui.tags.databinding.datagrid.DataGrid.doTag(DataGrid.java:884)
         at jsp_servlet._portlets._accountgroups.__accountgorupmain._jspService(__accountgorupmain.java:286)
         ... 81 more
    Caused by: javax.servlet.jsp.JspException: Unable to find a dataGridModel in the JspContext
         at org.apache.beehive.netui.tags.databinding.datagrid.Row.doTag(Row.java:349)
         at jsp_servlet._portlets._accountgroups.__accountgorupmain$JspFragmentHelper.invoke3(__accountgorupmain.java:486)
         at jsp_servlet._portlets._accountgroups.__accountgorupmain$JspFragmentHelper.invoke(__accountgorupmain.java:781)
         ... 86 more
    Caused by:
    javax.servlet.jsp.JspException: javax.servlet.jsp.JspException: Unable to find a dataGridModel in the JspContext
         at jsp_servlet._portlets._accountgroups.__accountgorupmain$JspFragmentHelper.invoke(__accountgorupmain.java:835)
         at org.apache.beehive.netui.tags.databinding.datagrid.Rows.doTag(Rows.java:438)
         at jsp_servlet._portlets._accountgroups.__accountgorupmain$JspFragmentHelper.invoke1(__accountgorupmain.java:439)
         at jsp_servlet._portlets._accountgroups.__accountgorupmain$JspFragmentHelper.invoke(__accountgorupmain.java:775)
         at org.apache.beehive.netui.tags.databinding.datagrid.DataGrid.doTag(DataGrid.java:884)
         at jsp_servlet._portlets._accountgroups.__accountgorupmain._jspService(__accountgorupmain.java:286)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlowPageFilter.java:385)
         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlowPageFilter.java:284)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
         at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.java:119)
         at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:551)
         at com.bea.netuix.servlets.controls.content.NetuiContent.beginRender(NetuiContent.java:363)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:483)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:332)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:306)
         at com.bea.netuix.nf.UIControl.render(UIControl.java:578)
         at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:482)
         at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
         at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag(RenderChild.java:62)
         at jsp_servlet._framework._skeletons._default.__flowlayout._jspService(__flowlayout.java:285)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:528)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
         at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:123)
         at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
         at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
         at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:479)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:375)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:341)
         at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:188)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:148)
         at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:377)
         at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:253)
         at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:206)
         at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:191)
         at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:266)
         at com.bea.netuix.servlets.manager.PortalServlet.service(PortalServlet.java:656)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.portal.tools.servlet.http.HttpContextFilter.doFilter(HttpContextFilter.java:60)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:315)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: javax.servlet.jsp.JspException: Unable to find a dataGridModel in the JspContext
         at org.apache.beehive.netui.tags.databinding.datagrid.Row.doTag(Row.java:349)
         at jsp_servlet._portlets._accountgroups.__accountgorupmain$JspFragmentHelper.invoke3(__accountgorupmain.java:486)
         at jsp_servlet._portlets._accountgroups.__accountgorupmain$JspFragmentHelper.invoke(__accountgorupmain.java:781)
         ... 86 more
    Can anyone plz help me...

    Thanks for the reply.
    Encephalopathic wrote:
    nirvan wrote:
    When I run the application, I see no tabs and only JPanel2 is loaded.
    Then you've got a bug, but where it's impossible to guess. I recommend that you show us the smallest compilable > program possible that demonstrates your problem, an [SSCCE.|http://sscce.org] Please click on the link to see > how to create this. Best of luck.
    Intially, I just wanted to be sure whether the containment hierarchy is allowed or not. Hence I didn't post SSCCE. Anyways, you were right that there was a simple bug in the program. I have resolved it.
    regards,
    nirvan

  • Can I have a varray inside a varray

    is this possible?

    I declare the following:
    ++++++++++++++
    create or replace type GROUP_L1 as table of GROUP_T1
    create or replace TYPE GROUP_T1 AS OBJECT
    EI_INFOSYSTEMACRONYMNAME VARCHAR2(50),
    GROUPT2 GROUP_T2
    create or replace type GROUP_L2 as table of GROUP_T2
    create or replace TYPE GROUP_T2 AS OBJECT
    GE_REFERENCEPOINTTEXT VARCHAR2(50)
    ++++++++++++++
    When I ran the following:
    ++++++++++++++++++++
    SELECT cast(multiset(select
    EI.EITC_ENV_INTEREST_TYPE_ID EI_INFOSYSTEMACRONYMNAME,
    cast(multiset(select 'DWW' as GE_REFERENCEPOINTTEXT from dual) as GROUP_T2) GROUP_T2
    FROM FDM.ENVIRONMENTAL_INTERESTS EI
    WHERE M.MANAGED_ENTITY_ID = EI.ME_MANAGED_ENTITY_ID) as GROUP_L1) GROUP_L1
    FROM FDM.MANAGED_ENTITIES M;
    +++++++++++++++++++++
    I get this error:
    Error at Command Line:3 Column:89
    Error report:
    SQL Error: ORA-22907: invalid CAST to a type that is not a nested table or VARRAY
    22907. 00000 - "invalid CAST to a type that is not a nested table or VARRAY"
    *Cause:    Attempted to CAST to a type that is not a nested table or
    VARRAY
    *Action:   Re-specify CAST to a nested table or VARRAY type.
    What am I doing wrong?
    Thanks.

  • How i can full fill the JTabbedPane  in the jpanel?

    i'm chinese ,i'm sorry for my poor English.
    when i add a jpanel to the jframe(the contentPane is seted to BorderLayout),the jpanel is full fill the jframe,
    but when i
    jpanel.add(jTabbedPane1,BorderLayout.CENTER );
    the jTabbedPane1's size is too small.
    my question is how i can full fill the JTabbedPane in the jpanel like
    jpanel in the jframe?

    post a small sample program that displays what you have described
    just a JFrame, containing a JPanel
    the panel contains a JTabbedPane
    the tabbedPane has 1 tab which contains a JPanel
    enough so that we can copy/paste/compile and run the program

  • How can i have close option for JTabbedPane.

    In My product I use JTabbedPane for several tabs,so i need an option to close each tab ,currently I have an toolbar close button and menu button,but these two are global options,so how can I have close option in the same tab??

    For a similer problem I did it like this
    I creates a subclass of JPanel called TabPanel which having a BorderLayout and in the North section of it there is a tool bar with close button. And it has a reference to the Parent JTabbedPane.
    When ever the close button is clicked it just call the remove on parent TabbedPane giving itself as the parameter.
    and every tab page added to JTabbedPane is a instance of it or an instance of its subclass.
    I think that you can do things on your own from here....

  • Can video can be shown inside JPanel ?

    Can video can be shown inside JPanel ? is there any example can do this ?

    Several information can be found on this topic.
    You can add video on JFrame, JInternalFrame so why not on JPanel ?
    For more information you can shearch examples in the Sun's JMF examples.
    I try to use video in JInternalFrame, but the frame rate is very bad ... so if you have solution... your are welcome.
    Good luck!

  • Can we have form inside a form?

    Hi All,
    Can we have form inside a form?
    Thanks
    kiran

    Can we have form inside a form? Yes. However you could find out that , regardless of which form gets submitted, all input fields of both forms would get submitted anyway.
    That would render nested forms quite useless.
    But as it has been said, why don't you try it and see for yourself?
    Keep in mind that, you may think you need nested forms, but you really do not need that, and there is a problem with your design.

  • Can I have to User Task inside one BPEL

    Hi All
    Can I have to User Task inside one BPEL?
    Can any of U tell me ..? I am getting exception....like in case of user defined key it must be unique......

    Probably best to ask this on the BPEL forum:
    BPEL

  • How I can set up the DynDns inside the Time capsule, or only with the Time capsule I have external access from a PC for ex.?

    How I can set up the DynDns inside the Time capsule, or only with the Time capsule I have external access from a PC for ex.?

    MobileMe service is finished.. to get remote access to the Mac or TC you use iCloud account.. but that is for files.. not to access web cams.
    Without dyndns client in the TC, you can perhaps run dyndns on the computer or video recorder..many of these will have clients built into them.
    Even better get a static Public IP from your ISP.. that is the correct professional way to do it.
    Or you can use whatever broadband modem you have and remove the TC as the main router.. simply bridge it. Use your adsl router for connection. Almost all adsl have built in dyndns.
    Sorry your language is very hard to follow.. and I am sure you are finding my answers similarly difficult.
    Basically the TC is about the hardest device to setup because it is lacking important networking functions.
    Get a vpn router and use vpn connection is far superior to any other method. But you cannot do it with TC.

  • Clipping inside JPanel

    Hi,
    I have some components inside my JPanel. I want to view only the portions of the children components which fall inside a specific portion of my panel, the rest should be clipped off. ( It is similar to viewing a rectangular picture using a small convex glass placed over it, so that I can see the components below the glass)
    Is this possible to do? and how?
    thanks.

    Just override paint method of your panel like this.
    public void paint(Graphics g) {
    Shape oldClip=g.getClip();
    g.setClip(new Rectangle(x,y,w,h));
    super.paint(g);
    g.setClip(oldClip);
    best regards
    Stas

  • How do we use if statement in labview?moreover can i use if statement inside for loop?

    how do we use if statement in labview?moreover can i use if statement inside for loop?

    The if statement in LabVIEW is the Case structure. You can find that on the Structures palette right next to the For Loop. If you're still on the same subject about terminating a for loop early, then what you do is enclose your functions inside the loop with a case statment and make one of the case's empty except for one or more constants that you might have to wire. Hopefully, the attached picture will explain what I mean. Also, as I mentioned in one of your other posts, I think this technique is not as good as using a while loop. The array in the attached example is the same size no matter what and you may have to handle stripping extra or invalid elements.
    Attachments:
    For_Loop_with_Case.jpg ‏21 KB

  • How can I have separate Libraries in iTunes for my Children?

    Hi all,
    I have bought my children iPod Touch devices for Christmas this year and would like to set up accounts and libraries for each of them (3 in total, one for the Mrs!) so I can sync them and put some games and apps on ready for use.
    Is it possible to have multiple Libraries on one computer? I know I can open iTunes accounts for each of them but they're not at that stage yet but will - at some point - require different games, apps and whatnot.
    I'm sure a friend of mine has a different iTunes library for him and his wife on the same computer and they don't have any sync'ing problems at all...
    I hope someone can help!
    Dave.

    You can likely set up different user accounts on the computer and have a library in each account.  I use a Mac so I can't be more specific on user accounts on Windows.
    Alternatively you can set up different libraries inside a single user account.  I'ts a bit cumbersome switching between them though.  You can create and switch betwween libraries by holding down the shift key while starting iTunes, then guide it to the library you wish to use.
    Another possibility would be to sync just playlists, not everything.  While there are ways to share items between libraries using other methods, this one has the advantage that all the things are in one library and each person makes their selection.
    iOS: Syncing with iTunes - http://support.apple.com/kb/ht1386
    As for AppleID and accounts, you might consider setting up sooner rather than later.  The main problem with Apple purchases is you cannot transfer them between accounts.  If you give a child a song for a birthday and purchase it on your account, it is forever tied to your account.  If in 10 years your child wants to take with them to college you'll have to give them access to your whole account or always be authorizing their devices which you may not wish to do.

  • How can i  add more than 500 jPanels in a jScrollPane

    Hello to all ,
    I am facing a problem related to adding jPanels in jScrollPane. My application needs more than 500 jpanels in the jscrollpane.where in each jPanel 4 jtextboxes, 1 comboboxes, 1 check box is there.when the check box will be clicked then the total row( ie row means the panel containing the 4 jtextboxes, 1 comboboxes, 1 check box ).and when the user will click on move up or move down button then the selected jpanel will move up or down.
    The tool(sun java studio enterprise 8.1) is not allowing more Jpanels to add manually. so i have to add the jpanels by writing the code in to a loop. and the problem is that when i am trying to add the code in the code generated by the tool the code written out side the code by me is not integratable into the tool generated code.
    If u watch the code here am sending u ll get what am facing the problem. The idea of creating jpanels through loop is ok but when trying to impleent in tool facing difficulties.
    A example code am sending here. please tell me how i can add more panels to the scrollpane(it is the tool generated code)
    Thanks in advance , plz help me for the above
    package looptest;
    public class loopframe extends javax.swing.JFrame {
    /** Creates new form loopframe */
    public loopframe() {
    initComponents();
    private void initComponents() {
    jScrollPane1 = new javax.swing.JScrollPane();
    jPanel1 = new javax.swing.JPanel();
    jPanel2 = new javax.swing.JPanel();
    jTextField1 = new javax.swing.JTextField();
    jComboBox1 = new javax.swing.JComboBox();
    jPanel3 = new javax.swing.JPanel();
    jTextField2 = new javax.swing.JTextField();
    jComboBox2 = new javax.swing.JComboBox();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jTextField1.setText("jTextField1");
    jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
    org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
    jPanel2.setLayout(jPanel2Layout);
    jPanel2Layout.setHorizontalGroup(
    jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jPanel2Layout.createSequentialGroup()
    .add(28, 28, 28)
    .add(jTextField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 109, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .add(54, 54, 54)
    .add(jComboBox1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 156, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .addContainerGap(35, Short.MAX_VALUE))
    jPanel2Layout.setVerticalGroup(
    jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jPanel2Layout.createSequentialGroup()
    .addContainerGap()
    .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
    .add(jTextField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .add(jComboBox1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
    .addContainerGap(21, Short.MAX_VALUE))
    jTextField2.setText("jTextField2");
    jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
    org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3);
    jPanel3.setLayout(jPanel3Layout);
    jPanel3Layout.setHorizontalGroup(
    jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jPanel3Layout.createSequentialGroup()
    .add(20, 20, 20)
    .add(jTextField2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 111, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .add(33, 33, 33)
    .add(jComboBox2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 168, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .addContainerGap(40, Short.MAX_VALUE))
    jPanel3Layout.setVerticalGroup(
    jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jPanel3Layout.createSequentialGroup()
    .add(21, 21, 21)
    .add(jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
    .add(jComboBox2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .add(jTextField2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
    .addContainerGap(21, Short.MAX_VALUE))
    org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
    jPanel1.setLayout(jPanel1Layout);
    jPanel1Layout.setHorizontalGroup(
    jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jPanel1Layout.createSequentialGroup()
    .addContainerGap()
    .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jPanel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .add(jPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
    .addContainerGap(58, Short.MAX_VALUE))
    jPanel1Layout.setVerticalGroup(
    jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jPanel1Layout.createSequentialGroup()
    .add(21, 21, 21)
    .add(jPanel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .add(49, 49, 49)
    .add(jPanel3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .addContainerGap(66, Short.MAX_VALUE))
    jScrollPane1.setViewportView(jPanel1);
    org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(layout.createSequentialGroup()
    .add(31, 31, 31)
    .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 439, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .addContainerGap(74, Short.MAX_VALUE))
    layout.setVerticalGroup(
    layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(layout.createSequentialGroup()
    .add(30, 30, 30)
    .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 254, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .addContainerGap(55, Short.MAX_VALUE))
    pack();
    }// </editor-fold>
    * @param args the command line arguments
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new loopframe().setVisible(true);
    // Variables declaration - do not modify
    private javax.swing.JComboBox jComboBox1;
    private javax.swing.JComboBox jComboBox2;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    // End of variables declaration
    and
    package looptest;
    public class Main {
    public Main() {
    public static void main(String[] args) {
    new loopframe().setVisible(true);
    }

    Thanks for here kind attention to solve my problem.
    I am thinking to create the classes separately for the components (i.e the jpanel, combobox,textbox etc)and call their instaces from the for loop .But the problem is the jpanel will contain the other components and that jpanels (unlimited jpanels will be added later)will be later added to the jscrollpane.
    By writing code, the problem is to place components( the comboboxes,textboxes etc placed on the jpanel ) in appropriate coordinates . So i am doing it through tool .
    I am sending here the sample code related to my actual need . In this i have taken a jScrollPane, on that i have added jPanel1 and on jPanel1 i have added jPanel2.On jPanel2 jTextField1, jComboBox1,jCheckBox are added. If the u ll see the code u can understand what problem i am facing.
    If i am still not clearly explained ,please ask me. plz help me if u can as u have already handled a problem similar to this.
    package addpanels;
    public class Main {
    /** Creates a new instance of Main */
        public Main() {
        public static void main(String[] args) {
            new addpanels().setVisible(true);
    } and
    package addpanels;
    public class addpanels extends javax.swing.JFrame {
        /** Creates new form addpanels */
        public addpanels() {
            initComponents();
        private void initComponents() {
            jScrollPane1 = new javax.swing.JScrollPane();
            jPanel1 = new javax.swing.JPanel();
            jPanel2 = new javax.swing.JPanel();
            jTextField1 = new javax.swing.JTextField();
            jComboBox1 = new javax.swing.JComboBox();
            jCheckBox1 = new javax.swing.JCheckBox();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jTextField1.setText("jTextField1");
            jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
            jCheckBox1.setText("jCheckBox1");
            jCheckBox1.setBorder(javax.swing.BorderFactory.createEmptyBorder(0, 0, 0, 0));
            jCheckBox1.setMargin(new java.awt.Insets(0, 0, 0, 0));
            org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
            jPanel2.setLayout(jPanel2Layout);
            jPanel2Layout.setHorizontalGroup(
                jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel2Layout.createSequentialGroup()
                    .addContainerGap()
                    .add(jTextField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 131, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(jComboBox1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 144, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(jCheckBox1)
                    .addContainerGap(39, Short.MAX_VALUE))
            jPanel2Layout.setVerticalGroup(
                jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel2Layout.createSequentialGroup()
                    .addContainerGap(17, Short.MAX_VALUE)
                    .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                        .add(jTextField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(jComboBox1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(jCheckBox1))
                    .addContainerGap())
            org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
            jPanel1.setLayout(jPanel1Layout);
            jPanel1Layout.setHorizontalGroup(
                jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel1Layout.createSequentialGroup()
                    .addContainerGap()
                    .add(jPanel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(34, Short.MAX_VALUE))
            jPanel1Layout.setVerticalGroup(
                jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(jPanel1Layout.createSequentialGroup()
                    .add(26, 26, 26)
                    .add(jPanel2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(152, Short.MAX_VALUE))
            jScrollPane1.setViewportView(jPanel1);
            org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                    .addContainerGap(36, Short.MAX_VALUE)
                    .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 449, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .add(18, 18, 18))
            layout.setVerticalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(layout.createSequentialGroup()
                    .add(32, 32, 32)
                    .add(jScrollPane1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 230, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(38, Short.MAX_VALUE))
            pack();
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new addpanels().setVisible(true);
        // Variables declaration - do not modify//GEN-BEGIN:variables
        private javax.swing.JCheckBox jCheckBox1;
        private javax.swing.JComboBox jComboBox1;
        private javax.swing.JPanel jPanel1;
        private javax.swing.JPanel jPanel2;
        private javax.swing.JScrollPane jScrollPane1;
        private javax.swing.JTextField jTextField1;
        // End of variables declaration//GEN-END:variables
    }

Maybe you are looking for

  • I can't save facebook photos to camera roll since upgrading to ios7

    can't save facebook photos to camera roll since upgrading to ios7, please help?  I press on photo, and menu comes up to save photo, but it is not in my camera roll.  What's up?

  • In your experience what are the best audio units to use

    I hope that some of you folks are open to sharing some of your presets with others who aren't quite as good at toggling the audio unit section of garageband. I'm actually surprised that no site has sprouted up offering file downloads of presets for t

  • Drive won't read any dvd ejects it automatically

    My drive Won't read any kind of DVDs, it keeps ejecting automatically after spinning for a while. it's been going on for a while now. please help!!!!!

  • Disabling dashboard and spotlight.

    Is there a way to exit these programs until I actually want to use them? I'd like to get some extra speed out of my eMac for use with other things, and I'm sure these running in the background aren't helping too much. Can anyone suggest anything for

  • Can't log onto Wifi..

    My dear Apple friends I have a quick question for you! I bought a macbook pro a few months back in Oz (complete convert now despite my lack of computer skills) and Ive been trying to link it up to my home WiFi unsuccessfully. Essentially I was puttin