Beginner question for java appelets regarding positioning.

I am creating a java appelet, and I am having issues positioning labels, text boxes , buttons. Is there a way I can specify where each is positioned?
Thank you!
for example here is my code:
import java.awt.*;
import java.applet.Applet;
import java.awt.event.*;
public class AdditionOfFractions extends Applet implements ActionListener {
    Label Num1Lbl = new Label("num1");
    Label Num2Lbl = new Label("num2");
    Label Den1Lbl = new Label("den1");
    Label Den2Lbl = new Label("den2");
    Label ResultLbl = new Label("Result");
    TextField Num1Text = new TextField(4);
    TextField Num2Text = new TextField(4);
    TextField Den1Text = new TextField(4);
    TextField Den2Text = new TextField(4);
    TextField ResultText = new TextField(4);
    Button ComputeBtn  = new Button("Compute");
    Button ExitBtn  = new Button("Exit");
    public void actionPerformed(ActionEvent thisEvent)throws NumberFormatException {
        if(ComputeBtn.hasFocus()){
            System.out.println("test");
            int num1 = Integer.parseInt(Num1Text.getText());
            int num2 = Integer.parseInt(Num2Text.getText());
            int den1 = Integer.parseInt(Den1Text.getText());
            int den2 = Integer.parseInt(Den2Text.getText());
            int newDen = 0;
            if(den1 != den2){
    public void init()
        //initialise
        ResultText.setEditable(false);
        ComputeBtn.addActionListener(this);
        ExitBtn.addActionListener(this);
        //add components
        add(Num1Lbl);
        add(Num1Text);
        add(Den1Lbl);
        add(Den1Text);
        add(Num2Lbl);
        add(Num2Text);
        add(Den2Lbl);
        add(Den2Text);
        add(ResultLbl);
        add(ResultText);
        add(ComputeBtn);
        add(ExitBtn);
}

797737 wrote:
I am creating a java appelet, and I am having issues positioning labels, text boxes , buttons. Is there a way I can specify where each is positioned?Definitely, for your simple Applet you'll probably just want to use a <tt>java.awt.GridLayout</tt>. This will effectively position all your components in a grid pattern that you set in the contructor.
//make a grid 4 rows, 2 columns
GridLayout gridLayout = new GridLayout(4, 2);Then you'll need to set this for the Applet like so:
pubic void init(){
  //initial your components as usual
  setLayout(gridLayout);
  //add components as usual;
}Now 37, you don't want the <tt>actionPerformed()</tt> method to throw any Exceptions. Instead put your code inside a try/catch block:
public void actionPerformed(ActionEvent ae)
  int num1, num2, den1, den2;
  try {
    num1 = Integer.parseInt(Num1Text.getText());
    num2 = Integer.parseInt(Num2Text.getText());
    den1 = Integer.parseInt(Den1Text.getText());
    den2 = Integer.parseInt(Den2Text.getText());
  catch(NumberFormatException)
    //provide DEFAULT VALUES HERE;
}37, try to use the <tt>EventObject.getSource()</tt>, or <tt>ActionEvent.getActionCommand()</tt>.
public void actionPerformed(ActionEvent ae) {
  //Choose one of the following lines
  //line 2 is probably a better choice here
  Button button = (Button)ae.getSource();
  String actionCommand = ae.getActionCommand();
  if(actionCommand.equals("Compute"))
    //try/catch block here
    //compute here
    //set results
    // OR create a compute() that
    // includes all three lines above
}Now OP, I have a question for you. Do you see a way to LIMIT the values of <tt>num1, num2, den1, den2</tt> so that your program is safe to run -- so that the compute formula does not throw any ArithmeticExceptions?

Similar Messages

  • Question for T20 owners regarding aux input

    I'm hoping someone with T20s can answer a simple question for me. When you have two different sources plugged into the main input and the aux input, do you hear both mixed together? Or, does plugging in the aux "cut off" the main input? I've got two computers and I'd like to pipe both into just one set of speakers, and I've heard using reverse splitter adapters is a bad idea. All help is appreciated. Thanks! :-)

    I'm not an audio expert but here goes. The aux does not cut off the primary input for the speaker, and you can hear both sources at once. (I have my laptop plugged into the rear and an MP3 player feeding the aux input)? I don't know that it's really a great idea since you could probably overload the speakers quickly if both sources are playing, even with transient spikes, but if you keep the volume reasonable, it probably may work fine. Best of luck.

  • Easy swing question for Java friends

    Hi could somebody test this short application and tell me why the "DRAW LINE" button doesnt draw a line as I expected?
    thank you very much!
    Circuitos.java:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.URL;
    import java.awt.geom.*;
    public class Circuitos extends JApplet {
         protected JButton btnRect;
         protected Terreno terreno;
         private boolean inAnApplet = true;
         //Hack to avoid ugly message about system event access check.
         public Circuitos() {
              this(true);
         public Circuitos(boolean inAnApplet) {
            this.inAnApplet = inAnApplet;
              if (inAnApplet) {
                   getRootPane().putClientProperty("defeatSystemEventQueueCheck",Boolean.TRUE);
         public void init() {
              setContentPane(makeContentPane());
         public Container makeContentPane() {
              btnRect = new JButton("DRAW LINE");
          btnRect.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent e) {
                terreno.pintarTramo();
              terreno = new Terreno();
              JPanel panel = new JPanel();
              panel.setLayout(new BorderLayout());
              panel.add("North",btnRect);
              panel.add("Center",terreno);
              return panel;
         public static void main(String[] args) {
            JFrame frame = new JFrame("Dise�o de Circuitos");
              frame.addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e) {
                        System.exit(0);
              Circuitos applet = new Circuitos(false);
              frame.setContentPane(applet.makeContentPane());
              frame.pack();
              frame.setVisible(true);
    }Terreno.java:
    import java.awt.*;
    import javax.swing.*;
    import java.awt.geom.*;
    public class Terreno extends JPanel {
         Graphics2D g2;
         public Terreno() {
              setBackground(Color.red);
              setPreferredSize(new Dimension(500,500));
         public void paintComponent(Graphics g) {
              super.paintComponent(g);
          g2 = (Graphics2D) g;
          g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);    
         public void pintarTramo () {     
              Point2D.Double start   = new Point2D.Double(250,250);
              Point2D.Double end     = new Point2D.Double(250,285);
              g2.draw(new Line2D.Double(start,end));            
    }

    I don't think the date I became a member has anything to do with it. Yes, I signed up a year ago to ask a question or two when I didn't know anything. It wasn't until recently have I started to use this forum again, only to try and help people as well as ask my questions. It took me a year to get to this point to where I can actually answer questions instead of just asking. So don't be silly and judge a person based on their profile.
    Secondly, I agree with you, the search utility is great. I use it all the time and usually I'll find my answers, but if I don't is it such a pain in the butt for you to see the same problem posted again?? I know how much you want people to use the resources available before wasting forum space with duplicate questions, but it's not going to happen. Some people are not as patient and you being a butt about it won't stop it.
    My point in general is that there are nice ways to help people and even rude ways, and your comments at times come across rude to me, even condescending. You have a lot of knowledge, therefore certain things seem trivial to you... but try to understand where some of the new people are coming from. The Swing tutorial is extremely helpful but if you don't understand the concept of programming or java that well... then it can be overwhelming and you don't know where to start. It's a huge tutorial and when people are stuck they just want an answer to their one question. Most figure it's easier to ask someone who already knows instead of reading an entire tutorial to get their answer.
    I've learned by both methods, by taking the time to research it myself and by asking a lot of questions. I have the time. Some don't. Please realize that not everyone is like you and they will continue to ask whether you like it or not. You have a choice, either help them or not.

  • Beginner question for OMBDEPLOY

    Hi all,
    I am trying to depoly one mapping using OMBDEPLOY. Please point me to the right direction.
    1. OMBCONNECT 'my_design_repository'
    2. OMBCC 'my_project'
    3. OMBCREATE 'my_deployment_action_plan'
    4. OMBCAC 'my_configuration'
    5. OMBCONNECT CONTROL_CENTER 'my_runtime_control_center'
    Everything works fine so far, and then I do the OMBDEPLOY
    6. OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'my_deployment_action_plan'
    But I get the following error message:
    ora-01017: invalid username/password:logon denied
    Deployment completed.
    I give user/password in my step 5, and it says 'Control Center connected'. My question is which user/password is wrong here?
    Can anybody help. Thanks so much.

    Here is my OMB+ script to deploy all mappings in a project:
    Your connection error, by the way, probably relates to the fact that if the location passowrd name is not retained in the repository, then it must be set at runtime. We don't save our passwords, so you will notice the OMBALTER LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (PASSWORD) VALUES ('$DATA_LOCATION_PASS') to set it at runtime below
    Mike
    # To run this script, start OMB Plus.
    # e.g. source c:/path/to/deploy_all_mappings.tcl
    #  Get Current Directory and time
    set dtstmp     [ clock format [clock seconds] -format {%Y%m%d_%H%M}]
    set scrpt      [ file split [file root [info script]]]
    set scriptDir  [ file dirname [info script]]
    set scriptName [ lindex $scrpt [expr [llength $scrpt]-1]]
    #  Import Lbraries
    #      Assumes that owb_config and omb_library are in the same directory as this
    #      script.
    set cnfg_lib "$scriptDir/owb_config.tcl"
    set owb_lib  "$scriptDir/omb_library.tcl"
    #get config file
    source $cnfg_lib
    #get standard library
    source $owb_lib
    #  Set Logfile
    #    This will overwrite anything set in the config file.
    set    SPOOLFILE  ""
    append SPOOLFILE $scriptDir "/log_"  $scriptName "_" $dtstmp ".txt"
    #  Connect to repos
    set print [ers_omb_connect $OWB_DEG_USER $OWB_DEG_PASS $OWB_DEG_HOST $OWB_DEG_PORT $OWB_DEG_SRVC $OWB_DEG_REPOS]
    if [omb_error $print] {
        log_msg ERROR "Unable to connect to repository."
        log_msg ERROR "$print"
        log_msg ERROR "Exiting Script.............."
        return
    } else {
        log_msg LOG "Connected to Repository"   
    # Connect to project
    set print [exec_omb OMBCC '$PROJECT_NAME']
    if [omb_error $print] {
       exit_failure "Project $PROJECT_NAME does not exist. Exiting...."
    } else {
        log_msg LOG "Switched Context to Project"   
    set print [exec_omb OMBCC '$ORA_MODULE_NAME']
    if [omb_error $print] {
       exit_failure "Module $MODULE_NAME does not exist. Exiting...."
    } else {
       log_msg LOG "Switched context to module $ORA_MODULE_NAME"
    log_msg LOG "Connecting to Control Center $CONTROL_CENTER_NAME"
    set print [exec_omb OMBCONNECT CONTROL_CENTER USE '$DATA_LOCATION_PASS' ]
    if [omb_error $print] {
       exit_failure "Unable to connect to Control Center $CONTROL_CENTER_NAME"
    } else {
       log_msg LOG "Connected To Control Center"
    exec_omb OMBSAVE
    set print [exec_omb OMBALTER LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (PASSWORD) VALUES ('$DATA_LOCATION_PASS')]
    if [omb_error $print] {
       exit_failure "Unable to log onto location '$DATA_LOCATION_NAME' with password $DATA_LOCATION_PASS"
    } else {
       log_msg LOG "Set password for $DATA_LOCATION_NAME"
    exec_omb OMBSAVE
    set mapList [ OMBLIST MAPPINGS ]
    foreach mapName $mapList {
         if [string match ERS_TEMPLATE $mapName ] {
            log_msg LOG "ERS_TEMPLATE is not a deployable object....skipping"
         } else {
            log_msg LOG  "Deploying: $mapName"
            set print [ exec_omb OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN' ADD ACTION 'MAPPING_DEPLOY' SET PROPERTIES (OPERATION) VALUES ('CREATE') SET REFERENCE MAPPING '$mapName' ]
            if [omb_error $print] {
               log_msg ERROR "Unable to create Deployment plan for '$mapName'"
            } else {
               set print [ exec_omb OMBDEPLOY DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN' ]
               if [omb_error $print] {
                   log_msg ERROR "Error on execute of Deployment plan for '$mapName'"
            exec_omb OMBDROP DEPLOYMENT_ACTION_PLAN 'DEPLOY_PLAN'
            exec_omb OMBCOMMIT
    exec_omb OMBSAVE
    exec_omb OMBDISCONNECTthis uses my standard library: omb_library.tcl
    # Default logging function.
    #  Accepts inputs: LOGMSG - a text string to output
    proc log_msg {LOGTYPE LOGMSG} {
       #logs to screen and file
       global SPOOLFILE
       set fout [open "$SPOOLFILE" a+]     
       puts $fout "$LOGTYPE:-> $LOGMSG"
       puts "$LOGTYPE:-> $LOGMSG"
       close $fout
    proc log_msg_file_only {LOGTYPE LOGMSG} {
        #logs to file only
        global SPOOLFILE
        set fout [open "$SPOOLFILE" a+]     
        puts $fout "$LOGTYPE:-> $LOGMSG"
        close $fout
    proc exit_failure { msg } {
       log_msg ERROR "$msg"
       log_msg ERROR "Rolling Back....."
       exec_omb OMBROLLBACK
       log_msg ERROR "Exiting....."
       # return and also bail from calling function
       return -code 2
    proc exec_omb { args } {
       log_msg_file_only OMBCMD "$args"
       # the point of this is simply to return errorMsg or return string, whichever is applicable,
       # to simplify error checking using omb_error{}
       if [catch { set retstr [eval $args] } errmsg] {
          log_msg OMB_ERROR "$errmsg"
          log_msg "" ""
          return $errmsg
       } else {
          log_msg OMB_SUCCESS "$retstr"
          log_msg "" ""
          return $retstr
    proc omb_error { retstr } {
       # OMB and Oracle errors may have caused a failure.
       if [string match OMB0* $retstr] {
          return 1
       } elseif [string match ORA-* $retstr] {
          return 1
       } elseif [string match java.* $retstr] {
          return 1
       } else {
          return 0
    proc ers_omb_connect { OWB_USER OWB_PASS OWB_HOST OWB_PORT OWB_SRVC OWB_REPOS } {
       # Commit anything from previous work, otherwise OMBDISCONNECT will fail out.
       catch { set retstr [ OMBSAVE ] } errmsg
       log_msg LOG "Checking current connection status...."
       #Ensure that we are not already connected.
       if [catch { set discstr [ OMBDISCONNECT ] } errmsg ] {
          set discstr $errmsg
       # Test if message is "OMB01001: Not connected to repository." or "Disconnected."
       # any other message is a showstopper!
       if [string match Disconn* $discstr ]  {
          log_msg LOG "Success Disconnecting from previous repository...."
       } else {
          # We expect an OMB01001 error for trying to disconnect when not connected
          if [string match OMB01001* $discstr ] {
              log_msg LOG "Disconnect unneccessary. Not currently connected...."
          } else {
              log_msg ERROR "Error Disconnecting from previous repository....Exiting process."
              exit_failure "$discstr"
       return [exec_omb OMBCONNECT $OWB_USER/$OWB_PASS@$OWB_HOST:$OWB_PORT:$OWB_SRVC USE REPOSITORY '$OWB_REPOS']
    }and my config file:
    # GLOBAL VARIABLE DECLARATION SECTION
    #DESIGN REPOSITORY  CONNECTION INFORMATION
    # Login info for the design repository owner
    set OWB_DEG_USER    myusername
    set OWB_DEG_PASS    mypassword
    set OWB_DEG_HOST    servername.domain.net
    set OWB_DEG_PORT    1628
    set OWB_DEG_SRVC     orcl01
    set OWB_DEG_REPOS   owb_mgr
    # CONTROL CENTER AND LOCATION DECLARATION SECTION
    set CONTROL_CENTER_NAME        ERS_CTRL_DEVR1002_1M
    set CONTROL_CENTER_SCHEMA      owb_mgr
    #Connection info to ers_etl_app schema
    set DATA_LOCATION_NAME         ERS_DEVR1002_1M
    set DATA_LOCATION_VERS         10.2
    set DATA_LOCATION_USER         ERS_ETL_APP
    set DATA_LOCATION_PASS         ERS_ETL_APP
    set DATA_LOCATION_HOST         mldb001
    set DATA_LOCATION_PORT         1556
    set DATA_LOCATION_SRVC         devr1002
    # PROJECT,MUDULE AND DIRECTORY DECLARATION SECTION
    set PROJECT_NAME       ERS_DM_R7_0C4_05
    set ORA_MODULE_NAME    ERS_ETL_APPEdited by: zeppo on Nov 19, 2008 11:45 AM

  • Beginner question for Internal website

    Can the internal website be set up so that someone outside the company's intranet can log in?  Our company has need for a website to distribute information to all employees, many of whom are not users of the company intranet.  We have Small Business
    Server 2011. 
    Sorry for the naive question, can't find a clear answer to this question. 
    Roy Lambertson

    You can set them up a user account, that can only access the Intranet. (Companyweb)
    Then have them go straight to https://remote.yourdomain.com:987
    Robert Pearman SBS MVP
    itauthority.co.uk |
    Title(Required)
    Facebook |
    Twitter |
    Linked in |
    Google+

  • Tough question for java beginning expert

    Hi, y'all,
    I couldn't compile "HelloWorld". I downloaded jdk1.3.1_01 and tried to compile "HelloWorld" in MS-DOS. However, the error is: "cannot read HelloWorld.java." I couldn't figure out what's wrong.
    Here's my source code:---------
    class HelloWorld{
    public static void main (String[ ] args) {
    System.out.println("What's wrong with you?");
    Here's my DOS command:--------
    Microsoft Windows 2000 [Version 5.00.2195]
    (C) Copyright 1985-2000 Microsoft Corp.
    C:\>cd java\
    C:\java>dir
    Volume in drive C has no label.
    Volume Serial Number is 07D1-0B0D
    Directory of C:\java
    11/23/2001 01:06p <DIR> .
    11/23/2001 01:06p <DIR> ..
    11/24/2001 01:37a 135 HelloWorld.java.txt
    1 File(s) 135 bytes
    2 Dir(s) 76,506,595,328 bytes free
    C:\java>javac HelloWorld.java
    error: cannot read: HelloWorld.java
    1 error
    C:\java>cd c:\
    C:\>jdk1.3.1_01\bin\javac HelloWorld.java
    error: cannot read: HelloWorld.java
    1 error
    C:\>
    Please Help me. Thanks.
    lee

    Yes, notepad has this "helpful" feature of adding ".txt" to the name of files whose extension is not registered. You'll need to register the "java"-file type if you don't want to get problems like this again.
    On the other hand, notepad is not a very text editor for programming in the first place, so I recommend getting a more adept one. Features that you should be looking for include sytax highlighting and bracket matching - they make it easier to spot stupid typos.

  • Question for the masses regarding hard of hearing

    All,
    I have a new employee who is partially deaf. This user requires a telephone on my CUCM/IPCC system to take calls for our servicedesk. Here is my challenge that I was hoping some of you might have already faced and solved and be able to give me some advice. The employee who is partially deaf has a hearing aid that has bluetooth capability. A headset is not an option as the hearing aid has feedback if it is covered up with a headset.
    Per some of my research - the only phones I have found that are offered from Cisco that support bluetooth are for the 500 series small business system and then the 7925 series wireless phones. Both are not options for me here. Are any of you aware of headset devices that have bluetooth capability that would work with a Cisco 794X phone and that would pair with a bluetooth hearing aid?
    I welcome any insight or input you might have.
    Thanks.

    Hi,
    The Cisco 9951 and 9971 IP phones support Bluetooth for headset connections and so may be an option if you are running a version of CUCM that supports them.
    http://www.cisco.com/en/US/prod/collateral/voicesw/ps6788/phones/ps10453/ps10513/data_sheet_c78-565680.html

  • Question for Joyce Peng regarding no homefolder

    In your Sept. 02 posting, you said
    "when users are created, it is possible to create them without a home folder. If the default value you list is set to false, then by default newly created users will not have home folders. Our clients and protocols are supposed to handle the situation of a user logging in, and that user is not having a home folder."
    I use ifs web interface. The viewer.jsp source code shows exception handling block, within which the NoHomeFolderException and other general exceptions are caught. (catch(NoHomeFolderException e) and catch(exception e)).
    Therefore, if a user without a homefolder loggin the webui, the exception will be caught. So I think there is only one way to avoid this, that is, when the nohomefolderexception is caught, just do nothing, and continue the process. Is it possible? Then how to do it?
    Thanks.

    Being researched...

  • EWA for Java /Portal

    Hi
    I have several instances PI /XI ,ECC ...
    I have configured the ABAP System in Solution Manager but I want to know to configure tha java side & portal in Solution Manager because for the ABAP System we have to create RFC connection in solution manager and the satellite systems
    How configure Early Watch for Java?
    Regards
    B VA

    You can use SAP Note 976054.

  • How can I read cookies in WebDynPro for Java

    Hi,
    in WebDynPro for Java I found a possibility to to get a "request-object" like the standard "HttpServletRequest-object"
    IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
    IWDRequest request = protocolAdapter.getRequestObject();
    debugEnabled = (request.getParameter("Debug") != null);
    With this request-object I can read request-prameters but I couldn't find a possibility to get cookies from the request.
    There is no method like the "getCookies().method" in the HTTPServletRequest-Interface:-((
    Has anybody an idea, how I can read cookies in WebDynPro for Java ?
    Regards
    Steffen

    Hi,
      This is the latest update I could look for regarding cookies and webdynpro.
    Panic - WebContextAdapter is depracted - no more cookies now?
    Regards,
    Harini S

  • Problems between Xcelsius and WebDynpro for Java

    How should I do to show Xcelsius in WebDynpro for Java?
    How should I transport data between Xcelsius and WebDynpro?
    How should I control WebDynpro with Xcelsius?For example,firing plugs in Xcelsius like in WebDynpro to change one view to another.
    How should I do to execute a Java method in Xcelsius?For example,scheduling a job on clicking a button in Xcelsius.
    Besides these,I also want to know the same problems between other BOE contents and WebDynpro for Java.
    Regards,
    Abe

    Hi Pradeep:
    Well that purely depends on the business application (project) your client is proposing. Following are very few factors which will drive for creating web-based applications:
    VC: it's a UI modeling tool (non-programming) for creating rapid creation of web-based applications.
    WD: its a powered by Java and ABAP with which you can create robust business applications.
    If your client is very choosy about rapid application development, reporting, rich user interface, to reduce TCO then VC is the choice. Or if the project contains typical integration with SAP and non-SAP systems, complex business logic development, integration with WCM systems...etc then WDJ is the option.
    If you’ve some sort of custom development with facilitating the Development Infrastructure (NWDI) then WDJ is the only option I could say.
    We hope with NW CE 7.1.1(referred by Priyanka Singh) tighter integration between these TWO tools may over come the ambiguity of using them.
    Tnx,
    MS

  • Dynamic destinations for adaptive web service in webdynpro for java

    Hi,
    Please advice me on how to create dynamic destination for adaptive web service model in webdynpro for java.
    Regards,
    Patana

    Hi,
    If this is the case, then use the HTTP destination for this.
    What you need to do is:
    1. Create one HTTP destination in visual administrator at services-> Destinations. Provide HTTP url of the your web service and the security options.
    2. Specify this HTTP destination in the code before executing web service model.
    Write following code for that:
    wdContext.current<node name>Element().modelobject()._setHTTPDestination(<Specify HTTP destination name>);
    Then execute your web service model.
    Now, whenever you want to change the server on which your web service is running, make change in the HTTP Destination in visual administrator.
    Refer this link,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7
    Regards,
    Sunaina Reddy T

  • Beginner Question

    Hello all, hopefully I have posted this to the correct LiveCycle board!
    I'm new to Acrobat and LiveCycle in general. I'm working out of windows LiveCycle Designer 8.x  and my question is as follows....
    I'm working off of the "Quote" Form Template and what I am looking for is a way to make the rows of the Table expand as needed.  I will be converting this Template into a "Purchase Order" form, and there will be many occassions where I will need to increase the table rows - perhaps onto a second or even third page - due to the volume of different items I will be seeking prices on at a given time.
    Long story short I would like to take this "QUOTE" form template and make it such that if needed, I can expand the table size one row at a time, pushing the content beneath (Comments, subtotal, etc) onto the next page....
    Hoping I have explained my query well enough,  Could anyone provide me a solution or point me in the correct direction?
    Many thanks!

    As a followup, so as not to clog the board with numerous threads I have another beginner question
    For the sake of hypotheticals I am creating a dynamic PDF form.  This pdf is a Purchase Order Form, with a table in the Body that will expand/contract as the form user needs.  (EXA-  Default table size is 5 items, however user is creating an order for 12 items, he/she can increase the table rows to desired capactiy.) It will be a very simple layout. All data for the form will come from manual entry, no XML data binding going on.
    My new question is as follows:    Is there a way I can have this user's Adobe reader or Adobe acrobat software remember previous data entries, so that if 4 weeks after ordering widget X he/she needs to place another order for widget X, the software will autofill the table as he/she types into the table cell?
    This would be similar to how Excel will start to autofill if it recognizes a previously entered value from some other cell in the worksheet (workbook?)
    EXA-
    [NAME]   [MODEL]   [QTY]   [PRICE]
    Widget           A            433        $30.00
    Would it be possible for the software to notice that I'm typing the word "widget" somewhere after typing "wid" ???
    Many thanks for any and all followups, I'm a teenager trying to help out in my father's small business. They are in the darkages here and I'm doing my best to self teach.
    Thanks.

  • Printing from SAP GUI for JAVA on linux

    Hi All,
    What are the settings to be made in SPAD for printing from sapgui for java on linux ?
    We are using SAP GUI for JAVA 700 .
    Regards,
    Vinod

    Hi,
    configure printer in SPAD  , no setting for JAVA GUI
    check note
    605467:SAPscript/Smart Forms: Print preview in SAP GUI for Java
    634158      SAPscript/Smart Forms: Print preview in SAP GUI for Java (2)
    1024624 SAPscript/Smart Forms: Print preview in SAP GUI for Java (3)       
    regards,
    kaushal
    regards,
    kaushal

  • EP,ESS/MSS  and webdynpro for java interview questions.

    I am an ep and ESS?MSS consultant and work on webdynpro for java.I have also worked on PDK like customization of masthead and logon page.I would like to know how to prepare for an interview? I mean what should I read ? and what topics should I cover?

    HI Anzar
    Instead of posting this here, you could have googled it. There are no. of sites for the same thing.
    Since you wrote, so just curious... EP & ESS/MSS Consultant... what does that mean?
    If I am not taking it wrong, by that sentence you are trying to tell that you have worked on ESS / MSS modeule. Right?
    See, if you are an EP Consultant, you must know all the below atleast -
    1. PORTAL SIDE
    a. Different types of iView configuration
    b. User Management
    c. Internal / External Portal Configuration
    d. Content development
    e. UWL
    f. Portal bottlenecks (I mean portal related issues, like slow responding etc.)
    g. Display & Desktop Configuration
    h. System Landscape Directory
    i. NWDI
    2. WEB DYNPRO SIDE
    a. Calling iviews from wd applications
    b. RFC/ BAPI calls
    c. JCO Connections
    d. SC/DC Concept
    e. Import/Export Parameters
    f. Scenario Based Answering (like... if your imported BAPI import parameters are changed by BASIS, what will you do to make it work for you.... etc)
    g. Singleton/Non-Singleton nodes
    h. Controllers
    i. Interfaces
    j. Multi-lingual Applications
    k. EJBs
    l. PDK applications
    This is the basic list, it can contain many more items... This is the list which I faced for my interview. As an EP consultant, you must be good in both Portal as well as WD end.
    1 more thing, every interview is different from other, so no point in just mugging them out. Go through with there concepts. That way, you can answer twisted & scenario based questions.
    Hope this will help.
    Best Regards
    Chander Kararia
    if question solved, close the thread after marking it answered.
    Best Regards
    Chander Kararia

Maybe you are looking for

  • Error while Device Installation creation in Emigall

    Hi Utility Gurus, When creating full installation through EG31, i am able to create Installation successfully. But while creating Full Device installation through Emigall (object INST_MGMT) I am getting error 'Enter Rate Type'. I am entering the corr

  • 3.5 Web report. Save Selection screen and navigation state??

    Hi, When we use BEx Analyzer, using excel, we have these two features: 1. If query have selection screen, we can save variants, as in SAP R/3. 2. If in the query results we perform drilldown, filters, and so on, we can save this as a new workbook. No

  • Problems with Cluster Ready Service installation (RAC) in Oracle 10g R1

    Hello I have got problems with this installation. I am starting Oracle user At the end of the installation I get a mesage when all Configuration Assistants are failed I have got 2 computers with Windows 2000 PRO, two networks (private and public) As

  • Dynamic LOV with two static entries

    I need an additional static entry in a List of Values field. As my first static entry I use the Null condition. Or maybe somebody has a different idea how to accomplish the following: I want to be able to select all the entries of a table with a cert

  • Cannot restore mac from start CD

    Hi thanks for reading. I have a black macbook from 2008/09 I'm trying to restore it completely- erase and reinstall mac os x, using the start CD but I cannot get the computer to boot from the CD. I have tried holding the C, Command, Command and Alt k