Error when trying to set Organizationalaccountsuffix through Set-AdfsClaimsProviderTrust

I'm in the process of migrating from ADFS 2.0 to 3.0 for our Office 365 integration. It has mostly gone over quite painless being able to export and import the rules quite easily. However on the old system clients where able to log in with just their username
and adfs would take care of the suffix.
ADFS3.0 doesn't appear to do this for me at the moment and then I read that you can set the Organizational Account Suffix through Set-AdfsClaimsProviderTrust
However when I try to run
Set-AdfsClaimsProviderTrust -TargetName <targetname> -OrganizationalAccountSuffix @("<suffix>")
 I get the following error and I don't really understand what it means or what i can do to resolve it. 
Set-AdfsClaimsProviderTrust : PS0027: No properties except AcceptanceTransformRules, 
AcceptanceTransformRulesFile and ClaimOffered can be modified on the ADAuthority claims provider trust.
At line:1 char:1
+ Set-AdfsClaimsProviderTrust -TargetName "Active Directory" -OrganizationalAccoun ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (Microsoft.Ident...msProviderTrust:ClaimsProviderTrust) [Set- 
AdfsClaimsProviderTrust], ArgumentException
+ FullyQualifiedErrorId : PS0027,Microsoft.IdentityServer.Management.Commands.SetClaimsProviderTrustCommand
Any ideas?
Regards, 
Jacob

Hi Jacob,
That's something else:  an alternate login identifier. That's a suffix-based mechanism for logon using an alternate attribute to that of sAMAccountName or UPN. You asked "how to logon using your username and AD FS will take care of the suffix"...
that's not what this solution will do.  Whereas in AD FS 2.0 it's possible to logion without a domain prefix using just your sAMAccountName.. in AD FS 3.0, this is not possible without customization of Javascript as described here ..
Regards,
Mylo
http://blog.auth360.net

