Using two JFrames simultaneously

Hi!
I have two jframes named ItemsList and ItemDetail opened separately,
ItemsList contains a jlist containing a list of items, and
ItemDetail contains textfields which is supposed to display details
for an item.
I just want to know how can I update the details in ItemDetail frame
whenever I clicked an item in the listbox in ItemsList frame.
Thanks!

Are those to frame a seperate window or not?
If not you could to this.
create a window extending the JFrame
then add two panels
- ItemsList
- ItemDetail
Now when you change an element in ItemList and you want to accordenly
change something to the Itemdetail.
then simply adress the panels component you want to change
like this
ItemDetail.[name component].[method](....) = ......
Stefaan

Similar Messages

  • How can I use two webcams simultaneously?

    Hi,
    I want to hook up two external webcams to a Macbook or an iMac and be able to display a live view of both camera images at the same time.
    It doesn't matter if the live view is a single app showing both cameras or two separate windows, as long as both images can be viewed simultaneously on the desktop.
    Can anyone recommend the hardware (webcams) and software I would need to accomplish this?
    Thanks.

    Wirecast
    http://www.macupdate.com/app/mac/14875/wirecast
    Wirecast Frequently Asked Questions
    http://www.telestream.net/telestream-support/wire-cast/faq.htm
    ... or you can use two different services/applications that allow for webcam use, and select CAMERA #1 in SOFTWARE #1, select CAMERA #2 in SOFTWARE #2.
         http://www.macupdate.com/find/mac/webcam
    Best Apple Macintosh Web Cameras
    http://mac-compatible-webcams.blogspot.com/
    Apple Compatible Mac Web Cameras For Video Chat
    http://www.mac-compatible-web-cam.com/

  • Using two displays simultaneously on an early intel mac mini

    I would like to connect my Apple display and an LCD TV to my early Intel Mac Mini using a DVI-D splitter and DVI-D cable to the DVI input on the TV. I don't know if this Mac Mini's video card has a single or a duel DVI output. I'm assuming it has to have a duel output to be able to have both displays on at the same time. Also, from what I've read previously in the discussions, I assume I'll have hook up the audio output also, assuming the video works. Thanks for any help.

    I'm pretty sure that can't work for a variety of reasons. Primarily the DVI output on the mini has a single digital output, not two. It has been shown that it can output VGA analog and DVI digital simultaneously when booted under Windows, but the OS X driver for the GMA950 does not support that same trick. So I don't think you are going to be able to do what you want unless you run Windows.
    You could try add-on hardware if you really have your mind set on this. There are USB-to-video adapters out there on the market. They are reported to work pretty well with the caveat that they can't be used for things like full screen video which requires more bandwidth than USB can supply. But for a mostly static display, like using a mail reader or a browser without too much animation, or a spreadsheet, etc., they work well enough.

  • Using two computers simultaneously

    I understand that the Creative Suite Master Collection can be installed on two computers, and that the same program can't be used simultaneously on both computers.  But does that mean that an individual program in the suite can't be used on both computers at the same time?  Or that none of the programs in the suite can be used on the second computer if the first computer is using any of the programs?
    And while I have your attention: What is the mechanism that prevents the use of the same program on two computers?

    I've done some more research, and, with all due respect, most opinions contradict yours.  Here are two examples::
    From ProDesign Tools: "How many systems can you install Adobe software on, including CS6 and Creative Cloud?  The answer for individuals (as opposed to businesses) in most cases is two.  The catch is that both computers must be used only by you and the two systems cannot be used at the same time."
    From the Adobe site: "If you own, or are the primary user of, a single-user or volume license Adobe product that is installed on a computer at work, you can also install and use the software on one secondary computer of the same platform at home or on a portable computer.  However, you may not run the software simultaneously on both the primary and secondary computer."
    So now I'm back to my original question from March 24 (see above).

  • Using two displays simultaneously

    Skipping over the unnecessary details, this is what I'm trying to do.
    I'm on a MacBook. I want to have a video game running on my MacBook's screen, while having firefox displaying on my TV, and I'll have a movie streaming from Netflix.
    I'm not too experienced with Macs, is this possible? I already have the proper cables and I've used the TV before as my monitor, but I haven't figured out how to display two different things on the TV and on my MacBook's screen.
    Thanks in advance for any help

    smiledk wrote:
    Skipping over the unnecessary details, this is what I'm trying to do.
    I'm on a MacBook. I want to have a video game running on my MacBook's screen, while having firefox displaying on my TV, and I'll have a movie streaming from Netflix.
    I'm not too experienced with Macs, is this possible? I already have the proper cables and I've used the TV before as my monitor, but I haven't figured out how to display two different things on the TV and on my MacBook's screen.
    Open the "Displays" panel of System Preferences. Select the "Arrangement" tab, then uncheck "Mirror Displays".

  • Using two mice simultaneously

    I work on a laptop and HATE using the touchpad,  so whenever I am docked I like to use a
    mouse. I have a lLgitech G5 and a Synaptics touchpad and have attempted to configure them
    with various xorg settings. This used to work for me with xorg 7.1, but now I've updated
    to 7.3 and this is broken. My touchpad works, but the G5 does nothing, although it is
    recognized and therefor I think I have configured it wrong. Also, both the touchpad and
    the G5 work simultaneously without any fancy configuration, but then I do not get a
    scroll thingy on the toughpad and all the buttons on the G5 do not function.
    Here is my xorg.conf:
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Mouse1" "AlwaysCore"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    # FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "GLcore"
    Load "dbe"
    Load "dri"
    Load "extmod"
    Load "glx"
    Load "record"
    Load "xtrap"
    Load "freetype"
    Load "type1"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    #Section "InputDevice"
    # Identifier "Mouse0"
    # Driver "mouse"
    # Option "Protocol" "auto"
    # Option "Device" "/dev/input/mice"
    # Option "ZAxisMapping" "4 5 6 7"
    #EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "synaptics"
    Option "CorePointer"
    Option "Protocol" "auto-dev"
    Option "Device" "/dev/input/mice"
    Option "LeftEdge" "1700"
    Option "RightEdge" "5400"
    Option "TopEdge" "1700"
    Option "BottomEdge" "4400"
    Option "FingerLow" "25"
    Option "FingerHigh" "30"
    Option "MaxTapTime" "180"
    Option "MaxTapMove" "220"
    Option "VertScrollDelta" "100"
    Option "MinSpeed" "0.12"
    Option "MaxSpeed" "0.12"
    Option "AccelFactor" "0.0"
    Option "SHMConfig" "on"
    EndSection
    Section "InputDevice"
    Identifier "Mouse1"
    Driver "evdev"
    Option "Name" "Logitech USB Gaming Mouse"
    Option "ZAxisMapping" "4 5 7 6"
    Option "Emulate3Buttons" "false"
    EndSection
    Section "Monitor"
    #DisplaySize 330 210 # mm
    Identifier "Monitor0"
    VendorName "AUO"
    ModelName "2174"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "NoAccel" # [<bool>]
    #Option "SWcursor" # [<bool>]
    #Option "ColorKey" # <i>
    #Option "CacheLines" # <i>
    #Option "Dac6Bit" # [<bool>]
    #Option "DRI" # [<bool>]
    #Option "NoDDC" # [<bool>]
    #Option "ShowCache" # [<bool>]
    #Option "XvMCSurfaces" # <i>
    #Option "PageFlip" # [<bool>]
    Identifier "Card0"
    Driver "intel"
    VendorName "Intel Corporation"
    BoardName "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller"
    BusID "PCI:0:2:0"
    Option "DRI" "True"
    Option "PageFlip" "True"
    Option "XvMCSurfaces" "True"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1280x800"
    EndSubSection
    EndSection
    Section "Extensions"
    Option "Composite" "Enable"
    EndSection
    Section "DRI"
    Mode 0666
    EndSection

    Section "ServerLayout"
        Identifier  "Simple Layout"
        Screen "Screen 1"
        InputDevice "Mouse1" "SendCoreEvents"
        InputDevice "Mouse0" "CorePointer"
        InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    thats how I did it on my slacktop
    btw I'm new to arch.. great distro so far.

  • NX6600GT-VTD128 (AGP) How can I use two monitors simultaneously?

    I tried to do so but didn't manage it?
    What should I do?
    Is it a matter of VGA drivers?

    theodore80,
    Use the latest nVidia ForceWare Drivers and you will be able to extand your desktop in the Display Properties.
    Take Care,
    Richard

  • Final Cut Pro to work on two computers simultaneously?

    I have two iMac computers running the same version and serial number of Final Cut Pro. But, only one computer can work with Final Cut at a time. I have to log out from FCP to be able to open FCP on the second computer. This limits our ability to work more efficiently on the same project. Is there a solution for this?

    I think you're talking about Final Cut Pro 7. You need to ask your questions about that application on the Final Cut Studio forum.
    No, there is no solution for you aside from taking the computers off the network.
    P.S. If you are using two machines simultaneously you should purchase two copies of the software.

  • Can I use two Windows User Accounts simultaneously?

    Hi
    I use my pc for two businesses. Presently I have two user accounts that I have to switch bewteen by logging off each time - disconnecting my broadband.
    Is it possible to run the two accounts simultaneously?
    Regards,
    Grant Basson
    [email protected]

    Hi Grant,
    You can use the Windows shortcut to have two or more user account active at the same time. The short cut for this is to press and hold the 'Windows' key on your keyboard and also press the 'L' key. This will then cause the Windows log-on screen to be displayed but without logging off the first user account.
    regards,

  • Can I use two airports to use internet and listen to itunes in stereo? simultaneously?

    Can I use two airports to use internet and listen to itunes in stereo?  I just bought a second airport so I could listen to itunes & Pandora on my stereo.  My problem is that I haven't been able to connect to both airports at once.  I want to listen to the stereo (one airport) while using internet which is connected to a separate airport.  Unfortunately, the stereo and ethernet cables are not close by which is why I bought the second airport.

    You can run both simultaneously. You just need to reconfigure the base station that will be used for streaming as a wireless client.
    I suggest that you start by performing a "factory default" reset on the 802.11n AirPort Express Base Station (AXn) to get it back to its "out-of-the-box" configuration. By default, the AXn will broadcast an unsecured wireless network with a Network Name of something like: Apple Network NNNNNN
    After the reset has completed, plug the AXn into power, and then, verify from the iMac that this network shows up in the list of networks under the AirPort icon in the OS X menu bar.
    Be sure to first switch the wireless network to the AirPort that will be used for streaming. Note: You will temporarily lose the Internet connection from your "main" AirPort. Then, run the AirPort Utility. The Utility should now find the streaming AXn. If not, use the Utility's "Configure Other" option under the File menu option in the Utility's menu bar. Enter 10.0.1.1 for the Address and "public" for the Password.
    AirPort Utility > Select the AXn > Manual Setup > AirPort > Wireless
    Wireless Mode: Join a wireless network
    Network Name: <existing "main" AirPort's wireless network>
    Wireless Security: <select the encryption type of the existing wireless network>
    Wireless Password: <enter the existing wireless network password>
    Verify Password: <re-enter the existing wireless network password>
    AirPort Utility > Select the AXn > Manual Setup >Music
    Enable AirPlay (checked)
    iTunes Speaker Name: <enter desired speaker name>
    iTunes Speaker Password: (optional)
    Verify Password: (optional)
    Click Update to write the new settings to the AX

  • Linking two JFrames using JButton-very,very urgent

    Hello,
    I have two JFrames I created using javax.swing.I am new to ActionListener.The two classes are the frames.Could someone please link them for me?Their code is as follows:-
    1.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class rr extends JFrame
    JButton rest=new JButton("Ground Chilli-Restaurant");
    JButton spa=new JButton("Carribean Spa");
    JButton gift =new JButton("Antiquo-Gift Shop");
    JButton pool=new JButton("Poolside Parlour");
    JButton recep=new JButton("Reception");
    JButton th=new JButton("Travel House");
    public rr()
    super( "Welcome");
    setSize(370,270);
    setBackground(Color.RED);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    JPanel pane=new JPanel();
    pane.setBackground(Color.MAGENTA);
    GridLayout family=new GridLayout(3,3,10,10);
    pane.setLayout(family);
    pane.add(rest);
    pane.add(spa);
    pane.add(gift);
    pane.add(pool);
    pane.add(recep);
    pane.add(th);
    getContentPane().add(pane);
    setVisible(true);
    public static void main(String[] args)
    rr frame=new rr();
    and the others are:-
    2.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.MouseEvent;
    import javax.swing.event.MouseInputListener;
    public class spa extends JFrame
    String[] subs={"Welcome Cocktail","Body Massage","Steam Room","Children's Pool"};
    JList subList=new JList(subs);
    JRadioButton li=new JRadioButton("Executive service");
    JRadioButton oi=new JRadioButton("Economic Service");
    JButton ok=new JButton("Back");
    JButton can=new JButton("Continue");
    public spa()
    super("The Carribean Spa");
    setBackground(Color.RED);
    setSize(230,400);
    JPanel panel=new JPanel();
    panel.setBackground(Color.PINK);
    JLabel label1=new JLabel("Kindly select from our services :-");
    JLabel label2=new JLabel("Which type of service would you like?");
    panel.add(label1);
    subList.setVisibleRowCount(8);
    JScrollPane scroller=new JScrollPane(subList);
    panel.add(scroller);
    panel.add(label2);
    panel.add(li);
    panel.add(oi);
    panel.add(ok);
    panel.add(can);
    getContentPane().add(panel);
    setVisible(true);
    public static void main(String[] arguments)
    spa app=new spa();
    3.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class op extends JFrame
    JProgressBar current;
    JTextArea out;
    JButton ok=new JButton("OK");
    JButton con=new JButton("View our Credits Board.");
    JButton find;
    Thread runner;
    int num=0;
    public op()
    super("Calculatiing your Hotel Bill.Please wait.");
    setSize(222,500);
    setBackground(Color.PINK);
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    getContentPane().setLayout(new FlowLayout());
    current=new JProgressBar(2,2000);
    current.setValue(0);
    getContentPane().add(ok);
    getContentPane().add(con);
    current.setStringPainted(true);
    getContentPane().add(current);
    public void iterate()
    while(num<2000)
    current.setValue(num);
    try{
    Thread.sleep(1200);
    }catch(InterruptedException e){}
    num+=95;
    public static void main(String[] arg)
    op frame=new op();
    frame.pack();
    frame.setVisible(true);
    frame.iterate();
    and so on......
    Please link these frames for me as I am not fully familiar with ActionListener () and WindowListener().
    Thanks,
    Bala

    If you have work you urgently need done then you should pay someone to do it.
    This is not a charity work forum. This is a forum for getting guidance and advice.
    So you are in the wrong place. Go elsewhere.

  • Use student CC license on two computers simultaneously?

    Can I use my student CC license on two computers simultaneously without problem? I know I can install it on two computers, but I want to use them at the same time, at different locations.

    A single Creative Cloud membership can only be installed on to two machines only and you are also able to use both of them at the same time . Thats a special exception that we have provided to our Creative Cloud customers.
    I hope this should help .
    Creative Cloud on 2 personal computers
    Regards
    Rajshree

  • Can i use two bluetooth devices simultaneously with iphone 4s? Specifically,a bluetooth headset, as well as a new low energy bluetooth heart monitor?

    Can I use two bluetooth devices simultaneously with iphone 4s? Specifically a bluetooth headset as well as a new low-energy smart bluetooth heart monitor?

    I don't believe so.

  • Using two version of Crystal Report Application Server simultaneously

    We are currently using Crystal Report Server XI Release 1 in a production environment, and we would like to test Crystal Report Server XI Release 2 in a test environment, on the same network.
    Is there a way to be using those two versions simultaneously on the same network, using the same license key, for test purposes ?
    If our tests are conclusive, we will upgrade our production environment to Release 2.
    Thank you
    Anthony Arnaud

    As long as they are not on the same computer this is a rather comon configuration as best practices dictate that customers should maintain multiple environments (DEV/UAT/PROD) for example.
    If you are trying to install both on the same server it's not supported with those 2 versions and is known to cause issues where neither will work (different story if using unix and different port numbers).
    Regards,
    Tim

  • How to use two or more mics simultaneously on a firewire interface?

    hey i have the fireface 400 and am using it with logic. how do i use both mic pres on the front of the fireface simultaneously. for example i want to record an acoustic using two mics. probably a simple question please help me out.

    How do you "use" them? Please be more specific...
    Make sure you choose the correct inputs on the relevant tracks..
    If that doesn't help you I've heard stamp collecting can be fun.

Maybe you are looking for

  • Error while generating xml file Data Model

    Hi , I am creating data mode in OBIEE through the query builder and trying to generate xml from it but the following exception occurs while generating the XML "The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please corre

  • Updates executed in Oracle don't appear in TimesTen

    Hello. I'm evaluating Oracle + Timesten cache group feature and got the following problem. I performed init scripts on Oracle, created both Oracle and TimesTen users (the have the same names and passwords), created test table (named sub), grid and gl

  • Problem with entity bean

    Hi friends, i am using cmp entity bean to access my relational data base. In my table i am using a sequence (oracle) to generate a sequentiel number as a unique identifier so in my entity bean i am not inserting a primery key. The problem is that i n

  • Adding Java Application Server

    Dear, I want to add my EP 6.0 server having only Java stack on my solman 7.0 server. Please suggest. Shivam

  • T410s bluetooth driver update causing BSOD

    A bluetooth driver update seems to be the cause of bluescreen crashes on my T410s running windows 7 64bit.  this has happened with all bluetooth driver updates I attempted to install in the past year.  a windows optional update installed a broadcom b