Urgent help request: User input in empty table

I am trying to find some idea how does one code so that user can input rows or delete rows in am empty JTable. I would appreciate if any article, example or suggestion on this is extended. Thanks in advance.

Sun's java tutorial has some examples.
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html

Similar Messages

  • Request user input message format

    When using the request user input function it sends an e-mail that is very hard to read for end user and I not able to see which e-mail template that is being used so I can change the format.

    Hi,
    Please create Notification Templates in System Center Service Manager by following the link below:
    Creating Notification Templates in System Center Service Manager
    http://blogs.technet.com/b/servicemanager/archive/2009/09/28/creating-notification-templates-in-system-center-service-manager.aspx
    And also check the article below to know more details about how to create requesting input from user:
    Requesting Input from User About an Incident
    http://blogs.technet.com/b/servicemanager/archive/2009/12/13/requesting-input-from-user-about-an-incident.aspx
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Help requested - JTable input data

    Hi,
    I need to build an empty JTable and then have the user interactively fill the rows of the table. Now, I know how to build a static table with row values in the code. However, I have no clue how to get a empty table filled by user input. Any example, help or suggestion is highly appreciated. Thanks.

    That would work, but it might be more complicated than necessary. If you look in the DefaultTableModel class you'll find methods to insert and remove rows. Once you have the data, you can insert it usingDefaultTableModel model = yourTable.getModel();
    model.addRow(data);http://java.sun.com/j2se/1.4/docs/api/javax/swing/table/DefaultTableModel.html

  • Urgent help requested- MSS

    Hello people,
    consider the following scenario
    work flow is getting triggered to the Line manager (chief) and so on to next agents
    How can we make use of substitution in following scenarios
    scenario1- planned leave by Line manager (I think this can be done using substitution in MSS)
    Scenario 2- Unplanned leave by Line manager
    scenario 3- position of Line manager is vacant
    The workflow i am using is not a standard woprkflow.
    The above scenarios are applicable in case of leave approval and trip request approval.
    Urgent help appreciated.
    Thx

    Forgive if the terms are not excact - my system is not in English.
    For scenario 1: Use substitution rule "receives my tasks" when setting up substitutions in the uWL
    For scenario 2: All managers should have a substitution rule "is my substitute".  Then the substitute can go into the substitution rule and take over the tasks.  This can then be discontinued when manager is back
    For scenario 3: Switch WFLOW VAPOS = X  determines the behaviour when manager position is empty. .  For some reason the switch is not there in standard - but we set it just for this scenario. The Workflow then checks up the hierachy and finds the next manager.
    /Kirsten

  • Urgent help request

    need urgent help with Lightroom
    can a person from support department help me please?

    This is user-to-user forum.
    We can try to help you here, or you can contact Adobe Customer Care here:
    Contact Customer Care

  • Urgent Help requested-Wrong Price-Wrong quantity delivered-Critical in Proj

    Hi
    I have couple of scenarios
    1.  Wrong price is invoiced to customer
    2.  Wrong quantity is being supplied to the customer
    3.  Wrong product being delivered to the customer
    How to create the Credit / Memo in standard sales and Intercompany Sales scenarios.
    Requesting your inputs as I am stuck
    Thanks and points will be rewarded
    Suddu

    start cancelling the documents right from the invoice-delivery
    invoice reversal/cancelling-VF26
    delivery -VASK
    instead of doing all these  go for creation of credit memo/ debit memo using the transaction va01
    document type-CR/DR
    KIRAN

  • Help- Intermec-IBrowser - input bind to table

    Dear all,
       My application will capture all the scanned value n store inside a table ( which is tie to a context node ),how shd i assign those values into it? i understand tat for single input,i can do like followings..wat if the scanned value is to input into a table? please advice. thank you.
    public static void wdDoModifyView(IPrivateMLTMAppView wdThis, IPrivateMLTMAppView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
         if (firstTime) {
                          IWDBarCodeReader barCodeReader = (IWDBarCodeReader)view.getElement("BarCodeReader");
                barCodeReader.mappingOfOnRead().addSourceMapping("data","scanData");
    //scanData is the scanned value
      public void onActionScan(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String scanData )
        //@@begin onActionScan(ServerEvent)
        if(wdThis.wdGetContext().currentContextElement().getData() ==null){
              wdThis.wdGetContext().currentContextElement().setData(scanData);
        //@@end

    hie,the code is syntax error free,but i havent get to try on the handheld yet
    was wondering where shd i write the code to display out the contents in the table? here's my code :
    IPrivateWithInvNum.ITableElement element = null;
         element = wdContext.createTableElement();
         if (ScanData.startsWith("M")){
         element.setMatno(ScanData);
         }else if (ScanData.startsWith("B")){
        element.setStrbin(ScanData);
        }else if (ScanData.startsWith("Q")){
        element.setQty(ScanData);
        }else if (ScanData.startsWith("U")){
        element.setUom(ScanData);
        list.add(element);
        wdContext.nodeTable().bind(list);

  • Urgent Help in User-Exit for MM!

    Hi,
    1.  I am writing code in the Exit "EXIT_SAPLMGMU_001".
    2.  I have to pop-up error/warning messages for incorrect data entered in various fields/screens/views of MM01/MM02 transaction.
    3.  The Exit gets triggered when i press "SAVE" after modification.
    4.  When I create the Classification View, i enter the class type as "001" for material class.
    5.  Then i need to enter a value "Z_Product" in the class column(on the screen in classification view). This class is the "Product Class" (description).
          My problem is to find this value that i enter on screen before "Save" i.e. when i am creating material for the first time in MM01, i dont want the error message to pop-up if i am entering any value in the class column and  also entering values in the internal characteristics for that class.
          Basically i want to read the values (before "SAVe") entered in the class column as well as want to know the values for the internal characteristics of the class.
          For Class, the std. field is "RMCLF-Class" , but i have no buffer field available in my exit that contains the value for the Class. I have also tried using "Get parameter ID", but it doesnt work.
          For Internal Characteristic values (of the class) that are entered in the tab(that appears on pressing "Enter" after filling the Class value) below the Class tab, i am fetching data from std. table AUSP to check for corresponding entries for that particular material number....but this table will get updated only after "SAVE" and so i would be able to read the values only in MM02.
    Please help me in finding out a way for reading the class values & Characteristic values in my user-exit.
    Thanks & Regards,
    Tejas

    Hi Ronak.
    You can try with <b>'EXIT_SAPLCLFM_002'  (CLFM0002)</b>. This is the exit for the classification view. You can get this for the transaction CL22N / CL24N.
    This is also called in MM01 for classification values. This classification details are cross application components. So This is also called from other transaction.
    Regards
    Rusidar.

  • Requesting user input from UNIX command window

    New to this forum, and relatively new to Java......question for you......
    Currently, I am able to request a .txt file from a user in my unix command window by having them type in the following command:
    java Game (nameOfTextFile).txt
    with the following code:
    public class Game {
    public static void main(String[ ] args) {
    try{
    reader = args[0];
    catch(Exception g){
    System.out.println(g);
    where 'reader' holds the .txt file.
    What I would like to do is as soon as the user types in the command:
    java Game
    it gives them the line:
    "Please type the file to be input"
    and at this point they type in:
    (nameOfTextFile).txt
    and then I can start working with the text file.
    Any ideas?
    Thanks

    public class Game {
    public static void main(String[ ] args) {
    try{
    reader = args[0];
    catch(Exception g){
    System.out.println(g);
    }This class will not compile. The variable 'reader' is not declared anywhere.
    You could create a shell program. When the user enters the name of the shell program at the command prompt, it gives them the prompt to enter the file to be input. And then from within the shell program you call the java program with the name of the file.

  • Needed urgent help for user creation in security manager in ODI 11g

    Hi Gurus,
    I have an urgent requirement in ODI security manager and i am completely helpless. We need specific steps for the user creation with sufficient priviledges. The detailed requirements are:
    1. There is a group of users under the framework team and these users should be able to edit the Knowledge modules only. All other objects (e.g. projects, interface, procedures or development related objects) should only be in read only mode for them.
    2. There is a group of users under the development team. The priviledges of these users should be mutually exclusive to that of the framework team users. i.e. the development team should be able to edit or delete all development related objects (e.g. projects, interface, proc etc.) but the knowledge modules should only be in read only mode for them.
    Now I will explain what i have tried out:
    I am working on ODI 11.1.1.5.
    I have created a user with NG DESIGNER and CONNECT profile. Dragged and dropped all the projects on the user and selected all methods in all repositories (check sign). However when i connect with that user i cannot open the KMs (as far as development team is concerned its fine) but i can also not open interfaces as well as procedures (which is not acceptable from development point of view).
    Also when i tried creating a user from the framework team point of view i could not see any option related to KMs (To give edit priviledge).
    Please help me out guys. I have also searched oracle documentation and believe me the security manager section is not very good. If you guys can help me out with specific steps it would be great (I have tried the hints given in oracle documentation and they dont work, the ODI security manager behaves strangely :-(
    Thanks in advance,
    SB

    Similar requirement here guys. Any pointers. I was able to achieve this by restricting development user from supervisor access. In that case the development user can not edit the interfaces. Any known defefct?

  • URGENT HELP Required: Solution to avoid Full table scan for a PL/SQL query

    Hi Everyone,
    When I checked the EXPLAIN PLAN for the below SQL query, I saw that Full table scans is going on both the tables TABLE_A and TABLE_B
    UPDATE TABLE_A a
    SET a.current_commit_date =
    (SELECT MAX (b.loading_date)
    FROM TABLE_B b
    WHERE a.sales_order_id = b.sales_order_id
    AND a.sales_order_line_id = b.sales_order_line_id
    AND b.confirmed_qty > 0
    AND b.data_flag IS NULL
    OR b.schedule_line_delivery_date >= '23 NOV 2008')
    Though the TABLE_A is a small table having nearly 1 lakh records, the TABLE_B is a huge table, having nearly 2 and a half crore records.
    I created an Index on the TABLE_B having all its fields used in the WHERE clause. But, still the explain plan is showing FULL TABLE SCAN only.
    When I run the query, it is taking long long time to execute (more than 1 day) and each time I have to kill the session.
    Please please help me in optimizing this.
    Thanks,
    Sudhindra

    Check the instruction again, you're leaving out information we need in order to help you, like optimizer information.
    - Post your exact database version, that is: the result of select * from v$version;
    - Don't use TOAD's execution plan, but use
    SQL> explain plan for <your_query>;
    SQL> select * from table(dbms_xplan.display);(You can execute that in TOAD as well).
    Don't forget you need to use the {noformat}{noformat} tag in order to post formatted code/output/execution plans etc.
    It's also explained in the instruction.
    When was the last time statistics were gathered for table_a and table_b?
    You can find out by issuing the following query:select table_name
    , last_analyzed
    , num_rows
    from user_tables
    where table_name in ('TABLE_A', 'TABLE_B');
    Can you also post the results of these counts;select count(*)
    from table_b
    where confirmed_qty > 0;
    select count(*)
    from table_b
    where data_flag is null;
    select count(*)
    from table_b
    where schedule_line_delivery_date >= /* assuming you're using a date, and not a string*/ to_date('23 NOV 2008', 'dd mon yyyy');

  • Urgent Help Required for Check Box in Table Column

    Hi all,
    Could any body help me to solve my problem?
    First of all I have created a table whose one column is check box. The column of the tables are Name,Phone,ID,Address and a checkBox columns.In one view
    the table will be found with data. I want to click on some of the rows(suppose there are 5 rows, but based on some condition I have selected the check box of 3 rows).
    Next there will be a button(Supose SEND Button).
    After selecting the check box I want to press that button and then a new window will come which will show two tables. one for  selected rows(with the same columns name except check box) and another for Unchecked rows with the same column name(Name,Phone,ID,Address).
    Could any body help me by sending the details and code?
    Thanks and Regards.
    Sudip

    Hi Sudip,
    1) create custom controller and appropriate context structure there (dataNode(Name,Phone,ID,Address,Check))
    2) create view StartView. Map data node from custom controller to node in view. Create table and bind context node attributes to appropriate table columns.
    3) create view ResultView. Map data node from custom controller to node in view. Create 2 nodes (CheckedData, UncheckedData) with supply methods. Create filtering implementation in supply methods (add checked and unchecked node elements to appropriate nodes).
    4) create new window with resultView as default view
    4) in startView in button action handler put something like
         IWDWindowInfo _windowInfo = wdComponentAPI.getComponentInfo().findInWindows("Popup");
         IWDWindowManager manager = wdComponentAPI.getWindowManager();
         IWDWindow _window = manager.createWindow(_windowInfo, true);
         _window.open();        
    So, just tried localy and it works.
    Best regards, Maksim Rashchynski.

  • Urgent Help needed - Users not able to access webdynpro application in VPN

    Dear Team,
    I've deployed WD application in Portal. users who are in intranet are able to access but users who are accessing through VP, internet and ODC's are getting 404 error not found issue.
    Please help me.
    Best Regards,
    Prasad P.M.V

    Issue is with reverse proxy i was able to resolve

  • URGENT HELP REQUESTED: Menu Function has dissapeared.

    Everyone,
    Please help if you can, our AP Menu has lost the function AP_APXINVWKB
    and we are not sure what else. I cannot get from any of my Development team and changes nor have we applied any patches. Just last night the AP team reported not able to do invoices anylonger. In researching we see that the menu attached to the responsibility is missing it's submenus. In further troubleshooting we noticed that we cannot even add the submenus back because the function is missing.
    Any thoughts? We have rebooted, cleared cache, bounced services etc...
    This is happening in 2 of our 3 instances, which seems to point to either user error or a time based issue.
    Also, if you could please tell me if there are logs I can check to find out if we may have unintentionally deleted etc.. it would be much appreciated.
    Thanks,

    Though no one responded we did get a fix from Oracle Support that may help others:
    Run the FNDLOAD program.
    As a single string:
    FNDLOAD APPS/password 0 Y UPLOAD $FND_TOP/patch/115/import/afsload.lct $AP_TOP/patch/115/import/US/ap115fn.ldt
    This fixed the issue, however I am very keen on figuring out how this function could have just been deleted. Any ideas how to track this down?

  • Urgent- Help abt  User Exit MV45AFZZ

    very good morning to all the SAP Masters out there....
    I had already posted a thread regarding the same but didnt get helpful answers...
    Hope I will get some this time...
    It is Interesting actually...
    I need ur help for solving an issue...
    when Sales Order is Being created...the Purchase Requisition and Requisition item is generated in the Schedule Line of Sales order's Line Items
    If I am not worng we are able to make changes in MV45AFZZ program for SalesOrder..
    So My requirement is..
    When Sales order is being created the value of KDMAT field of VBAP table should also be saved in EBAN-BEDNR...the length for BEDNR is 10 so it'll b taken care to limit VBAP-KDMAT with in 10 Chars...
    help me to Carry XVBAP-KDMAT into EBAN-BEDNR for VA01 Transaction....
    Points Rewrded for Helpful answers

    Hi,
    Why don't you try the exit
    V45E0001
    where the description says "Update Purchase Order from Sales Order"
    Please find below the documentation for the exit
    Update Purchase Order from Sales Order
    With this customer exit the standard system behavior regarding updating order data from the sales order can be expanded or restricted.
    The module is called up when the sales order is changed, as long as the conditions for changing the order have been filled. It transfers the document number, the purchase requisition number and a table for the fields to be changed in the order (T_PURCHASE_DATA). This can be expanded or restricted in the existing Customizing.
    The rule is: To change a field with the name FIELDNAME, a subprogram (form routine) with the name POSITION_CHANGE_FIELDNAME must exist in the program SAPMM06E.
    OR..in MV45AFZZ in userexit_save_document we need to write the code to manually update the table EBAN field by using abap code like modify table or seeking a BAPI..consider this as the last resort pls.....
    Reward if it helps
    Regards
    Byju

Maybe you are looking for

  • Unable to update SharePoint List Programmatically in SharePoint Online - Anonymous Login

    We are unable to programmatically update SharePoint lists with Anonymous access in Office 365 - SharePoint Online site. That is, in a public facing SharePoint Online Site, we have a Contact Us Page and when submitted, we would like to store that item

  • Is It Possible to add the Actual Quicktime player to a page?

    Does anyone know if it is possible to add the actual quicktime player that you see on your desktop to a page? I want to add a Quicktime movie to a page and still end up with the whole controller not just the little control bar.

  • Intermittent clicking when recording guitar - not metronome

    I've recently upgraded to Snow Leopard and GB 09.  When I record my electric guitar, I'm hearing occasional clicking sounds which are also heard on the recording.  Not the metronome.  It's off.  I've lowered the input gain both in preferences and the

  • Toplink essentials overwhelming bug(s)

    Hello. I'm working on EJB3 project running on Glassfish application server that uses Toplink Essentials as persistance engine. In the project there is User entity and some entities inherited from User such as Operator, Vendor, Client, etc... And ther

  • Change The supplier of purchase order

    Hi,     There is a requirement in which purchase order has been assigned to the incorrect supplier(Vendor),This needs to be changed to the correct supplier. Please suggest ways to achieve this. Appreciate your inputs. Thanks Rakesh.