Similar Messages

  • API error when trying to create a display set

    Hello,
    I'm creating a mapping, and I'm trying to define an attribute display set in the target table to show only some of the attributes of the table. I have called it 'SHORT_LIST' and I have also selected the attributes I want to display, but when I press OK, the followig error message is shown: "API0411: Name should not be an empty string", but I do fill the display set name!
    What is happening?
    Cheers,
    Natividad Moreno.

    Hi,
    Not sure what is happening here. What version are you running? This seems like a bug though so I suggest logging an iTar wiht support.
    Jean-Pierre

  • Error when trying to run drill through in excel.

    About 2 weeks ago we upgraded our system from Essbase 654 to 931.
    Some of our users are now getting this error message on their screen when they try to run a drill through report.
    [OLAPISVR] 1051293:
    When I look in the OLAPISVR.log the below error is being written in the log when users get the above error.
    [Wed Jul 16 09:08:56 2008] /IS//0x0/1216217383/Error/1051293/Build-AIS93100B113
    EssbaseAPI: Login fails due to invalid login credentials
    [Wed Jul 16 09:08:56 2008] /IS//0x0/1216217383/Error/0/Build-AIS93100B113
    Analytic Services Error Number 1051293.Failed to Login to Analytic Services Server.
    They are able to logon to the essbase database and do a retrieve fine in Excel, but not drill through. It looks like just before they start to get this error they have changed their network password.
    We are not using shared services to administer the security. We are using an in house application for that. Also the users are set up to use external authentication.
    We did not encounter this error with the 654 version.
    Since the users ids are not changing I assumed the problem is with their password.
    Anybody have any thoughts on what has to be done to fix this error?

    Within EIS, you might have to test all of your Drill-Through reports again for connectivity.
    I believe Excel Drill-through is closer to the LRO (Linked Reporting Objects) functionality.
    The real reports are created and managed with in the EIS application as "Drill Through Report"
    These reports also have a special process for refreshing their data.
    Brian Chow

  • UCCX/CUIC 10.5 - Default filter error when trying to run reports through dashboard

    I'm new to CUIC.  We just upgraded UCCX to 10.5.1 this past weekend, and I'm working on building a dashboard to replace the old wallboard that was custom written by our integrator previously.  When I add the live report for CSQ Detail (example...name may be a little off), it displays the options you would expect in the dashboard designer.  When I create a permalink and attempt to run it, it throws an error about not having a default filter specified...what should I be looking for to setup the default filter?
    I've been looking through the user guide, but can't find anything specific around default filters.
    Thanks all
    SJ

    Click on the header for the "Reports" drawer to open the "Available Reports" tab. Find the report you are trying to permalink and right click -> Edit. Click the "Edit Default Filter" button in the top left or bottom left and you can create and save a default filter for the report.

  • Error when trying to order prints through costco

    I have Adobe Photoshop Elements 10 running on Windows 7 64 bit.   When iclick on Create and Order prints from Costco - the window opens but says "We are sorry, it appears you have encountered an error."   Any idea will be appreciated.

    I have the same problem.  I know this was an issue several months ago, but they fixed the problem and it was working fine.  Now, I can't get connected to Costco again.  I really like this feature when it works, so hopefully they will get the issue resolved quickly!
    I take that back!!!  I just tried it again this morning and it is working fine!!  Thank you whoever fixed it!

  • Apple os x 10.7 server "not connected to internet" error when trying to download "essentials" through working wifi internet connection?

    Lion and Server downloaded fine, but Server wants additional "essential files" .
    I try to load these but I get "not connected to internet" error message despite working wifi internet connection?
    How to proceed (connection is good, firewall off,??)

    answer at https://discussions.apple.com/thread/3189925?tstart=90

  • Error when trying to access a form through https

    Hi,
    I'm facing this error when trying to access a form through https, i'm using OAS10g 10.1.2.3 over linux, it has webutil configured and is working perfectly with https
    I'm accessing the form through webcache.
    the error:
    Java Plug-in 1.6.0_37
    Usar versión JRE 1.6.0_37-b06 Java HotSpot(TM) Client VM
    Directorio local del usuario = C:\Users\Carlos
    c:   borrar ventana de consola
    f:   finalizar objetos en la cola de finalización
    g:   liberación de recursos
    h:   presentar este mensaje de ayuda
    l:   volcar lista del cargador de clases
    m:   imprimir sintaxis de memoria
    o:   activar registro
    q:   ocultar consola
    r:   recargar configuración de norma
    s:   volcar propiedades del sistema y de despliegue
    t:   volcar lista de subprocesos
    v:   volcar pila de subprocesos
    x:   borrar antememoria del cargador de clases
    0-5: establecer nivel de rastreo en <n>
    cargar: clase oracle.forms.webutil.common.RegisterWebUtil no encontrada.
    java.lang.ClassNotFoundException: oracle.forms.webutil.common.RegisterWebUtil
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Excepción: java.lang.ClassNotFoundException: oracle.forms.webutil.common.RegisterWebUtil
    cargar: clase oracle.forms.engine.Main no encontrada.
    java.lang.ClassNotFoundException: oracle.forms.engine.Main
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Excepción: java.lang.ClassNotFoundException: oracle.forms.engine.Mainwhat could be the reason it can not find the webutil libraries with https ?? i tried erasing the java's cache but still the same error :(
    Regards
    Carlos

    I got it, i only had to check the option 'Use SSL 2.0 compatible ClientHello format' from the java's control panel advanced tab.
    Metalink's note: 787739.1
    :)

  • Oracle Fatal error when trying to connect through sqlplus

    Hi,
    I am getting the below error when trying to connect to instance through sqlplus
    Database version is :10.2.0.3
    Operating system= Solaris Operating System (SPARC 64-bit)
    OS version=5.10
    [lscbd07p2*BMC]-\ORACLE>sqlplus
    SQL*Plus: Release 10.1.0.4.0 - Production on Fri Nov 9 07:48:24 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: /as sysdba
    ld.so.1: oracle: fatal: relocation error: file /u01/app/oracle/product/db/10.1.0.4/lib/libjox10.so: symbol kststop_: referenced symbol not found
    ERROR:
    ORA-12547: TNS:lost contact
    Enter user-name:
    Could you all please give me suggestions in order to solve this problem.
    Thanks
    Mannu

    Have you recently patched/upgraded? This sounds like there might have been a problem relinking the executables / libraries, and/or a permissions problem. For example you may be referencing a 32 bit library with your 64 bit client.
    I believe I recently read a similar case - check Metalink for this symptom.
    HTH
    Regards Nigel

  • "please use setup.exe for installati​on instead of blackberry desktop software.m​si" error when trying to install the software through 610_b038_m​ultilangua​ge.exe

    "please use setup.exe for installation instead of blackberry desktop software.msi" error when trying to install the software through 610_b038_multilanguage.exe
    I need to install this so that i can transfer my contacts and calendar to my laptop

    Hi and Welcome to the Community!
    Sorry to be dense, but what happens when you do exactly as the message instructs?
    Thanks!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Firefox gives me "Content Encoding Error" when trying to navigate through websites.

    I have been having trouble when using Firefox. I am continually getting a "Content Encoding Error" when trying to go from my home page to another page or even just going from the main page of a website to link on that site. I can't access facebook, yahoo mail, charter, google mail or any site without getting the "content encoding error" message at some point when on these sites. I am able to use ff on other computers in my house without any issues. I can't even run ff in safe mode. When I try to refresh some pages I get a box asking me if I want to open the application or save it to my computer. I never clicked anything saying I wanted to open it, I was just trying to refresh the page to get back to where I was. Is there a way to go back to the previous version of ff to get rid of the problem? Does that even fix the problem? Can someone please suggest something that I haven't tried so I can fix my problem? I didn't start having these issues until I got (at the time) the latest version. It has been giving me trouble for about 2 weeks now. Thanks
    == URL of affected sites ==
    http://
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C)

    yes it does list wham3.....here's the output of lsnrctl services wham3
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-SEP-2005 15:53
    :34
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=juipinj.corp.whamtech.co
    m)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=wham3)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    Service " wham3.corp.whamtech.com" has 1 instance(s).
    Instance "wham3", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:46 refused:0 state:ready
    LOCAL SERVER
    Service "wham3XDB.corp.whamtech.com" has 1 instance(s).
    Instance "wham3", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: JUIPINJ, pid: 2024>
    (ADDRESS=(PROTOCOL=tcp)(HOST= JUIPINJ.corp.whamtech.com)(PORT=1073))
    Service "wham3_XPT.corp.whamtech.com" has 1 instance(s).
    Instance "wham3", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:46 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully

  • I am getting an error when trying to add a caption.

    I get the following error when trying to add a caption to a photo.   "An error occurred while reading files or writing files to disc.  The disc may be full or there may be a problem with the source media."    I am running Windows 7 Pro.   The files are located on my c:.   The drive has 274 GB Free so space isn't an issue.   I have tried deleting a file and readding it to the same catalog and still the same problem.   I have copied the file to the desktop and cataloged it from there and the error went away.  
    If i check on the folder attibutes it is set to read-only but the desktop folder is as well.   If i try to remove the read only it only resets itelf to read only again.   Once i get the error another file shows up with the image name plus -edTM P-1 and it has the caption on it.  

    I was able to get it to work.  The root folder which held the pictures had a lock on it through windows 7.   Even though the drive was shared, I still had to go into the folder properties and share it with everyone.   Once i got the lock off and rebooted I was able to add captions again.

  • Getting mandatory attribute validation error when the value is defaulted through customization

    Hi
    I am getting Mandatory attribute validation error when we default the value through customization.
    In the UI we have attribute called Last Name which is mandatory at EO level. Customer wanted to default Last name to some value, through page composer it is defaulted to some text and saved.
    When ever we open the page the the same value is defaulted as Last Name and appearing in the UI. But when we submit the page, EO level validation is failing. hence we are getting last name is missing.
    When i debug the code last name attribute value for EO is blank.
    In the UI the attribute last name is associated with bindings  --> #{bindings.lastname.inputvalue}
    The validation is failing if we remove the default binding associated with inputtext box.
    Can some body help what can be reason and is there any solution?
    Thanks,
    Praveen

    version 12.1.2
    I am struggling with same situation, I can't set the default value at business component because, the default value comes from a REST service at run time. In page A,  I have a field F1 that contains value from REST service. Page B has a database bound field F2, whose default value should come from F1 in Page A when a user navigates from Page A to Page B. If I set the value of F2 to be the value of F1, then it displays the value in the UI, but nothing gets submitted to EO and fails at commit.
    To make things difficult, here is my situation: Page A lives in bounded taskflow TF1, and Page B lives in bounded taskflow TF2. So I have created an input parameter P1 in TF 2, which carries over the value of F1 in Page A to Page B. When I am in Page B, I can successfully see the value of the taskflow input parameter P1. So, how do I  programmatically set the value of field F2 with the value of input parameter P1?
    I tried setting the F2.inputValue  in a method call M1 in  taskflow TF2 prior to Page B, but I get null pointer exception as it can't see field F2 yet.
    It seems like a simple thing to do, but I have spent a lot of time trying to make it work without any success.
    I would greatly appreciate any guidance.

  • Keep getting VncViewer.class not found error when trying to use Windows 7

    Greetings,
    I have no issue accessing the OVM Manager 2.2 with OEL 5.4 x86_64 with the latest Java release from ULN. But when I use a Windows 7 client ( x86) with the Sun Java 6 Update 18 I get the following error when trying to access the Console of a VM Guest:
    Java Plug-in 1.6.0_18
    Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
    User home directory = C:\Users\deverej
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class VncViewer.class not found.
    java.lang.ClassNotFoundException: VncViewer.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://141.144.112.202:8888/OVS/faces/app/VncViewer/class.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: VncViewer.class
    I am curious fi I should use only a specifc Java Engine with IE 7 or the latest Firefox browers.

    Same issue to with Windows XP SP3 x86 with Java Runtime Enviornment 1.5.0_15
    J2SE Enviornment 5.0 Update 15
    Java 6 Update 17

  • App File Server connection error when trying to run a BI Publisher report..

    hello Gurus...
    As above - App File Server connection error when trying to run a BI Publisher report.. FOR THE FIRST TIME.
    What does our DBA need to do..?
    error message reads..
    Template code: SUARXASR
    Template app:  AR
    Language:      en
    Territory:     GB
    Output type:   EXCEL
    [5/10/10 10:59:27 AM] [UNEXPECTED] [46321:RT1487572]
    oracle.apps.fnd.cp.util.RemoteFileException: An error occurred while attempting to establish an Applications File Server connection with the node FNDFS_*****.ac.uk. There may be a network configuration problem, or the TNS listener on node FNDFS_*****.ac.uk may not be running. Please contact your system administrator.
    at oracle.apps.fnd.cp.util.RemoteFile.readURL(RemoteFile.java:241)
    at oracle.apps.fnd.cp.util.RemoteFile.transferFile(RemoteFile.java:194)
    at oracle.apps.fnd.cp.util.RemoteFile.transfer(RemoteFile.java:130)
    at  oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:264)at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [5/10/10 10:59:27 AM] [46321:RT1487572] Completed post-processing actions for request 1487572.I'm sure we never had to set anything up in our Test instance!??!!??
    many thanks for looking..
    Steven

    nobody experienced this before..?

  • HTTP error when trying to access RESTful web service from application

    Hi,
    We are getting the following error when trying to access a RESTful web service coming from Apex workspace 4.2.1 and Apex listener 2.1:
    ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-29024: Certificate validation failure
    In the Debug report, besides the above I also see:
    error_backtrace: ORA-06512: at "SYS.UTL_HTTP", line 1130 ORA-06512: at "APEX_040200.WWV_FLOW_WEB_SERVICES", line 543 ORA-06512: at "APEX_040200.WWV_FLOW_WEB_SERVICES", line 1164 ORA-06512: at "APEX_040200.WWV_FLOW_PROCESS", line 396
    We get that error whether we use https or http in the URI pointing to the web service. When I test the Web Service in Workspace RESTful service GUI, I get the data back. When I go build an application with a report calling the RESTful Web Service I get that error. Both the Application and the Workspace RESTful services are on the same Apex environment and even the same workspace.
    What is odd is that I can actually put the URL of the web service into a browser and I get the data: (using the demo hr data in sample RESTful services.)
    IN browser-- https://weblogic-dev.edu/apex/ace/hr/empinfo/
    yields:
    7839,KING,PRESIDENT,,1981-11-17T05:00:00Z,5000,,10 7698,BLAKE,MANAGER,7839,1981-05-01T04:00:00Z,2850,,30 7782,CLARK,MANAGER,7839,1981-06-09T04:00:00Z,2450,,10 7566,JONES,MANAGER,7839,1981-04-02T05:00:00Z,2975,,20 7788,SCOTT,ANALYST,7566,1982-12-09T05:00:00Z,3000,,20 7902,FORD,ANALYST,7566,1981-12-03T05:00:00Z,3000,,20 7369,SMITH,CLERK,7902,1980-12-17T05:00:00Z,800,,20 7499,ALLEN,SALESMAN,7698,1981-02-20T05:00:00Z,1600,300,30 7521,WARD,SALESMAN,7698,1981-02-22T05:00:00Z,1250,500,30 7654,MARTIN,SALESMAN,7698,1981-09-28T04:00:00Z,1250,1400,30 7844,TURNER,SALESMAN,7698,1981-09-08T04:00:00Z,1500,0,30 7876,ADAMS,CLERK,7788,1983-01-12T05:00:00Z,1100,,20 7900,JAMES,CLERK,7698,1981-12-03T05:00:00Z,950,,30 7934,MILLER,CLERK,7782,1982-01-23T05:00:00Z,1300,,10
    Any ideas on what would be causing the Error above in our application?
    Thanks,
    Pat
    Edited by: patfmnd on Mar 11, 2013 3:25 PM
    In reviewing the above error, I think we are realizing that we have to have the Weblogic layer SSL cert (actually the CERT from our BigIP load balancer which also does our SSL termination) imported into the Oracle server wallet where Apex is installed. Am I correct?
    PM

    We resolved our problem. The Apex Administrative Guide made us realize that we had to set up Wallet path in the Instance. This required working with DBAs to follow the Advanced networking guide to get the wallet set up on our server. We then added that path to the Instance configuration. (Manager Instance --> Instance settings). We ran into another other issue related to our implementation of CAS but were able to resolve that, and 'voila' were able to get the sample RESTful service consumed by our application!!
    Now to the task of figuring out how to get Basic Auth working between client application and RESTful web service. If anyone has that working, let us know!!
    It would be helpful if in the documentation of the Apex 2.x listener or Apex install/configuration there was clear reference to the above steps required for HTTPS access to RESTful web services.
    Pat

