How Make A button point me to other window in Gui with java

hello .i try to make a program,i creat button it's name Next, i wanna when user press Next go To other Panel Or another Window .
plz help me for this problem try to code me the function or somthing help

Make each page a JPanel with a master JPanel (using a CardLayout) holding all the pages . Each page will then have a button for which the associated Action will be to move to the next page of the msater JPanel. See http://java.sun.com/docs/books/tutorial/uiswing/layout/card.html .

Similar Messages

  • My MacBook Pro with Retina display displays power point and not other windows when connected to a projector

    My MacBook Pro with Retina display displays power point and not other windows when connected to a projector. Can anyone help out please?

    You should also ask this in the MacBook Pro forum. This is the forum for the white and black plastic MacBooks that were discontinued in 2010. You should also post this question there to increase your chances of getting an answer.
    https://discussions.apple.com/community/notebooks/macbook_pro

  • How make a button open a .swf file in a new window?

    How do I make a button open a swf file in a seperate window
    new window (like if i opened to swf file seperately)
    Anyone know ?

    well you can publish the the other FLA, which would give you
    an HTML file, upload that and the SWF then link to the SWFs' HTML
    page.

  • How make a button inactive after the click ?

    Hi,
    how can i make a button inactive after i clik on it ? I need it becasue i have one button which play my symbol (made with this nice course https://blogs.adobe.com/edge/2012/07/18/tutorial-leveraging-independent-symbol-timelines/) but it's not working when the button is in the symbol where there is animation, it's only working when the buttons is a symbol on the stage and on the top of all over symbols, so when i clik on it works and play the symbol that i want but after is still active so i can't place another button at the exact same place of the first because it will play the first button and i need to put 20 buttons, anyone can help me please ? My buttons is just an empty rectangle so i don't talk about turn of the visibility but turn of th "activity"
    Thanks a lot

    If you prefer you can put the code in compositionReady
    Here is a sampe on how to use a next and prev buttons to change data.I have some other examples I will add later but this one could give you an idea on how to do it.
    This one uses data from an array and then moves through the info:
    https://app.box.com/s/78ya0labbydgwogxra2a
    If you are playing symbols then use the rigth scope to get to them.
    I would make a array of the symbol names and use it the same way like I did the array for the info.
    sym.getSymbol(mysymbolArray[i]).play();

  • How to set 2 points on each other in diffrent layers in easy way

    Free transform, rotate, adjust angle and resize with fixed ratios;  these are the steps I use to to set point A on 1 and point B on 2 every time, is there an easy way to do this metion ?
    please se the attached picture will help to explain what im doing and what I need..
    Thanks

    Set the top layer so it's 50% transparent, then you can still see it but you can also see through it to be able to visually see when it's lined up.
    You can move it around and rotate it with the Edit - Free Transform tool, and you can zoom in close while that tool is active by using the Ctrl + and Ctrl - keys to change the zoom.  Get one point lined up, put the center of rotation (little crosshair) on that point, then rotate the image to line up with the other point.
    Fine tuning can be done with the numeric values, available in the top part of the main Photoshop window when the Free Transform tool is active.  Photoshop CS5 now allows you to specify an unprecedented level of accuracy.  For example, 1/100th of a degree (or possibly smaller).
    -Noel

  • How to Set up the  variables and others to compile and Run Java Programs

    Hello,
    I have just downloaded the jdk1.6.0_07 and jre1.6.0_07 and installed it in C:\Program files\Java in my Windows XP ,So please tell me how to sett up the enviroment variables etc to compile and run Java Programs from Command Prompt.
    thanks

    To set the PATH permanently, add the full path of the jdk1.6.0_<version>\bin directory to the PATH variable. Typically this full path looks something like C:\Program Files\Java\jdk1.6.0_<version>\bin. Set the PATH as follows on Microsoft Windows:
    1. Click Start > Control Panel > System on Windows XP or Start > Settings > Control Panel > System on Windows 2000.
    2. Click Advanced > Environment Variables.
    3. Add the location of bin folder of JDK installation for PATH in User Variables and System Variables. A typical value for PATH is:
    C:\Program Files\Java\jdk1.6.0_<version>\bin

  • How Make TS local User Profile After Install Windows 7 without Domain

    Hi,
    I make TS to install Windows 7 Is success But after finish install i cannot login
    If something need to add TS user local profile after install Windows 7 Without Join the Domain And make the user Administrator LocalGroup
    Thank for Help

    Let's start with the fact that you are missing a key element in your task sequence. You need to have the step
    Setup Windows and ConfigMgr to perform the transition from Windows PE to the new operating system. This task sequence step is a required part of any operating system deployment. It installs the Configuration Manager client into the new operating
    system and prepares for the task sequence to continue execution in the new operating system. See also for more information:
    http://technet.microsoft.com/en-us/library/hh846237.aspx#BKMK_SetupWindowsandConfigMgr
    About your screenshots:
    With the first screenshot you not enabling the local administrator. Is that what you want?
    With the second screenshot your only creating a user account and not adding it to the local administrators group. That would need an additional action like this
    cmd.exe /c net localgroup /add administrators User01.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • How to get clients connected in WMS on windows server 2008 with c# coding

    Sorry to bother anyone about this question.
    Can anyone knows how to retrieve amount of client connection to Windows Media Server in real time same as WMS does on server console by c# programming ?
    I got logfiles of WMS in system32 directory for details but it must be off-line of all connections which will able to get those informations for doing anything,but in this case I want real time client connection
    at online when a client connects to WMS that I will get amout of that client also.
    I have tried to search Windows Media Service SDK to develop this on my Windows 7 OS,but I did not find that really.
    Can anyone knows this,please ?
    Regards,
    BigBerm

    Hi SYaGCi,
    Denis is right this is actually documented in the Supported Platforms Documentation:
    "Windows 7 and Windows Server 2008 R2 are new platform support additions in Service Pack 3 which are only available for support on the SP3 full release install of SAP BusinessObjects Enterprise. The SP3 patch only release of SAP BusinessObjects Enterprise does not provide support for these two new platforms."
    Kind regards,
    John

  • How can i make save button of a pop up window inactive?

    Hi...
    When we open a document attached to an opportunity,
    a pop up opens up in new window with open,save and cancel buttons.
    The document is opened by creating a url....
    How can i make the save button inactive?
    Any helpful pointers would be rewarded...
    Thanks...

    Hi..
    This thread remains closed...

  • How make menu button with unrolling thumbnails in as 3.0??

    Hello
    I need help with doing a menu with unrolling and rolling up buttons with thumbnails;  now I have someting like that (attachments) this was made by as 2.0 but I need help with changing this on as 3.0.
    if samobody have some ideas how can I do this or somting similar using as 3.0 I will be grateful

    The only way to convert it to AS3 is to go thru it and replace the code as needed.  While some code may not have to change, quite a bit of it will.  Your best bet for getting thru it is to build it up from scratch one object at a time and get each coded as you go.  Otherwise you will be overwhelmed with error messages.  Here's a few pointers.
    All code is AS3 has to be placed on the timeline.  You cannot place code "on()" objects.  So each object needs an instance name.
    Any interaction or event handling such as mouse controls and file loading involve event listener/event handler pairs.  So you will want to start with looking into the addEventListener() method, which is pretty much used globally for any/all event processing.
    When it comes to loading external swf files, you want to use the Loader class.
    To determinine how to make the code work, I recommend using a practice file.  A file that you can implement one codig sequence in at a time just to determine what works.
    Converting this to AS3 will be a good exercise for you on the road to learning it.  When I wanted to start learning AS3 that's pretty much what I did, though with the sole purpose of the learning as my goal.  I took a fairly complicated menu design that I had created first in AS2, and then rebuilt it from the ground up using AS3.

  • How make menu button with unrolling and rolling up thumbnails

    Hello
    I need help with doing a menu with unrolling and rolling up buttons woth thumbnails;  now I have this made by as 2.0 but I need help with changing this on as 3.0. or if samobody have some ideas how can I do this using as 3.0 I will be grateful

    The only way to convert it to AS3 is to go thru it and replace the code as needed.  While some code may not have to change, quite a bit of it will.  Your best bet for getting thru it is to build it up from scratch one object at a time and get each coded as you go.  Otherwise you will be overwhelmed with error messages.  Here's a few pointers.
    All code is AS3 has to be placed on the timeline.  You cannot place code "on()" objects.  So each object needs an instance name.
    Any interaction or event handling such as mouse controls and file loading involve event listener/event handler pairs.  So you will want to start with looking into the addEventListener() method, which is pretty much used globally for any/all event processing.
    When it comes to loading external swf files, you want to use the Loader class.
    To determinine how to make the code work, I recommend using a practice file.  A file that you can implement one codig sequence in at a time just to determine what works.
    Converting this to AS3 will be a good exercise for you on the road to learning it.  When I wanted to start learning AS3 that's pretty much what I did, though with the sole purpose of the learning as my goal.  I took a fairly complicated menu design that I had created first in AS2, and then rebuilt it from the ground up using AS3.

  • How make a button enable property "true" while i am clicking a row from datagrid in mxml flex4 app

    hi friends,
    i am new to flex, i am doing flex4 web application with mxml tags.
    i have struck in this place,please give some idea.
    i have one data grid with 5 rows and 4columns,and also i am having one button (property enable is false).
    while i am click a particular row from datagrid that time the button property enbale should be change to true.
    where i have to write code.
    any suggession or snippet code,
    Thanks in advance.
    B.venkatesan.

    Hi,
    You can take help of following code :
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <fx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable]
    public var Arr:ArrayCollection = new ArrayCollection([{a:"AAA",b:"BBB"} , {a:"111" , b:"222"}]);
    public function enable():void{
    Btn.enabled=true;
    ]]>
    </fx:Script>
    <mx:DataGrid x="91" y="36" dataProvider="{Arr}" click="enable()">
    <mx:columns>
    <mx:DataGridColumn headerText="Column 1" dataField="a"/>
    <mx:DataGridColumn headerText="Column 2" dataField="b"/>
    </mx:columns>
    </mx:DataGrid>
    <s:Button x="210" y="237" id="Btn" label="Button" enabled="false"/>
    </s:Application>
    Thanks and Regards,
    Vibhuti Gosavi | [email protected] | www.infocepts.com

  • Firefox 8, Linux--firefox has no toolbar/menu/whatever at the top of the Print Preview page. NO back button. nothing. don't know how I lost it, how can I get it back? other machines I use with firefox 8 don't have this problem.

    somewhere around the time of updating to firefox 8 (I can't be certgain exactly when it was, but I think it was a little while after the update) the print preview screen started showing up with no toolbar at the top, just the window contents and the frame. there's no way to choose "print", or "close print preview" or any other option because there are no options shown.

    http://kb.mozillazine.org/Uninstalling_toolbars

  • How to Load Photoshop 5.0 LE & other programs on PC with Windows 7?

    I have had such a problem, but found the answer in here. Where there might be another
    way that works at times, the only way I found was given by Financetech back in 2011.
    His answer was the following:
    "you can copy across an old XP installation.
    On an XP machine copy the Photoshop 5.0 LE program folder from C:\Program\Adobe onto a USB stick. Then also copy the all the DLLs from C:\Windows (there are usually 6 or so), and also copy pcdlib32.dll from C:\Windows\system32.
    On the Windows 7 machine copy the Photoshop 5.0 LE folder from the USB stick across to C;\Program Files and also drop all the DLLs into the Photoshop folder.
    On the Windows 7 machine in the Photoshop folder right click on photosle.exe and choose Properties -
    Compatibility tab and then choose "Run this program in compatibility mode for Windows XP (service pack 3).
    John"
    Well, after trying several other methods I had found, this one was the only way it worked. BUT .... it also worked
    well on a program that was designed to be used in Windows for Workgroups, 3.11. Long before Win 95 came around.
    That was the last 16 bit OS of Windows where a user had absolute control over his computer. DOS was NOT
    inside Windows as it is today. DOS (being Disk Operating System that makes a PC work) was a separate loaded
    program before Windows was installed. One could even fix his computer by going to DOS if his PC crashed and
    would not let it open. In DOS the PC could be 'fixed'. Even some of the garbage that MS puts in their OS's could
    be removed without causing harm to the OS. Today, if Windows doesn't come up, neither will the DOS.
    Anyway, that old 16 bit program did load, and does work now in Windows 7 using the above method. Since XP was
    a 32 bit OS, many 16 bit applications would load in it. Not all, but many. So, if your 16 bit program will load into
    Win 95, 98, 2000, and XP, you can load it in Win 7.
    I copied the instructions to keep on hand in a file so that I will be able to help others who do not get into this forum.
    (Maybe also due to the fact that I forget a lot these days.)
    Dave.

    no, you don't have to remove those files.

  • How to run other windows .exe program in Java code?

    Hello!
    In C language we can use system() function to run a OS prog,
    but which function(method) can we use in java?

    Not a top programmer here, just happen to like to play with funny ideas.
    I'm not sure how you can get the installation directory, but you can obtain the OS type by using
    System.out.println(System.getProperty("os.name"));
    Then maybe you deduce the directory from there? For the list of properties available try this:
    System.getProperties().list(new java.io.PrintStream(System.out));

Maybe you are looking for

  • 11.5.10 : Modifying read only property of columns

    Hi All, I am having an advanced table with 4 columns and all of them are editable [value is entered through an LOV]. My requirement is that if user enters value in one column then all other columns should become read only [in that row only]. Can some

  • AWTYP in the table BKPF

    Hi Experts, I am trying to enter AWTYP manually in t code F-22. I tried to customize it by changing field status varien in OBC4. But i couldnot do that. Is it possible to make the Field AWTYP manually inputable? Elaboration: when I post a debit invoi

  • Webservice URL forma issue

    Hi experts i have a scenario JBoss server - > SAP XI - > SAP i had create the webservice in SAP XI through senderagreement --->publish URL its automatically generated the WSDL file URL is like this 1)"http://host:port/dir/wsdl?p=sa/0dacd6e6ede73794b0

  • Elements 5.02 - Attempt to access invalid address

    When I try to launch Photoshop 5.02 the welcome screen is displayed and I can open the Organizer, but when I attempt to open the Quick Fix or the other editor programs I get a dialogue box "Attempt to access invalid address" This problem is on my pro

  • Invalid verson error installing EM 10202 to 11G DB version as repository

    I am trying to install 10202 em with -noconfig option to a existing db. Then I plan on installing the 10204 patch and finish the install. My db version is 11.1.0.6 which certify says is supported with EM 10204. ERROR MESSAGE IS: SEVERE: Invalid versi