DateTimeField and  an additional TextField

I have a combination of a textfield and a datetimefield. The user can select any date in the textfield and he can choose a date from the calendar. When the user select the date via the calendar the value of the textfield will be set to the selected date. Now my problem: how can I make the picker (the dropdown arrow) of the calendar visible when clicking the textfield? My first try with execute the click-event of the dattimefield wasn't successful. Anybody experiences or suggestions?

The only time the dropdown arrow will become active is when focus is put onto the field. Obviously you cannot have focus on the DateTime Field while you are filling the other field so I do not see how you can do this. You can however put focus on the DateTime field on exit of the text field by either modify the tabbing order or adding script to the exit event of the TextField. You would add this code:
xfa.host.setFocus("FieldName");
Hope that helps

Similar Messages

  • X1 and an additional screen

    Hi there,
    I would like to use my X1 as primary screen and my additional 27" display as secondary. I bought the USB 2.0 port replicator, but I dont like it very much at all. It is lagging and not that functional as I would have liked, which is why I went back to HDMI.
    I am as far as Win7 letting me use the external display with its max. resolution (1920x1080), but it seems that somehow win7 tries to emulate this resolution on my X1. If I move my mouse towards the task bar all my desktop items get moved as win7 somehow thinks there´s a bigger resolution to work with. See pictures below.
    Alignment as I would like it:
    After moving my mouse towards the windows button:
    I would really like any input on this problem. Please let me know if someone can help. thanks in advance
    Solved!
    Go to Solution.

    Good to hear you got it fixed! How'd you do it?
    W520: i7-2720QM, Q2000M at 1080/688/1376, 21GB RAM, 500GB + 750GB HDD, FHD screen
    X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase
    Y3P: 5Y70, 8GB RAM, 256GB SSD, QHD+ screen

  • I bought a bluetooth Bose speaker so I could listen to music from my imac in multiple rooms at the same time. I wanted to use BOTH my existing speakers using the headphone jack and add additional bluetooth speakers in other rooms, but the imac wants me to

    I bought a bluetooth Bose speaker so I could listen to music from my imac in multiple rooms at the same time. I wanted to use BOTH my existing speakers using the headphone jack and add additional bluetooth speakers in other rooms, but the imac wants me to pick one or the other, is there a way to have both?

    I asked same question
    Any answers

  • I have a macbook air and need additional storage should i consider a time capsule or a simple external hard drive?

    I have a macbook air and need additional storage should i consider a time capsule or a simple external hard drive?

    If you move live files (files you don't want to lose) to an external drive, you need to back them up.  Any files not backed up are at risk of loss.  Hard drives and SSDs can fail at any time.  It is hard to backup a Time Capsule so a TC should be used only as a backup device.
    Do you have a Time Machine backup now?  If so, and if it is large enough, you can backup your internal and external disk to it using Time Machine.  If not, you all need to purchase an external drive or TC as your backup device.  (I recommend an external hard drive for backup instead of a TC.)  Ideally the backup drive should be twice the size of what you are backing up but 50% larger will work so if you have an external 1 TB disk and an internal 250 GB SSD then a 2 TB backup disk will work well.
    By default, Time Machine will not backup the external disk.  You need to remove it from the exclusions list:
    To have Time Machine backup your system disk and your external offload disk up onto your Time Machine disk:
     > System Preferences > Time Machine > Options… > Remove the offload HD name from the exclusions list.

  • I ran out of space on my time machine  because I bought a new I MAC to replace the old one.  So I copied the old one on the new one  and in addition to that I own a macbook.  So what should I do erase the old IMAC on my  Time capsule ? Shall I reset it?

    I ran out of space on my time machine  because I bought a new I MAC to replace the old one.  So I copied the old one on the new one  and in addition to that I own a macbook.  So what should I do erase the old IMAC on my  Time capsule ? Shall I reset it?

    Go to the airport utility and erase the TC disk.. a quick erase is fine and takes less than 1min usually.
    A one pass erase takes several hours depending on how big the hard disk is.. but is somewhat safer in that it tests the drive condition. I normally don't bother for a TM backup.
    When you start over you should be able to fit both backups on the TC.. assuming the disk is 2x larger at least than the space used on both the MB and the iMac.
    If not you can also add a USB drive to the TC, and use that for one of the computers.
    The slowest one is best.. as USB is slow.. but fast enough for wireless you won't notice much.

  • HELP!How to show # and * in the textfield

    I am trying to show a # and * in the textfield in this telephone keypad interface. What's wrong with my coding? How can I show # and *? Whenever I press # and * on the keypad I get a Null or Infinity statement, when I just want # and * to show up instead. I had converted a calculator applet into a telephone applet to make into an keypad interface.
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    public class TelephoneApplet extends Applet implements ActionListener
    private Button keysArray[];
    private Panel keyPad;
    private TextField lcdField;
    private double result;
    private boolean first;
    private boolean foundKey;
    static boolean clearText;
    private int prevOperator;
    public void init()
    lcdField = new TextField(20);
    keyPad = new Panel();
    keysArray = new Button[12];
    first = true;
    result = 0.0;
    clearText = true;
    prevOperator = 0;
    setBackground(Color.magenta);
    lcdField.setEditable(false);
    for ( int i=0; i<=9; i++ )
    keysArray[ i ] = new Button(String.valueOf(i));
    keysArray[10] = new Button( "*" );
    keysArray[11] = new Button( "#" );
    // set keyPad layout to grid layout
    keyPad.setLayout(new GridLayout(4,3,10,10));
    for ( int i=1; i<=9; i++ ) //adds buttons 1-9 to Panel
    keyPad.add( keysArray[i] );
    /* for (int i = 4; i <= 6; i++) //adds buttons 4, 5, and 6 to Panel
    keyPad.add( keysArray[i] );
    for (int i = 7; i <= 9; i++) //adds buttons 7, 8, 9, and divide to Panel
    keyPad.add( keysArray[i] );
    keyPad.add( keysArray[10] ); //adds star button to Panel
    keyPad.add( keysArray[ 0 ] ); //adds 0 key to Panel
    keyPad.add( keysArray[11] ); //adds infinity button to Panel
    for (int i = 10; i >= 11; i--)
    keyPad.add( keysArray[i] ); //adds keys to Panel
    setLayout(new BorderLayout());
    add( lcdField, BorderLayout.NORTH );
    add( keyPad, BorderLayout.CENTER );
    for(int i = 0; i < keysArray.length; i++)
    keysArray.addActionListener(this);
    public void actionPerformed( ActionEvent e)
    foundKey = false;
    //Search for the key pressed
    for (int i = 0; i < 12 && !foundKey; i++)
    if(e.getSource() == keysArray[i]) //key match found
    foundKey=true;
    switch(i)
    case 0: case 1: case 2: case 3: case 4: //number buttons
    case 5: case 6: case 7: case 8: case 9:
              //0 - 9
    if(clearText)
    lcdField.setText("");
    clearText = false;
    lcdField.setText(lcdField.getText() + keysArray[i].getLabel());
    break;
    case 10:
    case 11:
    clearText = true;
    if (first) // first operand
    if(lcdField.getText().length()==0)
    result = 0.0;
    else
    result = Double.parseDouble(lcdField.getText());
    first = false;
    prevOperator = i;
    else //second operand already entered, so calculate total
    switch(prevOperator)
    case 10: //divide button
    result /= Double.parseDouble(lcdField.getText());
    break;
    case 11: //multiply button
    result *= Double.parseDouble(lcdField.getText());
    break;
    lcdField.setText(Double.toString(result));
    if(i==14) //equal button
    first = true;
    else
    prevOperator = i; //save last operator
    break;

    you need to change the following piece of code
    case 10:   // * pressed
    case 11:   // # pressed
    clearText = true;
    if (first) // first operand
    if(lcdField.getText().length()==0)
    result = 0.0;
    else
    result = Double.parseDouble(lcdField.getText());
    first = false;
    prevOperator = i;
    else //second operand already entered, so calculate total
    switch(prevOperator)
    case 10: //divide button
    result /= Double.parseDouble(lcdField.getText());
    break;
    case 11: //multiply button
    result *= Double.parseDouble(lcdField.getText());
    break;
    lcdField.setText(Double.toString(result));
    if(i==14) //equal button
    first = true;
    else
    prevOperator = i; //save last operator
    break;
    }its gets excuted when you press the * or # buuton

  • After downloading and installing additional content, no sound will play. Logic has no connection to sound library. No level meter activity. Right before i installed additional content I was working on a project, and everything was OK.

    After downloading and installing additional content, no sound will play. Logic has no connection to sound library. No level meter activity.
    Right before i installed the additional content I was working on a project, and everything was OK. What is wrong. How do I make Logic reconnect to the instrument files?

    Whitelab Records wrote:
    So, 20 views and nobody's anybody the wiser?
    A small update to this issue....
    I have been trawling the forums to find an answer but to no avail...
    And... I've tried exporting and bouncing individual stems and the full session, either by muting all bar the stem or soloing the stem.....and still nothing.
    Same problems.....everything is audible in audition but nothing plays on playback.
    Since the 'prelisten' channel strip is Solo safe this would indicate that you have a track or channel strip soloed somewhere else, out of sight. Are the Mute buttons on your channel strips blinking?
    To view all objects in your mixer, click the button. You may have to scroll sideways to check the whole mixer.

  • HT203128 iTunes 12.1.050 - Rollback: Updated from 12.01, now I cant't change track numbers and add additional data fields. How can I roll back to the previous version? @Apple, I want a $100 gift card for the inconvenience.

    iTunes 12.1.050 - Rollback: Updated from 12.01, now I cant't change track numbers and add additional data fields. How can I roll back to the previous version? @Apple, I want a $100 gift card for the inconvenience.
    - it's all said in the title. I can't understand why the developers turn things bad ... risking loosing Apples valuable customers.
    More examples needed? (check out the communities and the reviews)
    - OSX: Maverick to Yosemite = not recommended (check it out > http://roaringapps.com/apps)
    - iPad: older versions as iPad2 should not upgrade to iOS7/8 (it's not supporting its hardware accordingly, it's designed for the latest hardware)
    - iTunes (it's possible to rollback to 10.7 - 11.4, but you need to breech OSX system security framework)
    - Pages (was a real alternative for many of us, each update reduced features and created incompatibility to older work files)
    The list could easily extend to ...

    You can offer Apple feedback here: http://www.apple.com/feedback/
    as for "
      "@Apple, I want a $100 gift card for the inconvenience"
    dream on.

  • HT4759 I purchased 10GB upgrade for iCloud and $20 was deducted from my iTunes account. I then upgraded to 20GB and an additional $40 was deducted from my account for a total of $60. I need a refund for $20. Thank you.

    I purchased 10GB upgrade for iCloud and $20 was deducted from my iTunes account. I then upgraded to 20GB and an additional $40 was deducted from my account for a total of $60. I need a refund for $20. Thank you.

    This is a user forum, Apple does not participate here.  You might use the link at the bottom of this page, "Contact Us" - lower right.

  • Yoga 2 Pro, Etekcity 16Ah power bank and some additional measurements

    Hello guys, this would be my short review of Etekcity Wingman external battery I use with y2p. As you know, the y2p battery performance is a little disappointing for a Haswell ultrabook (at least for some), so it's a good idea to have some additional external battery beforehand. After some research I found the interesting candidate, the 16.000 mAh external battery manufactured somewhere in chinese factory (Shenzen?) and then being sold under many different brands (I found at least 5 of them on Amazon). I bought the Etekcity Wingman, as it was the cheapest, for 69$
    No links here, but you will find it easily. It has a classy aluminium shell, very good overall build quality, features 5V USB output and additional 12, 16 and 19V outputs with many different plugs. There is no rectangular Lenovo Yoga tip, but in the package you can find the Lenovo X1 big circular plug. So you need an additional converter Cable Adapter from Lenovo, part no. 0B47046 and voila, everything fits.
    This external battery can provide up to 19V and as you are aware, y2p needs 20V. But this is not a problem, it's only 5% difference and nothing to be worry about. As to the amperage, the battery can provide max 3A at 19V and y2p original power adapter is rated at 3.25A - but this is not a problem either, as during my actual measurements I never saw the current more than 3A (more about it later).
    16.000 mAh for li-po cells 3,7V gives about 59Wh of power capacity and this is important. The internal y2p battery is rated 54Wh, so 'theoretically' the external battery should more than double our y2p working time. Well, theoretically, because: 1. as for chinese products they almost always overrate battery specs 2. there is a limited efficiency for internal voltage conversion inside the battery electronics, so there are some losses (heat).
    So, what is the REAL capacity of this thing?
    I did a test. I depleted internal y2p battery to 20% and then I plugged in the Etekcity Wingman, set at 19V. It was able to charge the WORKING laptop for 1 hour and 25 minutes and y2p battery charged from 20% to 85% before the Wingman shut down. It was a little warm while working, but not hot at all (aluminium shell dissipates heat very good).
    What it means is that this external battery was able to provide about 2/3 (65%) of total internal y2p battery capacity and during that time the laptop was working consuming additional energy from the Wingman (70% brightness, wifi/BT on, some light browsing, nothing demanding). I am estimating that if the y2p was depleted completely and shut down, then the external battery would be able to charge it to about 80-85%. I find this result pretty good.
    So if you are able to achieve some 6.5h on internal y2p battery, this external battery gives you another 5h more, for total 11.5h working time out of the socket. Not bad.
    I have a laboratory digital power source, so I was able to do some additional interesting measurements (thanks to the cables and adapters):
    1. The Yoga 2 Pro starts charging at about 16.5V voltage level(!) Anything lower - it won't charge, higher - it will (no BIOS warnings whatsoever).
    2. The charging current for non-working laptop is about 1.6A (I did not set quick charge at Energy Manager).
    3. 70% brightness, "daily" power mode, wifi/BT on, keyboard lighting on and doing some lazy internet browsing needs about 470mA of current (averaged, idle is about 415 mA, as each wifi activity creates current jumps). For 20V it gives 9.4 Wh of power consumption and for 54Wh y2p internal battery it gives about 5h 45min of working time. Lets set this situation as a "base" level.
    4. Same as above, but power mode changed to "stable". Yellow turns mustard, but brightness intensity remains at 70%. The current goes down to about 420mA (50mA less!). It gives you additional 40 minutes for a total 6h 25min of working time.
    5. Same as above, but keyboard light is off. About 20mA of savings, + 15 min for a total 6h 40 min
    6. Same as above, airplane mode (wifi/BT off) - another 20mA of savings (not much), but there are no wifi current spikes so it's like idle mode - about 330mA of current consumption, giving about 8h 15min of working (word editing etc.)
    7. Same as above, 50% brightness (still pretty usable) - 305mA for a total 8h 50min of working time.
    8. Same as above, but with 16.000 mAh external battery - well, you figure it out (+80%)
    Happy New Year!

    20V/3.25A means that if looking for an external power bank for your y2p the voltage must be exactly 20V and the amperage must be 3.25A or more (3.25 is minimum value). These are perfect values.
    But in real world some little deviances are permissible, like 5%. 19V and 3A are examples and I made sure that my external battery rated 19V/3A works good with Yoga 2 Pro. There are more 19V external power banks than 20V models out there and I've chosen my Wingman battery because it was really cheap. But it is always better to find one that meets voltage/amperage ratings perfectly.
    The Energizer XP18000 would be a perfect choice, because it can provide 20V/3.5A. But I dont know if the Lenovo plug is inside the package. And it's expensive.
    The "big circular plug" is 7.9 x 5.4 x 0.9mm plug for some other Lenovo machines, like Carbon X1. I never found an external power bank with "rectangular" y2p plug anyway.

  • HT201250 Can I back up with time machine AND store additional files on the same external drive?

    I just bought an external drive to move and archive some files off my iMac to free up some space. I'm being asked if I want to use the drive to back up files with Time Machine. Can I use this drive to do both? (Back up with TM AND store other files?
    Your input is appreciated.

    Technically you can but it is not a very good idea at all. The reason it is a flawed idea is if the HD fails (not really if but when) you will have defeated the whole idea of backup. A failure means you will lose the data files you stored on it and it's backup! A good backup plan has at least 2 forms of backup because backups can fail too. I would strongly recommend getting at least one additional external HD and use it for storing the data files you wanted off the internal HD and use the second for a Time Machine backup drive.
    Personally I have 3 external HD's attached to my computer. Disk 1 is my Time Machine backup, Disk 2 is a Bootable Clone of my internal HD and Disk 3 stores my music, photography and movie libraries.
    Please read these articles, they will discuss different backup strategies and I think you will see that each suggest redundant backups.
    Backup Plan I
    Backup Plan II
    Backup Plan III

  • Downloading and Installing 'Additional' Content

    Hi There,
    So I managed to download the 'additional content' - I entered my password to install it and the window popped up saying installing... Then I swiped to a different 'desktop' - I was in full screen mode in Lion - when I returned the installing progress bar window had dissappeard and nothing seemed to be installed. When trying to download it again, it started from 0kb! This kinda ***. It also doesn't say 'installed' in the 'Download Additional Content' window
    Anyone know how to solve this? Or what went wrong in the first place?
    Also does anyone know where the temporary file or 'installer' or whatever get's downloaded? In NZ we still get charged by the gigabyte (yes I know) so I don't wanna have to download 5Gb 7 times until I get it working. So it would be nice to save that file somewhere if that helps at all.
    Thanks guys. Any help GREATLY appreciated.
    Cheers,
    - Malik

    Maljay909 wrote:
    Ok this is sorted. I think watching and waiting and making sure it installed did the trick. So I guess DO NOT minimize Logic while this is going on is the lesson learned from this??
    Watching and waiting to see what happens is always a handy tip.
    Minimising the window isn't the problem - you can quit Logic and it'll ask you if you want to continue the download.
    And answering one's own question is something that we all have to master.

  • Is it possible to keep Firefox open after all windows have closed (and to additionally open a new window when starting another Firefox process)?

    Yes, yes, I know, it's not good to keep applications open when they aren't designed to be. I'm sure Firefox has some memory leaks and this is doing more harm than good, but...
    My computer isn't the greatest out there, and to increase the usability of my Firefox browser it would be nice to keep the firefox.exe process open, even after closing all windows. I know Firefox doesn't totally close if there is at least one Firefox-related window open, but having to open X popup window seems a bit extreme to get this effect.
    Additionally, to allow another window to be opened, it would be cool for the "OH NO FIREFOX IS STILL OPEN" prompts to be replaced with just attempting to open a new window, if this feature is enabled.
    So, if it exists already, is there a config variable for it, and if it doesn't exist, is it possible to perform somehow? I'm not afraid to get my hands dirty if it comes to it; I'd really like to get this happening.
    I'm running Windows 7 Home, if it matters. (I'd rather be running another OS, but this is neither the time nor place...)

    LINK: https://addons.mozilla.org/en-US/firefox/addon/minimizetotray-revived/

  • Adjust position and size of textField and button...

    Dear All,
    I have the following sample program which has a few textFields and a button, but the positions are not good. How do I make the textField to be at the right of label and not at the bottom of the label ? Also how to adjust the length of textField and button ? The following form design looks ugly. Please advise.
    import javax.swing.*; //This is the final package name.
    //import com.sun.java.swing.*; //Used by JDK 1.2 Beta 4 and all
    //Swing releases before Swing 1.1 Beta 3.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.text.*;
    import javax.swing.JTable;
    import javax.swing.JScrollPane;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    public class SwingApplication extends JFrame {
    private static String labelPrefix = "Number of button clicks: ";
    private int numClicks = 0;
    String textFieldStringVEHNO = "Vehicle No";
    String textFieldStringDATEOFLOSS = "Date of Loss";
    String textFieldStringIMAGETYPE = "Image Type";
    String textFieldStringIMAGEDESC = "Image Description";
    String textFieldStringCLAIMTYPE = "Claim Type";
    String textFieldStringSCANDATE = "Scan Date";
    String textFieldStringUSERID = "User ID";
    String ImageID;
    public Component createComponents() {
    //Create text field for vehicle no.
    final JTextField textFieldVEHNO = new JTextField(5);
    textFieldVEHNO.setActionCommand(textFieldStringVEHNO);
    //Create text field for date of loss.
    final JTextField textFieldDATEOFLOSS = new JTextField(10);
    textFieldDATEOFLOSS.setActionCommand(textFieldStringDATEOFLOSS);
    //Create text field for image type.
    final JTextField textFieldIMAGETYPE = new JTextField(10);
    textFieldIMAGETYPE.setActionCommand(textFieldStringIMAGETYPE);
    //Create text field for image description.
    final JTextField textFieldIMAGEDESC = new JTextField(10);
    textFieldIMAGEDESC.setActionCommand(textFieldStringIMAGEDESC);
    //Create text field for claim type.
    final JTextField textFieldCLAIMTYPE = new JTextField(10);
    textFieldCLAIMTYPE.setActionCommand(textFieldStringCLAIMTYPE);
    //Create text field for scan date.
    final JTextField textFieldSCANDATE = new JTextField(10);
    textFieldSCANDATE.setActionCommand(textFieldStringSCANDATE);
    //Create text field for user id.
    final JTextField textFieldUSERID = new JTextField(10);
    textFieldUSERID.setActionCommand(textFieldStringUSERID);
    //Create some labels for vehicle no.
    JLabel textFieldLabelVEHNO = new JLabel(textFieldStringVEHNO + ": ");
    textFieldLabelVEHNO.setLabelFor(textFieldVEHNO);
    //Create some labels for date of loss.
    JLabel textFieldLabelDATEOFLOSS = new JLabel(textFieldStringDATEOFLOSS + ": ");
    textFieldLabelDATEOFLOSS.setLabelFor(textFieldDATEOFLOSS);
    //Create some labels for image type.
    JLabel textFieldLabelIMAGETYPE = new JLabel(textFieldStringIMAGETYPE + ": ");
    textFieldLabelIMAGETYPE.setLabelFor(textFieldIMAGETYPE);
    //Create some labels for image description.
    JLabel textFieldLabelIMAGEDESC = new JLabel(textFieldStringIMAGEDESC + ": ");
    textFieldLabelIMAGEDESC.setLabelFor(textFieldIMAGEDESC);
    //Create some labels for claim type.
    JLabel textFieldLabelCLAIMTYPE = new JLabel(textFieldStringCLAIMTYPE + ": ");
    textFieldLabelCLAIMTYPE.setLabelFor(textFieldCLAIMTYPE);
    //Create some labels for scan date.
    JLabel textFieldLabelSCANDATE = new JLabel(textFieldStringSCANDATE + ": ");
    textFieldLabelSCANDATE.setLabelFor(textFieldSCANDATE);
    //Create some labels for user id.
    JLabel textFieldLabelUSERID = new JLabel(textFieldStringUSERID + ": ");
    textFieldLabelUSERID.setLabelFor(textFieldUSERID);
    Object[][] data = {
    {"Mary", "Campione",
    "Snowboarding", new Integer(5), new Boolean(false)},
    {"Alison", "Huml",
    "Rowing", new Integer(3), new Boolean(true)},
    {"Kathy", "Walrath",
    "Chasing toddlers", new Integer(2), new Boolean(false)},
    {"Mark", "Andrews",
    "Speed reading", new Integer(20), new Boolean(true)},
    {"Angela", "Lih",
    "Teaching high school", new Integer(4), new Boolean(false)}
    String[] columnNames = {"First Name",
    "Last Name",
    "Sport",
    "# of Years",
    "Vegetarian"};
    final JTable table = new JTable(data, columnNames);
    table.setPreferredScrollableViewportSize(new Dimension(500, 70));
    //Create the scroll pane and add the table to it.
    JScrollPane scrollPane = new JScrollPane(table);
    //Add the scroll pane to this window.
    getContentPane().add(scrollPane, BorderLayout.CENTER);
    final JLabel label = new JLabel(labelPrefix + "0 ");
    JButton buttonOK = new JButton("OK");
    buttonOK.setMnemonic(KeyEvent.VK_I);
    buttonOK.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
              try {
    numClicks++;
              ImageID = textFieldVEHNO.getText() + textFieldDATEOFLOSS.getText() + textFieldIMAGETYPE.getText();
    label.setText(labelPrefix + ImageID);
              ScanSaveMultipage doScan = new ScanSaveMultipage();
              doScan.start(ImageID);
         catch (Exception ev)
    label.setLabelFor(buttonOK);
    * An easy way to put space between a top-level container
    * and its contents is to put the contents in a JPanel
    * that has an "empty" border.
    JPanel pane = new JPanel();
    pane.setBorder(BorderFactory.createEmptyBorder(
    20, //top
    30, //left
    30, //bottom
    20) //right
    pane.setLayout(new GridLayout(0, 1));
         pane.add(textFieldLabelVEHNO);
         pane.add(textFieldVEHNO);
         pane.add(textFieldLabelDATEOFLOSS);
         pane.add(textFieldDATEOFLOSS);
         pane.add(textFieldLabelIMAGETYPE);
         pane.add(textFieldIMAGETYPE);
         pane.add(textFieldLabelIMAGEDESC);
         pane.add(textFieldIMAGEDESC);
         pane.add(textFieldLabelCLAIMTYPE);
         pane.add(textFieldCLAIMTYPE);
         pane.add(textFieldLabelDATEOFLOSS);
         pane.add(textFieldDATEOFLOSS);
         pane.add(textFieldLabelUSERID);
         pane.add(textFieldUSERID);
    pane.add(buttonOK);
         pane.add(table);
    //pane.add(label);
    return pane;
    public static void main(String[] args) {
    try {
    UIManager.setLookAndFeel(
    UIManager.getCrossPlatformLookAndFeelClassName());
    } catch (Exception e) { }
    //Create the top-level container and add contents to it.
    JFrame frame = new JFrame("SwingApplication");
    SwingApplication app = new SwingApplication();
    Component contents = app.createComponents();
    frame.getContentPane().add(contents, BorderLayout.CENTER);
    //Finish setting up the frame, and show it.
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    frame.pack();
    frame.setVisible(true);

    Post Author: Ranjit
    CA Forum: Crystal Reports
    Sorry but, i've never seen formula editor for altering position and size. If you know one please navigate me.
    I guess you have updated formula editor beside "Lock size and position" - if yes its not right. There is only one editor beside 4 items and editor is actually for Suppress.
    Anyways, A trick to change size a position is:
    Create 4-5 copies (as many as you expect positions) of the text object. place each at different positions,  right click, Format, Suppress and in formula editor for suppress write the formula: If your condition is true, Suppress=false, else true.
    Position will not change but user will feel; for different conditions -position is changed
    Hope this helps.
    Ranjit

  • Can I connect two 4k TVs and one additional monitor via DVI to my MacPro (late 2013)?

    Can I connect the following?
    - 4k TV via HDMI
    - 4k TV via Mini DisplayPort with an HDMI adapter
    - DVI monitor with 2560x1440 resolution

    I saw this page before but I am not 100 % sure if I interprete the statements correctly. For example, it is stated that "Two HDMI (HD or 4K) devices" are supported. When reading only this, it seems that the configuration in my question is not supported. However, they also wrote:
    "Mac Pro supports a total of two DVI or HDMI displays when connected via the built-in HDMI port or using the Apple Mini DisplayPort to DVI adapter. To connect additional DVI displays, use an active DVI adapter such as the Apple Mini DisplayPort to Dual-Link DVI adapter. You can connect up to six active adapter DVI displays. This requires a powered USB hub since Mac Pro offers four USB ports and you will need six to connect them all."
    Does this mean that I can also attach additional 4k HDMI TVs (and not just DVI displays)?

Maybe you are looking for

  • Why do some elements of a Powerpoint presentation not appear on screen?

    While running through a Powerpoint Presentation, some slides didn't show all elements? is this an issue with how the PPT is built prior to upload? are there specific products that can be installed that would allow for the appearance of all elements i

  • Getting a video clip onto my iPod

    I am having a bit of trouble transferring a video clip from a folder to the iTunes library, thus I cannot seem to get it onto my iPod Video. I've tried the "add file/folder" on iTunes itself and don't know of any other way to transfer a file into iTu

  • Finding recursively the iViews assigned to a Role - Portal Component

    Hi, I am trying to make a Portal Component where in I need to know what iViews are assigned to any particular role in a recursive manner. Currently by using the following code I can search the iViews recursively in the portal_content folder structure

  • Interface Builder Binding leads to death

    I have an Array Controller which is updating an NSMutableArray. The NSMutableArray is made up of an Object called Power which has several NSString objects (each synchronized). One of these is called name. When the user hits an "Import" button, the pr

  • Cannot Send Maril

    I have the 8gb iPhone with the 2.0.1 software in it. Ever since my iPhone upgraded to the 2.0 software, I have been unable to send email. Everytime I attepmt it, I get the message "One of the recipient addresses was invalid." This message occurs when