Maybe you are looking for

  • How to connect my iPad mini to a different wi-fi?

    Can anyone please tell me how I can connect my i pad mini to a different wifi when I am travelling? Thankyou Benjcross

  • Why Can't I Remove iTunes Purchases from my Device?

    Now I know this didn't used to be an issue on my old iPhone 3GS, but am just not sure if it's to do with iTunes or the iOS. Basically, on my phone, I have two playlists that I sync - one is all my music videos, the other is songs that I want to liste

  • RWB Message monitiring error :java.lang.NullPointerException

    Hi experts, We have moved our developement system to new hardware with clustering. gdc-vsap-m11 holds ASCS, CI and SCS but database id on gdc-vsap-m10. On exchange profiles and all the connection for integration server, integration repository, integr

  • Can we call wizard from another wizard

    Hello Everyone, Can we call wizard function module from another wizard function module? i tried to call, but the road maps and the documentation part of the screen is gettting overlapped. Are there any parameters to be changed that the wizards can be

  • Best practice of re-use a method in constructing a JFrame

    Hello All, I constructed a Main JFrame with the help of following method:      JPanel createYpanel(JLabel lbl, JComponent txt){           JPanel pane = new JPanel();           pane.setLayout(new BoxLayout(pane, BoxLayout.Y_AXIS));           pane.add(