About adding a textfield in gui

i wanted to add a textfield in my gui using gridbaglayout manageer with other buttons but instead of textfield only a line appears on screen where as all the buttons appears well

Post the code where you are laying out your components.

Similar Messages

  • Is there any talk about adding a device to the ipad so that you can use it as camera like ipad2

    Is there any talk about adding a device to the ipad so that you can use it as camera like ipad2

    James-
    As Jeanne mentioned, it can work as long as the added device is a camera, and you have the iPad Camera Connection Kit.  The kit contains two adapters, one for an SD camera card and one that accepts a USB card adapter or cable from your camera.
    With regard to your basic question, Deggie is correct.  It does NOT work like a built-in camera, so you can't use it for video calls.  You have to take pictures with the external camera and transfer them to the iPad.
    Fred

  • I just really need to know... After desigining my UX, how do I go about adding the image into ADOBE FLASH BUILDER to script on top of it?

    I just really need to know... After desigining my UX, how do I go about adding the image into ADOBE FLASH BUILDER to script on top of it?
    Any and all advice is welcome.

    Do you have different versions of the graphic novel pages, or is there just one version of the page? If there is one version, can you crop into the page without losing anything important?
    I would guess that there is one version, and that cropping into the page will lose something important. If that's the case, here's how I would handle it:
    Make a stage that is 14:9. The size doesn't matter, but 1400x900 could be a good starting point.
    Put down a background texture that fits well with the look of the other images. Make that fill the 1400x900 stage.
    Place your page graphics so that they are within the center 1200x788 area of the stage.
    Set the stage scalemode to "noBorder".
    You now have a layout that will work on all devices, as narrow as iPad, and as wide as iPhone 5. All without any code. On the widest devices you'll see a bit of your background pattern to the left and right of the page graphic. On the narrowest devices you'll see a bit of background pattern above and below the page graphic. But you won't lose sight of anything important.

  • How would I go about adding multiple rectangles using the same lines of code?

    How would I go about adding multiple rectangles using the same lines of code? I would prefer to just run through a set of code every time I need a polygon. If I just have to create multiple polygon adding statements that's fine but I'd prefer just 1.

    >>How would I go about adding multiple rectangles using the same lines of code?
    You could create a method that creates and returns x number of Rectangle elements:
    public IEnumerable<Rectangle> CreateRectangles(int numberOfRectsToCreate)
    for (int i = 0; i < numberOfRectsToCreate; ++i)
    Rectangle rect = new Rectangle();
    rect.Fill = Brushes.Blue;
    rect.Width = 100;
    rect.Height = 100;
    yield return rect;
    ..and then call this method from anywhere in your code:
    IEnumerable<Rectangle> rects = CreateRectangles(5);
    foreach (Rectangle rect in rects)
    //add to StackPanel or do whatever with the Rectangle elements:
    yourStackPanel.Children.Add(rect);
    >>If I just have to create multiple polygon adding statements that's fine but I'd prefer just 1.
    When adding Point objects to a Polygon you can only add one per call to the Add method but you could call the Add method inside a loop, e.g:
    for(int i = 0; i < 10; ++i)
    //add to StackPanel or do whatever with the Rectangle elements:
    Polygon p = new Polygon();
    p.Points.Add(new Point());
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't post several questions in the same thread.

  • Question about adding an index to a column and finding it back

    Hi, How do I see in phpMyAdmin that an index is added to a column.(I'm talking about adding an index by clicking on the lightning bolt!) I know how to add an index and see a warning that it's added (only after I add it).
    But where do I find it or a sign that it is added later on?!
    Thanks!

    You also may find better exposure for this question on the Dreamweaver Applications Development forum -
    http://forums.adobe.com/community/dreamweaver/dreamweaver_development

  • Question About Adding Ram from other laptop to T-series Thinkpad

    Hi,
    I have a question about adding additional RAM. Right now I have a 4gb ram stick in the t510. I have an acer laptop which I do not need and there is a 4GB ram stick onboard (maybe two 2gb ram sticks) there in that older laptop. Would it be possible to add one stick of 2gb ram (or 4gb i need to check if it is 2 or 1) from the acer to the lenovo thinkpad making the total ram in the thinkpad over 4gb????
    Thanks in advance

    Hi Richk,
    Yes, I am using a 64-bit operating system. I am running on windows 7. And as for reported incompatibilities....technically taking a RAM from another laptop and placing it in the laptop should be the same as purchasing a RAM card from ebay or something and putting into the laptop right?

  • I have just bought a new laptop, how do I go about adding iTunes to it and transferring everything from my old laptop?

    Hello -
    I have just bought a new laptop with Windows 8 and I would like to know how I go about adding iTunes to it and transferring all my information to this laptop?  I would appreciate any help possible.
    Thanks
    Jennie

    MegsiPhone wrote:
    This user tip may help too
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive
    I must tell you, I am in the situation that MegsiPhone described and I am confused as to what to do.  Here is what I have done thus far:
    1.  I installed iTunes on my new computer, I wen't ahead and set up a new library file locally, and pointed to my NAS for all the music and movies file in edit>advanced.  From what I recall, when I did I can remember getting a whole bunch of messages about apps, new versions, overwriting.  I don't recall, regadless I dismissed each on and did not override.  Anyway, that's all done now.
    2.  I can tell you that I used to back up three iPhones and an iPod touch to my old PC.  There is a mixture of 4 iTunes ID's with various app purchases, it seems a mess. 
    3.  I did plug my phone in, it gave me the error message about syncing only to one computer.  Then I did a back-up and a sync.  I know it did not work right because it took a matter of seconds when I know it should take a lot longer.  Anyway, as a safeguard I am using iCloud back-up for now before I do anything else.
    So, what do I do now to make this all right?  I would like to be able to sync mine and my wife's iPhone to the computer.  Should I not bother and just keep my back-up in the cloud and are there disadvantages to this?  For my son's iPhone, I can let him back-up to the old computer, I would assume that would remain good and I would not have any issues.  Should I erase the back-up on my new computer, erase the appss or whatever and start from scratch?  Kind of not sure how to handle, please help.

  • I have thought about adding a new persona, but once I click on the wear this nothing happens

    I have thought about adding a new Persona, but when I click on Wear this nothing happen

    See:
    *http://kb.mozillazine.org/Preferences_not_saved

  • DNS adding entries via SA GUI

    I am configuring a new Intel Xserve with 10.5.2 ready to move data from my current 10.4.11 system
    I have added over 100 entries into DNS via the Server Admin GUI by hand.
    (I tried using the move the data files and then using the convert utility. It kept missing and corrupting data).
    I have added most of my records apart from a few A records and CNAMEs, however when I click on "add entry", there is no "new entry" created. In fact I cannot seem now to add any entries to DNS via GUI.
    The GUI is the preferred entry point as other colleagues may need to add to DNS in my absence.
    I have stopped DNS, restarted, rebooted the system.
    The following is in /var/log/system.log it is complaining about not having a nameserver, but it does.
    Any help would be appreciated.
    Apr 3 09:48:26 adminservices servermgrd[89]: servermgr_dns: Failed to save zone '(null)' because the zone does not have a nameserver.
    Apr 3 09:48:55: --- last message repeated 3 times ---
    Apr 3 09:48:55 adminservices Server Admin[271]: Unexpected call to doMarkConfigurationAsDirty by 'DNS' plugin during updateConfigurationViewFromDescription
    Apr 3 09:52:30 adminservices Server Admin[271]: Unexpected call to doMarkConfigurationAsDirty by 'DNS' plugin during updateConfigurationViewFromDescription
    Apr 3 09:53:00: --- last message repeated 1 time ---
    Apr 3 09:53:17 adminservices Server Admin[271]: Unexpected call to doMarkConfigurationAsDirty by 'DNS' plugin during updateConfigurationViewFromDescription
    Apr 3 09:55:06 adminservices servermgrd[89]: servermgr_dns: Failed to save zone '(null)' because the zone does not have a nameserver.
    Apr 3 09:55:36: --- last message repeated 3 times ---
    Apr 3 09:56:24 adminservices Server Admin[271]: Unexpected call to doMarkConfigurationAsDirty by 'DNS' plugin during updateConfigurationViewFromDescription
    Apr 3 09:57:08 adminservices servermgrd[89]: servermgr_dns: Failed to save zone '(null)' because the zone does not have a nameserver.
    Apr 3 09:57:15: --- last message repeated 3 times ---
    Apr 3 09:57:15 adminservices Server Admin[271]: * -[GroupTextField windowDidResignKey:]: unrecognized selector sent to instance 0x1000e130
    Apr 3 09:57:22: --- last message repeated 1 time ---
    Apr 3 09:57:22 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRAxes computeLayout]:1124 - plotRect height = 0.000000 <= 0.0 *
    Apr 3 09:57:22 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRChartView computeLayout]:1194 - Layout for overlay axes (0x13eebd00) failed. *
    Apr 3 09:57:22 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRAxes computeLayout]:1124 - plotRect height = 0.000000 <= 0.0 *
    Apr 3 09:57:22 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRChartView computeLayout]:1194 - Layout for overlay axes (0x13eedef0) failed. *
    Apr 3 09:57:23 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRAxes computeLayout]:1124 - plotRect height = 0.000000 <= 0.0 *
    Apr 3 09:57:23 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRChartView computeLayout]:1194 - Layout for overlay axes (0x13eebd00) failed. *
    Apr 3 09:57:23 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRAxes computeLayout]:1124 - plotRect height = 0.000000 <= 0.0 *
    Apr 3 09:57:23 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRChartView computeLayout]:1194 - Layout for overlay axes (0x13eedef0) failed. *
    Apr 3 10:05:08 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRAxes computeLayout]:1124 - plotRect height = 0.000000 <= 0.0 *
    Apr 3 10:05:08 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRChartView computeLayout]:1194 - Layout for overlay axes (0x13eebd00) failed. *
    Apr 3 10:05:08 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRAxes computeLayout]:1124 - plotRect height = 0.000000 <= 0.0 *
    Apr 3 10:05:08 adminservices [0x0-0x12012].com.apple.ServerAdmin[271]: * ERROR: -[GRChartView computeLayout]:1194 - Layout for overlay axes (0x13eedef0) failed. *
    Apr 3 10:05:43 adminservices com.apple.launchd[1] (0x416a30.Locum[22193]): Exited: Terminated
    Apr 3 10:32:57 adminservices sshd[22755]: USER_PROCESS: 22755 ttys000
    Apr 3 10:32:57 adminservices com.apple.launchd[1] (0x416cc0.sshd[22755]): Could not setup Mach task special port 9: (os/kern) no access

    Funny thing, we just upgraded our xserve from 10.3.9 to 10.4.11 and our DNS is having problems as well. Never has a problem before. Whines and complains that it doesn't know who "xserve" is and does not associate "xserve" with its local IP address.
    Maybe what will help you may help us.
    Ever since the upgrade, Windows file-sharing has gotten horribly gummy.

  • Adding link on SAP Gui logon page

    Hi All,
    I have the problem that I need to add a link on the SAP Gui logon page.
    Within the transaction SE61 I have added the general text ZLOGIN_SCREEN_INFO.
    When I click on the Insert Command I have the possibility to create a link but the char. format F4 list is empty and it does not accept the link creation without it being filled.
    Does anybody have an idear?
    Thank you for your help
    Soeren

    Hi Juan,
    When I click on the Insert Command I have the possibility to create a link but the char. format F4 list is empty and it does not accept the link creation without it being filled.
    Would you please comment on this ?
    I have also seen the only possibility... but same issue...
    Regards.
    Rajesh Narkhede

  • Question about adding multiple components....

    .....HI, i really hope someone can help out......
    When I try to add mutilple components to the panel, it won't show the components that I have added before again.....
    For example, I have a Icon Label and I want it to show two of the same Label again in the panel.... but it won't... it will just show one of them....
    for example:
    Label[] dice = new Label[6]
    Icon bug[] = new Icon[6];
    String dicePics[] = {"1.jpg", "2.jpg","3.jpg",
    "4.jpg","5.jpg","6.jpg",};
    for(int i=0; i<6; i++){
    bug[i] = new ImageIcon(dicePics);
    dice[i] = new JLabel();
    dice[i].setIcon( bug[i] );
    userPanel.add(dice[0]);
    userPanel.add(dice[0]);
    This will only show dice[0] once in panel........ how can I show the same things over again in a panel more then once.........?? I also try it on other things... when adding a component with same name, it will just show one of them.......... wondering if someone can help me out.......

    .....HI, i really hope someone can help out......
    When I try to add mutilple components to the panel,
    it won't show the components that I have added before
    again.....
    For example, I have a Icon Label and I want it to
    show two of the same Label again in the panel.... but
    it won't... it will just show one of them....
    for example:
    Label[] dice = new Label[6]
    Icon bug[] = new Icon[6];
    String dicePics[] = {"1.jpg", "2.jpg","3.jpg",
    "4.jpg","5.jpg","6.jpg",};
    for(int i=0; i<6; i++){
    bug[i] = new ImageIcon(dicePics);
    dice[i] = new JLabel();
    dice[i].setIcon( bug[i] );
    l.add(dice[0]);
    userPanel.add(dice[0]);
    This will only show dice[0] once in panel........ how
    can I show the same things over again in a panel more
    then once.........?? I also try it on other
    things... when adding a component with same name, it
    will just show one of them.......... wondering if
    someone can help me out.......
    You can't add the same GUI object to a Container multiple times. The problem is with your design. Consider something like this:
    import java.awt.BorderLayout;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.util.Random;
    import javax.swing.Icon;
    import javax.swing.ImageIcon;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    public class DieLabelTest {
        private Random rand = new Random();
        private final JLabel[] dies = new JLabel[6];
        DieLabelTest() {
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JPanel diePanel = new JPanel(new GridLayout(3,0,5,5));
            for (int i = 0; i < 6; i++) {
                dies[i] = new JLabel();
                dies.setIcon(DieIconProvider.getIcon(rand.nextInt(6) + 1));
    diePanel.add(dies[i]);
    f.add(diePanel, BorderLayout.CENTER);
    JButton rollButton = new JButton("Roll");
    rollButton.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    for (int i = 0; i < 6; i++) {
    dies[i].setIcon(DieIconProvider.getIcon(rand.nextInt(6) + 1));
    f.add(rollButton, BorderLayout.SOUTH);
    f.pack();
    f.setVisible(true);
    public static void main(String[] args) {
    new DieLabelTest();
    class DieIconProvider {
    private static Icon[] icons = new Icon[6];
    public static synchronized Icon getIcon(int num) {
    if (icons[num - 1] == null) {
    icons[num - 1] = new ImageIcon(num + ".jpg");
    return icons[num -1];

  • Ideas about adding scorm capabilities to Indesign

    Hello,
    I'm using to deliver my content in 2 methods: 
    1. Adobe captivate for e-learning courses
    2. Adobe indesign for books
    Those 2 methods share great part of the content.
    Indesign well supported to work with database content, which mean i can change my content from database and the data spread out to any book this piece of content deliver to.
    With adobe captivate it impossible, the only way is maybe via XML, but the xml is not order by slides and I can't see logical order there.
    after i read pipwerks.com article about add scorn to swf/html, I thought about using indesign for courses as well, and maybe use some solution to add scorn capabilities to indesign. http://pipwerks.com/2008/05/08/adding-scorm-code-to-an-html-file/
    I would appreciate every advice/tip you guys might give me.
    Thanks
    Omer

    There are no obvious and easy methods. Here are a couple of previous threads on the topic:
    http://forums.adobe.com/message/3876182
    http://forums.adobe.com/thread/786556

  • Question about adding an Extra Node to SOFS cluster

    Hi, I have a fully functioning SOFS cluster, with two nodes, it uses SAN FC storage, Not SAS JBODS. its running about 100VM's in production at the moment.
    Both my nodes currently sit on one blade chassis, but for resiliency, I want to add another node from a blade chassis in our secondary onsite smaller DC.
    I've done plenty of cluster node upgrades before on SQL and Hyper-V , but never with a SOFS cluster. 
    I have the third node fully prepaired, it can see the Disks the FC Luns, on the SAN (using powerpath, disk manager) and all the roles are installed.
    so in theory I can just add this node in the cluster manager and it should all be good, my question is has anyone else done this, and is there anything else I should be aware of, and what's the best way to check the new node will function , and be able
    to migrate the File role over without issues. I know I can run a validation when adding the node, I presume this is the best option ?
    cannot find much information on the web about expanding a SOFS cluster.
    any advice or information would be greatfully received !!
    cheers
    Mark

    Hi Mark,
    Sorry for the delay in reply.
    As you said there is no much information which related to add a node to a SOFS cluster.
    The only ones I could find is related to System Center (VMM):
    How to Add a Node to a Scale-Out File Server in VMM
    http://technet.microsoft.com/en-us/library/dn466530.aspx
    However adding a node to SOFS cluster should be simple as you just prepared. You can have a try and see the result. 
    If you have any feedback on our support, please send to [email protected]

  • Adding Help to a GUI

    I'm a bit new at making GUI's in java. I need to add a help option in my GUI by having a question mark at the right top corner of the window that once clicked when you hover over certain areas in the GUI it will provide help. does anyone know a good place for me to start looking (it's hard to google for it) or give me some starting code?
    Thank you

    Do you want one in the title bar? If so forget it. While you can do it, it would be very hard to do. (1)
    Having a "help" button somewhere else on the window would be easy.
    It could be done by having an action listener changing the mouse cuser on the Window curser, most likely to a custom curser. Then adding mouse listeners to everything that can be "helped". Which consumes the event (so the action listener on buttons is not fired), removes itself from all that it had been added to, and opens the help window for the object picked.
    1) To change the title bar requires JNI, or making a Custom L&F, and having that be able to add a "help" button

  • Question about adding a line/phone to a new plan

    Hey everyone I have a concern I wanted to be clear about before I upgrade my plan. I am up for a device upgrade and plan on upgrading my smartphone and my current single line plan to one of of the new share everything family plans and a new smartphone. I can get the phone I want at a different store other then verizon for a better price so Im going to do that. After that is all said and done I plan on buying and adding another new smartphone/line to my share everything account through verizon(store or online). I just want to be sure that 1.) Adding another line after the fact isnt going to be a problem fee wise or the terms of my account wise since I just upgraded my account at a different vendor and 2.) Will that new line be still eligible for a upgrade discount through verizon just like a new plan would be even though Im not adding it at the same exact time I upgrade my main phone and plan?
    Also I was wondering that if..say a few months from now I want to add another new phone/line to my share everything account. Will that also be like a new plan and eligible for a upgrade discount through verizon? My 2.) question will probably answer this but I want to be absolutely sure first before I do anything. Thanks alot guys. Appreciate any input.

    scottm79 wrote:
    Hey everyone I have a concern I wanted to be clear about before I upgrade my plan. I am up for a device upgrade and plan on upgrading my smartphone and my current single line plan to one of of the new share everything family plans and a new smartphone. I can get the phone I want at a different store other then verizon for a better price so Im going to do that. After that is all said and done I plan on buying and adding another new smartphone/line to my share everything account through verizon(store or online). I just want to be sure that 1.) Adding another line after the fact isnt going to be a problem fee wise or the terms of my account wise since I just upgraded my account at a different vendor and 2.) Will that new line be still eligible for a upgrade discount through verizon just like a new plan would be even though Im not adding it at the same exact time I upgrade my main phone and plan?
    Also I was wondering that if..say a few months from now I want to add another new phone/line to my share everything account. Will that also be like a new plan and eligible for a upgrade discount through verizon? My 2.) question will probably answer this but I want to be absolutely sure first before I do anything. Thanks alot guys. Appreciate any input.
      Every time you add a line, it is eligible for a subsidized phone. It does not matter when you do it. As far as question #1, your account is just what the terms of usage is, not the length of the contract(s). Those are determined by the individual lines. You can also change the account limits at any time (eg. increase shared data limit), but when you do, it is usually pro-rated for the remainder of your current billing month, plus 1 month in advance. It does not change any of the lengths of the lines contracts.
      Does this help?

Maybe you are looking for

  • I have lost my photos and music!!!!

    Hi, I recently updated my iphone 3 to the latest soft wear. I moved my I tunes account from my Microsoft computer and put it onto my boyfriends apple mac pro. When the phone had been updated and I cloud activated and set up it appears that I have los

  • I get error message invalid serial number

    I get invalid serial Number when installing

  • Can different Versions of LV coexist on a PC

    I have LV6.1 Can I install LV8.0 on the same PC but still support all my legacy work on 6.1?

  • Current Time milliseconds

    Is there any particular reason why the current time in milliseconds is defined as starting from Jan 1st 1970? I suppose they had to pick some time as t=0. But it just seems like something quite arbitrary - why not the time when java was first release

  • Final cut pro x lost

    I recently had my Mac laptop cleaned for running slow, however, I had final cut installed bt it's not there now. How to redownload it?