!NEWBIE! - Help me please

Ok im in University and i havent long started diong Java prog, im writing a program and i know how to do most of it however i need to ask a simple question!
How to i read a String from the user using JOption.showInputDialogue and the test the string with an if statement to see if its a certain string, heres something that i tried...
import javax.swing.JOptionPane;
public class TestCalc {
public static void main( String args[] ) {
String input;
input = JOptionPane.showInputDialog(null, "Input Mark");
if (input == "A") {
System.out.println("Works");
System.exit(1);
It compiled ok, but when i entered A it just said "Press any key to end {etc}"
i also rtied parsing the string to a char but wouldnt work please help, thanx.

nevermind, found                
if (input.equals("A"))
System.out.println("YAY");

Similar Messages

  • Problem with overclocking (newbie) help me please

    Hi I´m a newbie from Spain and i have some problems:
    First my configuration:
    Motherboard MsiNeo2 Bios 1.6 (higher bios make my score in 3dmark03,01,sandra decrease)
    2,4 Ht BUs 800
    Ram 2x256 ddr 400 (dual) Samsung (3,4,4,8,8) on default.Dram frecuency auto
    Club 3d 9700 nopro  default (275/270) but when i put fast on mb rises to 297/290
    Enermax 400W
    CPU Vcore 1.5250 V
    DDR Power Vol 2.70 v
    AGP Power Vol 1.55
    Well i have put system fast and Ram timmings change from 3,4,4,8,8 to 2,5,3,3,8,8 but the system runs perfectly stable:
    I don´t know if my scores are right but with system fast and Omega 24.60 (all other new drivers make my scores decrease and some games get freezy):
    3dmark03: 4497
    3dmark01: 14096
    sandra 2004 (guru3d version): RAM benchmark: 4476 (first num that appears the other is similar)
    I tried to put my sistem on turbo but it only run if i change timmings (more tigh)and 3dmark03 and 01 runs but after time playing games some get freezy or sometimes run very fast(NFSUNDERGROUND) and suddenly run normal, i think it´s because of timmings the system is no stable.
    I have read some post about overclocking but i have a big problem:
    I put my sistem slow
    dram frecuency 333
    and FSB for example 235 (then agp/pci clock rises from 66.66/33.33 to aprox 78)
    (i don´t know if this is ok) i don´t change anything more  and the sistem runs ok (p4 2,82) but 3dmark03 and 01 runs but
    when they are going to make the first test the monitor turns black and i have to reset the sistem.However Sandra mem benchmark
    rises from 4476 to 4652 (ddr frecuency 391)
    My question is if i have to change some vol (agp,ddr,cpu core...) to reach that benchmarks runs ok
    Well, sorry for my english and thanks

    Please read Rules of the forum and set up a signature with your system specs and power supply with rail ratings.
    Your problem here is your AGP / PCI clock rising to approx. 78.
    You should have a BIOS setting in Frequency / Voltage Control, Adjust AGP/PCI Clock (Mhz) that allows you to fix this at 66.66/33.33.
    If you are already doing this, what are you using to measure your AGP clock?

  • Newbie help requested please

    Previously a guy did my website, but now I need something
    better, he's not available to give me what I need.
    I've used my own copy of dreamweaver to over-ride his ideas
    and create a website that works for me, but find that when I upload
    it, the old website is still there running alongside the new. How
    to I successfully delete the original site from the server and
    over-write with my own new one?
    I have Macromedia Stuiod MX for dummies, but that covers
    starting from scratch, not getting rid of old stuff to replace with
    new.
    All help would be appreciated. Many thanks to all the kind
    folk out there in advance.

    Connect to the remote site. Delete all files (or move them to
    a new folder
    on the remote server). Then upload your new files.
    That should do it.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Phoenix Dawn" <[email protected]> wrote in
    message
    news:e5hgd0$ai6$[email protected]..
    > Previously a guy did my website, but now I need
    something better, he's not
    > available to give me what I need.
    >
    > I've used my own copy of dreamweaver to over-ride his
    ideas and create a
    > website that works for me, but find that when I upload
    it, the old website
    > is
    > still there running alongside the new. How to I
    successfully delete the
    > original site from the server and over-write with my own
    new one?
    >
    > I have Macromedia Stuiod MX for dummies, but that covers
    starting from
    > scratch, not getting rid of old stuff to replace with
    new.
    >
    > All help would be appreciated. Many thanks to all the
    kind folk out there
    > in
    > advance.
    >

  • NEWBIE - Help Needed Please!

    Hi - I am new to iMovie and have iMovie '08. I need to create a project as follows. I am trying to recreate some movies that when played will look like a Trade Test Transmission with music. Viz:
    The movie needs to be a static caption that lasts for about 1 hour
    That caption exists as as a .jpg file.
    I need to play an hour's worth of music with that caption
    I can import the picture and add music but I cannot work out how to make the picture stay on screen for 1 hour - is there a simple way of doing this?
    Sorry for such an easy question - iMovie is about the only Apple Software I have never used!
    Christian

    .. The maximum length it will allow me to enter seems to be 60 seconds. ...
    oops, you're right!
    I'm an old iM user, vers. ≤6 allowed longer durations than 60secs..
    the '4 sec increment' is defined in iM's prefs, you'll find there a slider, but it offers 10sec max. ...-
    soooo, 60x paste/copy, OR using iMHD6 ...
    Plan B)
    import your pic into iPhoto; create a slideshow containing just that single pic... set duration to 3600secs.. add music .. export 'movie' ...

  • More Newbie help needed please.

    Hello,
    I am attempting to sort an array which is defined in the main method, but the array must be sorted through the use of another method. From my understanding, this is tricky, because as I found out last night, you cannot use another method from within the main method (this kind of makes sense). I think I am pretty close but am getting non-static referrence errors. Here is the actual error and code. Thanks for looking at this.
    error:
    D:\School\IT315\Programs\Inventory.java:64: non-static variable sortItem cannot be referenced from a static context
              sortItem = ("myItem[0].getTotal()" + "myItem[1].getTotal()" + "myItem[2].getTotal()");
    ^
    1 error
    Tool completed with exit code 1
    public class Inventory
         // Begin main method
         public static void main( String args[] )
              int i;
              //Instantiate Iteminfo array
              Iteminfo[] myItem = new Iteminfo[3];
              // Create Item Info object
              myItem[0] = new Iteminfo( 01, "Laptop", 15, 2000 );
              myItem[1] = new Iteminfo( 02, "Desktop", 25, 1500 );
              myItem[2] = new Iteminfo( 03, "Server", 10, 5000 );
              // Display Program title and description.
              System.out.println( "Inventory Program Part 2" );
              System.out.println(); //outputs blank line
              System.out.println();
              // Display item info
              System.out.printf( "The first item is: \n\n" );
              myItem[0].displayInfo();
              System.out.println();
              System.out.printf( "The second item is: \n\n" );
              myItem[1].displayInfo();
              System.out.println();
              System.out.printf( "The third item is: \n\n" );
              myItem[2].displayInfo();
              System.out.println();
              System.out.printf( "The total of all inventory is: $%.2f. \n\n", getInvTotal(myItem) );
              System.out.printf( "The sorted inventory list is: %s", sortItemInfo(myItem) );
         } // End method main
         //method to total inventory
         static double getInvTotal(Iteminfo[] myItem)
              return myItem[0].getTotal() + myItem[1].getTotal() + myItem[2].getTotal();
         } //end method
         // method to sort array;
         String sortItem;
         static String sortItemInfo(Iteminfo[] myItem)
              sortItem = ("myItem[0].getTotal()" + "myItem[1].getTotal()" + "myItem[2].getTotal()");
         } //end method
    } // End class Payroll

    oh yeah. sorry. Two new errors were generated (same
    type). ...Yeah, sorry I didn't look closely enough.
    May I suggest a different approach? This is far from perfect, but is a big improvement of your current code:public class Inventory
        public static void main( String args[] )
            Iteminfo[] myItems = new Iteminfo[3];
            myItems[0] = new Iteminfo( 01, "Laptop", 15, 2000 );
            myItems[1] = new Iteminfo( 02, "Desktop", 25, 1500 );
            myItems[2] = new Iteminfo( 03, "Server", 10, 5000 );
            System.out.println("Inventory Program Part 2\n\n");
            displayItems(myItems);
            System.out.printf( "The total of all inventory is: $%.2f. \n\n", getInvTotal(myItems));
            System.out.printf( "The sorted inventory list is: ");
            sortItemInfo(myItems);
            displayItems(myItems);
        static void displayItems(Iteminfo[] myItems)
            for(int i = 0; i < myItems.length; i++)
                System.out.printf("Item "+(i+1)+": \n\n");
                myItems.displayInfo();
    static double getInvTotal(Iteminfo[] myItems)
    double total = 0.0;
    // Do the same thing with the for-statement here as
    // well, and add everything to the variable total.
    return total;
    static void sortItemInfo(Iteminfo[] myItems)
    // your sort algorithm here
    Try to finish it.
    Good luck.

  • My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    My app store is not working after installing mavericks. When I open app store it repeatedly asking me to login with apple ID and to provide User name and Password for proxy authentication in a loop.I am a newbie to mac,Please help me.

    Hmmmm... would appear that you need to be actually logged in to enable the additional menu features.
    Have you tried deletting the plists for MAS?
    This page might help you out...
    http://www.macobserver.com/tmo/answers/how_to_identify_and_fix_problems_with_the _mac_app_store
    Failing that, I will have to throw this back to the forum to see if anyone else can advise further.
    Let me know how you get on?
    Thanks.

  • Can not run jcwde (Somebody help me please !)

    Hi all, I'm a newbie in java card development.
    Let's get to the point. I have some problem with jcwde and I've been searching for the similar problems in this forum such as : here here and here here
    Other sources that I've referred to is : here and here
    I'm trying to set environment variable for java card development.
    Before running jcwde, i also run samples_build.bat but I don't know whether it OK or not.
    When I try to run jcwde for testing demo file (I type : jcwde -jcwde.app in command prompt) the only message that i got is :
    C:\java_card_kit-2_1_2\samples\src\demo>jcwde jcwde.app
    'C:\Program' is not recognized as an internal or external command, operable program or batch files
    Is there any problem with my enviromnent variables setting ? since I'm not sure how to fix it
    here is mine :
    JAVA_HOME : C:\Program Files\Java\jdk1.5.0_04
    JC21_HOME : C:\java_card_kit-2_1_2
    CLASSPATH : .;C:\java_card_kit-2_1_2\lib\api21.jar
    PATH : C:\Program Files\Java\jdk1.5.0_04\bin;C:\java_card_kit-2_1_2\bin
    Oh yeah, I almost forgotten that I'm using Windows XP Professional Edition SP 1, and Java Card Development Kit 2.1.2
    Can somebody help me please or maybe give me advice about what I'm doing is right or wrong ?
    Thanks in advance,
    Best Regards,
    iCH1
    Edited by: ichiwan on Mar 12, 2008 10:00 PM

    dear kicklee,
    Thank you for your response to the topic. By the way, do you mean that all CLASSPATH variable must not be more than 8 characters ?
    I just did it, but still the same error occur.
    Is there any solution for this ?
    I need you to copy-paste all your succesfull CLASSPATH configuration here for better explanation.
    thx in advance.
    Best Regards,
    iCH1
    Edited by: ichiwan on Mar 18, 2008 8:09 AM
    Edited by: ichiwan on Mar 18, 2008 8:13 AM
    Edited by: ichiwan on Mar 18, 2008 8:15 AM

  • Help! (please :) I have a 1GB iPod that's loaded with music for which my computer can no longer find the original files-due to external mass storage crash during recent move. Is there a way to import iPod music back into my iTunes library on computer???

    Help! (please I have a 1GB iPod that's loaded with music for which my computer can no longer find the original files-due to external mass storage crash during recent move. Is there a way to import iPod music back into my iTunes library on computer???

    Or If there is any purchased music then you can try to transfer purchases
    http://support.apple.com/kb/ht1848
    If you're in the US you can reload purchased music
    http://support.apple.com/kb/ht2519

  • I have a problem with the sync between iTunes and ipad2. I can not see the files in iPad. Help me please.

    I have a problem with the sync between iTunes and ipad2. I can not see the files in iPad. Help me please.

    Cannot see what files ? Music (synced music should appear in the iPod app), films/TV shows (Videos app), documents ... ?

  • Apple iPad 3. BT email not working. Cannot send emails from btconnect SMTP after iOS upgrade. This is the only difference I am aware of. Can anyone help me please.

    BT email not working. Cannot send emails from btconnect SMTP after iOS upgrade. This is the only difference I am aware of. Apple iPad 3. Can anyone help me please.

    All resolved at last
    Deleted the SMTP setting
    Recreated the SMTP using the same settings
    Able to send emails now
    No logic - as usual - just a bug!

  • HELP. ............Hi folks hope some one can help me please.Having a problem in Bridge I open my images in ACR,  as I open files in a folder and lets say they are labeled in yellow  they are all going back to  the camera raw default , in other words no ma

    HELP. ............Hi folks hope some one can help me please.Having a problem in Bridge I open my images in ACR,  as I open files in a folder and lets say they are labeled in yellow  they are all going back to  the camera raw default , in other words no matter what work I have done, inc cropping they  all go back to ,as they came out of camera. What on earth is happening? I am on PS CS6. I might point out everything was working normally up to  yesterday, when this first started.
    I recently changed computer to 64bit from 32bit, not sure if this causing  the problem or not. Any help would be appreciated.

    Robert,
    Would you be so kind to rephrase your question with concise, precise information and without any "let's say that" hypotheticals?  Sorry, I can't quite follow you.
    Also please give exact versions of Photoshop CS6 (13.what.what), of Bridge and of your OS.
    Thanks.
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Help needed please.. how do I remove my credit card from itunes? just discovered over $450 of charges when I looked at my email... Kids had no clue they were using our money and not their gift cards

    Help needed please.... I just discovered over $450 charges to my credit card from Itunes. The kids had no idea they were using our credit card and not their itunes gift cards and 4 year old just clicks on anything! I didnt save my credit card details so am a bit miffed at this... I cant find anywhere in itunes to remove it. Edit.. but not remove. Editing does not remove it.. HELP

    To Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    Accepted forms of payment  >  http://support.apple.com/kb/HT5552
    Changing Account Information  >  http://support.apple.com/kb/HT1918

  • Help needed please, with Iphone stuck with apple picture and progress bar after software update attempted

    Help needed please, everytime I try to update the software version on my iphone it comes up with a message saying it could not be completed and is now frozen with the apple picture and progress bar on it. Do I unplug it and hope the macbook pro sees it again, I also stupidly did not back up before starting the download which I realise I will have to go back to the previous back up. This keeps happening, everytime I do this type of update, I'm starting to think I should just give up on updating my software on the Iphone. I thought it was happening because I was using a window based computer to do the updates, this time I used my Macbook Pro. Please somebody help

    ljm17 wrote:
    ...This keeps happening, everytime I do this type of update, I...
    Then you should know what you need to do... If you don't remember...
    See Here  >  http://support.apple.com/kb/HT1808

  • Can anyone help me, please

    Hello again:
    Please run my coding first, and get some view from my coding.
    I want to add a table(it is from TableRenderDemo) to a JFrame when I click on the button(from DrawCalendar) of the numer 20, and I want the table disply under the buttons(from DrawCalendar), and the table & buttons all appear on the frame. I added some code for this problem(in the EventHander of the DrawCalendar class), but I do
    not known why it can not work.Please help me to solve this problem.
    Can anyone help me, please.
    Thanks.
    *This program for add some buttons to JPanel
    *and add listeners to each button
    *I want to display myTable under the buttons,
    *when I click on number 20, but why it doesn't
    *work, The coding for these part are indicated by ??????????????
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.GridLayout;
    public class DrawCalendar extends JPanel {
         private static DrawCalendar dC;
         private static TestMain tM;
         private static TableRenderDemo myTable;
         private static GridLayout gL;
         private static final int nlen = 35;
        private static String names[] = new String[nlen];
        private static JButton buttons[] = new JButton[nlen];
         public DrawCalendar(){
              gL=new GridLayout(5,7,0,0);
               setLayout(gL);
               assignValues();
               addJButton();
               registerListener();
        //assign values to each button
           private void assignValues(){
              names = new String[35];
             for(int i = 0; i < names.length; i++)
                names[i] = Integer.toString(i + 1);
         //create buttons and add them to Jpanel
         private void addJButton(){
              buttons=new JButton[names.length];
              for (int i=0; i<names.length; i++){
                   buttons=new JButton(names[i]);
         buttons[i].setBorder(null);
         buttons[i].setBackground(Color.white);
         buttons[i].setFont(new Font ("Palatino", 0,8));
    add(buttons[i]);
    //add listeners to each button
    private void registerListener(){
         for(int i=0; i<35; i++)
              buttons[i].addActionListener(new EventHandler());          
    //I want to display myTable under the buttons,
    //when I click on number 20, but why it doesn't
    //work
    private class EventHandler implements ActionListener{
         public void actionPerformed(ActionEvent e){
         for(int i=0; i<35; i++){
    //I want to display myTable under the buttons,
    //when I click on number 20, but why it doesn't
    //work
         if(i==20){  //???????????               
              tM=new TestMain(); //???????
              tM.c.removeAll(); //??????
              tM.c.add(dC); //???????
              tM.c.add(myTable); //????
              tM.validate();
         if(e.getSource()==buttons[i]){
         System.out.println("testing " + names[i]);
         break;
    *This program create a table with some data
    import javax.swing.table.AbstractTableModel;
    import javax.swing.table.TableColumn;
    import javax.swing.DefaultCellEditor;
    import javax.swing.table.TableCellRenderer;
    import javax.swing.table.DefaultTableCellRenderer;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class TableRenderDemo extends JScrollPane {
    private boolean DEBUG = true;
    public TableRenderDemo() {
    // super("TableRenderDemo");
    MyTableModel myModel = new MyTableModel();
    JTable table = new JTable(myModel);
    table.setPreferredScrollableViewportSize(new Dimension(700, 70));//500,70
    //Create the scroll pane and add the table to it.
    setViewportView(table);
    //Set up column sizes.
    initColumnSizes(table, myModel);
    //Fiddle with the Sport column's cell editors/renderers.
    setUpSportColumn(table.getColumnModel().getColumn(2));
    * This method picks good column sizes.
    * If all column heads are wider than the column's cells'
    * contents, then you can just use column.sizeWidthToFit().
    private void initColumnSizes(JTable table, MyTableModel model) {
    TableColumn column = null;
    Component comp = null;
    int headerWidth = 0;
    int cellWidth = 0;
    Object[] longValues = model.longValues;
    for (int i = 0; i < 5; i++) {
    column = table.getColumnModel().getColumn(i);
    try {
    comp = column.getHeaderRenderer().
    getTableCellRendererComponent(
    null, column.getHeaderValue(),
    false, false, 0, 0);
    headerWidth = comp.getPreferredSize().width;
    } catch (NullPointerException e) {
    System.err.println("Null pointer exception!");
    System.err.println(" getHeaderRenderer returns null in 1.3.");
    System.err.println(" The replacement is getDefaultRenderer.");
    comp = table.getDefaultRenderer(model.getColumnClass(i)).
    getTableCellRendererComponent(
    table, longValues[i],
    false, false, 0, i);
    cellWidth = comp.getPreferredSize().width;
    if (DEBUG) {
    System.out.println("Initializing width of column "
    + i + ". "
    + "headerWidth = " + headerWidth
    + "; cellWidth = " + cellWidth);
    //XXX: Before Swing 1.1 Beta 2, use setMinWidth instead.
    column.setPreferredWidth(Math.max(headerWidth, cellWidth));
    public void setUpSportColumn(TableColumn sportColumn) {
    //Set up the editor for the sport cells.
    JComboBox comboBox = new JComboBox();
    comboBox.addItem("Snowboarding");
    comboBox.addItem("Rowing");
    comboBox.addItem("Chasing toddlers");
    comboBox.addItem("Speed reading");
    comboBox.addItem("Teaching high school");
    comboBox.addItem("None");
    sportColumn.setCellEditor(new DefaultCellEditor(comboBox));
    //Set up tool tips for the sport cells.
    DefaultTableCellRenderer renderer =
    new DefaultTableCellRenderer();
    renderer.setToolTipText("Click for combo box");
    sportColumn.setCellRenderer(renderer);
    //Set up tool tip for the sport column header.
    TableCellRenderer headerRenderer = sportColumn.getHeaderRenderer();
    if (headerRenderer instanceof DefaultTableCellRenderer) {
    ((DefaultTableCellRenderer)headerRenderer).setToolTipText(
    "Click the sport to see a list of choices");
    class MyTableModel extends AbstractTableModel {
    final String[] columnNames = {"First Name",
    "Last Name",
    "Sport",
    "# of Years",
    "Vegetarian"};
    final 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)},
    {"Sharon", "Zakhour",
    "Speed reading", new Integer(20), new Boolean(true)},
    {"Angela", "Lih",
    "Teaching high school", new Integer(4), new Boolean(false)}
    public final Object[] longValues = {"Angela", "Andrews",
    "Teaching high school",
    new Integer(20), Boolean.TRUE};
    public int getColumnCount() {
    return columnNames.length;
    public int getRowCount() {
    return data.length;
    public String getColumnName(int col) {
    return columnNames[col];
    public Object getValueAt(int row, int col) {
    return data[row][col];
    * JTable uses this method to determine the default renderer/
    * editor for each cell. If we didn't implement this method,
    * then the last column would contain text ("true"/"false"),
    * rather than a check box.
    public Class getColumnClass(int c) {
    return getValueAt(0, c).getClass();
    * Don't need to implement this method unless your table's
    * editable.
    public boolean isCellEditable(int row, int col) {
    //Note that the data/cell address is constant,
    //no matter where the cell appears onscreen.
    if (col < 2) {
    return false;
    } else {
    return true;
    * Don't need to implement this method unless your table's
    * data can change.
    public void setValueAt(Object value, int row, int col) {
    if (DEBUG) {
    System.out.println("Setting value at " + row + "," + col
    + " to " + value
    + " (an instance of "
    + value.getClass() + ")");
    if (data[0][col] instanceof Integer
    && !(value instanceof Integer)) {
    //With JFC/Swing 1.1 and JDK 1.2, we need to create
    //an Integer from the value; otherwise, the column
    //switches to contain Strings. Starting with v 1.3,
    //the table automatically converts value to an Integer,
    //so you only need the code in the 'else' part of this
    //'if' block.
    try {
    data[row][col] = new Integer(value.toString());
    fireTableCellUpdated(row, col);
    } catch (NumberFormatException e) {
    JOptionPane.showMessageDialog(TableRenderDemo.this,
    "The \"" + getColumnName(col)
    + "\" column accepts only integer values.");
    } else {
    data[row][col] = value;
    fireTableCellUpdated(row, col);
    if (DEBUG) {
    System.out.println("New value of data:");
    printDebugData();
    private void printDebugData() {
    int numRows = getRowCount();
    int numCols = getColumnCount();
    for (int i=0; i < numRows; i++) {
    System.out.print(" row " + i + ":");
    for (int j=0; j < numCols; j++) {
    System.out.print(" " + data[i][j]);
    System.out.println();
    System.out.println("--------------------------");
    *This program for add some buttons and a table on JFrame
    import java.awt.*;
    import javax.swing.*;
    public class TestMain extends JFrame{
    private static TableRenderDemo tRD;
         private static TestMain tM;
    protected static Container c;
    private static DrawCalendar dC;
         public static void main(String[] args){
         tM = new TestMain();
         tM.setVisible(true);
         public TestMain(){
         super(" Test");
         setSize(800,600);
    //set up layoutManager
    c=getContentPane();
    c.setLayout ( new GridLayout(3,1));
    tRD=new TableRenderDemo();
    dC=new DrawCalendar();
    addItems();//add Buttons to JFrame
    private void addItems(){
         c.add(dC); //add Buttons to JFrame
         //c.add(tRD); //add Table to JFrame     

    Click Here and follow the steps to configure your Linksys Router with Version FIOS.

  • In the previous version, the menu table in table options, there is an option that gives me the option: the Return key moves to next cell. I do not see this option in the new number. can you help me please?

    in the previous version  of Number, the menu table in table options, there is an option that gives me the option: the Return key moves to next cell. I do not see this option in the new number. can you help me please?

    Hi silvano,
    If you use a regular pattern when entering values, press enter (return) after entering the last value in a row. That will take you to the first Body Cell of the next row.
    Start in Cell B2
    1 Tab 2 Tab 3 Enter
    4 Tab 5 Tab 6 Enter
    7 Tab 8 Tab 9 Enter
    Now you are ready to type into B5 .
    Another way that some people find easier is to enter one column at a time
    Start at B2
    1 enter
    4 enter
    7 enter
    etc.
    Now start with C2.
    Use whatever suits your work flow.
    Regards,
    Ian.

  • Hello, every one. Over the last few days I haven't been able to download any app from the app store. can any one help me, please?

    Over the last few days I haven't been able to download any app. can any one help me, please ? thank you.

    Andrea...
    You posted in the "Using Mac App Store" forum but your profile indicates you are using an iPad so that's what I'll try helping you with.
    On the iPad tap Settings > General > Reset > Reset Network Settings
    Then restart the iPad.  Hold the On/Off Sleep/Wake button down until the red slider appears. Slide your finger across the slider to turn off iPhone. To turn iPhone back on, press and hold the On/Off Sleep/Wake button until the Apple logo appears.
    If you still can't download apps, the problem may be your Wi-Fi connection >  iOS: Troubleshooting Wi-Fi networks and connections

Maybe you are looking for

  • File to Idoc (message split)

    Hi Gurus, I have a incoming xml file which is split into multiple debmas idoc for ecc. In message-mapping, message-tab source message occurance is set as '1' and target is set with "0...unbound" On target:idoc There is NO mapping for Messages and Mes

  • MS Access Linked Tables

    I have an MS Access database that I have no choice but to use, and the powers that be won't move it to Oracle anytime soon. I'm working on my own workstation running a Tomcat 4.1.31 Server. The database is on a network share and links tables from ano

  • RFC - XI - WebService :: Not getting complete Response from WS

    Hi I am working on a following Synchronous scenario <b>SAP R/3 --> Sender RFC Adapter --> XI --> Rec. SOAP Adapter --> MI Web Service</b> Now I tested the structure of Request/Response Message from WebService in XML Spy, & designed my Request/Respons

  • Printing Error: There is a problem with a font file.

    I get this error when I try to print: "Printing Error: There is a problem with a font file." I tried exporting to PDF and printing from there. I get this message: "An error exist on this page. Acrobat may not display the page correctly. Please contac

  • Frozen ipod (160G)

    Hi I have a problem with my ipod, i just went into the ipod music quiz game and its come up with a message saying "this game cannot be launched" I tried to get out of this message and back to the main menu but its not letting me out... and also i tri