Cant see methods of the class

Hello,
I am using NetBeans IDE for development. Problem is that, I cant see the methods of the class. I have imported the required class, I have created its reference as public and static. and I have created its object inside the constructor.
Now, when I type '.' [dot] in front of object created, netBeans displays the list of available methods. But it doesnt show all the methods. What might be the problem? If anything unclear to you, please ask me.
Thanks and regards.

Thanks! Following is the sample code snippet. This class is compiled successfully and also its getting executed very well. I am using this code in my project.
import javax.swing.tree.*;
import javax.swing.*;
import java.io.*;
public class MyTree {
    public static DefaultTreeModel model;
    public static JTree myTree;
    public MyTree() {
        DefaultMutableTreeNode root = new DefaultMutableTreeNode("ROOT");
        model = new DefaultTreeModel(root);
        model.setAsksAllowsChildren(true);
        myTree = new JTree(model);
        myTree.setShowsRootHandles(false);
        JScrollPane jScrollPane3 = new JScrollPane(myTree);       
}1) model.setAsksAllowsChildren(true);
No compile time error, No rutime error/exception. But when I type '.' [dot] in front of model, I cant see this method in the list displayed.
2) myTree.setShowsRootHandles(false);
Same case with this also.
i.e. I am using both setAsksAllowsChildren() and setShowsRootHandles() methods, but I cant see them in the dropDownList displayed by typing '.' after corresponding objects i.e model and myTree respectievly.
hope this will clear the problem.

Similar Messages

  • HT1331 cant see disks in the airport extreme setup

    cant see disks in the airport extreme "partions" to set up, tried different disks, cables, restart, etc, bottom line the extreme does not see any attached external hard drives, any ideas?
    Cheers
    Michael

    Checklist:
    1)  The drive must be formatted in Mac OS Extended (Journaled). Unless the documentation with your drive specifically states this fact, the drive is very likely pre-formatted for Windows, which will not work on the AirPort Extreme. Use Disk Utility on your Mac to reformat the drive.
    2)  Even if the drive is formatted correctly, the USB port on the Extreme is underpowered....so it is often necessary to use a powered USB hub with the Extreme.....even if your hard drive has its own power supply.
    3)  The hard drive will not "show up" on the desktop the way that drive that is connected directly to the Mac will do. You must click on the AirPort Extreme icon under the SHARED heading in the Finder, then double click the folder representing the drive to mount it on the desktop.

  • How to find the arguments of a static method from the class file

    Hi,all !
    How to find the arguments of a static method from the class file? for example, when we meet a bytecode "invokestatic", how can I know the arguments of this static method?

    Hi,all !
    How to find the arguments of a static method from the
    class file? for example, when we meet a bytecode
    "invokestatic", how can I know the arguments of this
    static method?You mean
    1. The values?
    2. Argument names?
    3. Argument signatures.
    I would suppose for the last that the easiest way would be to parse the signature string.
    The first is not possible - not from the class file.
    The second is only in the debug information stored in the optional part of the class file. And figuring out the format for that is going to be a problem.

  • How do you purchase a ringtone? i have enabled 'ringtones' in the 'general' section of itunes preferences and i am connected to the internet but i just cant see where in the itunes store to click once i am at the song i want to turn into a ringtone. help!

    how do you purchase a ringtone? i have enabled 'ringtones' in the 'general' section of itunes preferences and i am connected to the internet but i just cant see where in the itunes store to click once i am at the song i want to turn into a ringtone. help!

    You don't
    You have to create a ringtones.  Google will find several ways to do this.
    I use Garageband.
    How to create custom ringtones in GarageBand 4.1.1
    You can also use itunes:
    Make free iPhone ringtones in iTunes 10

  • I cant see myself on the screen during video calls...

    I cant see myself on the screen during video calls on Windows. What I have to do?

    When you are on a video call, you may see a very small picture-in-picture window (thumbnail size). This is the picture of yourself. Click on it and it will be enlarged.

  • How do I go about adding my own method to the class Calendar?

    I want to add a method to the class Calendar that will parse a string and set it's date and time with what it parsed from the string. I allready have the parsing code written but I want to know how I can add this to the Calendar class.
    I thought I could extend the Calendar class with something like this...
    public abstract class myCalendar extends Calendar{
        public myCalendar() {
        public int parseDaytime(String givenLine){
            int flag = 1; //used to report errors
         //do some parsing
            return flag;
    }But then in my main program I cannot use any of the Calendar methods...
                myCalendar timeFromServer;
             timeFromServer = timeFromServer.getInstance(); //error, it won't let me use the Calendar methods
                if(timeFromServer.parseDaytime(readFromServer) == 0){
                    System.out.println("Error parsing time data from server.");
                }

    Aside from my original question, I do not understand why extending Java classes is over kill. You listed the example of extending Thread as a big one. Everytime I create a worker Thread the class I create extends Threads because thats what I learned from every example I have looked at.
    Okay. I should be good at writing this by now, so here goes....
    You only get to inherit from a superclass once. You can implement as many interfaces as desired. As such, whenever you inherit from a class, you are limiting any other possible inheritance from another superclass. So, all things being equal, you should prefer interfaces to inheritance.
    This is why java.lang.Runnable exists. There is almost never a reason to extend Thread. The normal 'is a' test is somewhat misleading in this case when determining whether to extend Thread or not. You may say, "My class is threaded, so I should extend Thread." However, while there exists an 'is a' relationship here, it is not salient. Your class undoubtedly is something else as well. The fact that it is threaded should be thought of as an aspect of feature of your class.
    So, in general, you should implement Runnable and not extend Thread.
    public class Foo implements Runnable {
       final public void run() {
           // cool asynchronous code goes here
    public class FooUser {
       private void someMethod() {
           Thread thread = new Thread(new Foo());
           thread.start();
    }- Saish

  • Where can we find the methods of the classes in OLE Interface

    Hi All,
    I am developing the code to download the file into multiple sheets of excel file.
    got many links and sample codes from this forum.
    but my doubt is where can we find the methods in applications.
    Example:
    add, cells, range etc are the methods in the object excel.application.
    I want to find all other methods in this same object.
    Please help me.
    thanks in adv.
    Eswar

    HE,
    see this demo program which is in DWDM
    *& Report  DEMOEXCELINTEGRATION                                        *
    INCLUDE rdemoexcelintegrationtop.
    DATA: control TYPE REF TO i_oi_ole_container_control.
    DATA: container TYPE REF TO cl_gui_custom_container.
    DATA: link_server TYPE REF TO i_oi_link_server.
    DATA: table_coll TYPE REF TO i_oi_table_collection.
    DATA: retcode TYPE t_oi_ret_string,
          document_type TYPE soi_document_type
                                           VALUE soi_doctype_excel_chart,
          document_format TYPE soi_document_type.
    DATA: doc_url TYPE t_url.
    DATA: usa_sales TYPE i VALUE 1000,
          europe_sales TYPE i VALUE 2000,
          japan_sales TYPE i VALUE 1000,
          asia_sales TYPE i VALUE 100,
          america_sales TYPE i VALUE 100,
          africa_sales TYPE i VALUE 100.
    DATA: total_sales TYPE i VALUE 0.
    DATA: BEGIN OF test_line, region(50), sales TYPE i, END OF test_line.
    DATA: test_table LIKE TABLE OF test_line.
    DATA: wa_test_table LIKE test_line.
          CLASS c_excel_document DEFINITION
    CLASS c_excel_document DEFINITION.
      PUBLIC SECTION.
        DATA: proxy TYPE REF TO i_oi_document_proxy.
        DATA: document_type TYPE soi_document_type.
        DATA: data_table TYPE sbdst_content,
              data_size TYPE i,
              doc_url TYPE t_url.
        METHODS: constructor
                  IMPORTING control TYPE REF TO i_oi_ole_container_control
                            document_type TYPE soi_document_type.
        METHODS: on_close_document
                  FOR EVENT on_close_document OF i_oi_document_proxy
                  IMPORTING document_proxy has_changed.
        METHODS: on_custom_event
                  FOR EVENT on_custom_event OF i_oi_document_proxy
                  IMPORTING document_proxy event_name param_count
                            param1 param2 param3.
        METHODS: create_document
                      IMPORTING open_inplace  TYPE c DEFAULT ' '
                      EXPORTING retcode TYPE t_oi_ret_string.
        METHODS: open_document
                      IMPORTING open_inplace  TYPE c DEFAULT ' '
                                open_readonly TYPE c DEFAULT ' '
                      EXPORTING retcode TYPE t_oi_ret_string.
        METHODS: open_document_url
                      IMPORTING open_inplace  TYPE c DEFAULT ' '
                                open_readonly TYPE c DEFAULT ' '
                                doc_url TYPE t_url DEFAULT ' '
                      EXPORTING retcode TYPE t_oi_ret_string.
        METHODS: retrieve_document
                     IMPORTING documents TYPE document_list
                     EXPORTING document_format TYPE soi_document_type
                               doc_url TYPE t_url.
        METHODS: close_document
                      IMPORTING do_save     TYPE c DEFAULT ' '
                      RETURNING value(retcode) TYPE t_oi_ret_string.
      PRIVATE SECTION.
        DATA: control  TYPE REF TO i_oi_ole_container_control.
    ENDCLASS.
    DATA: l_fcode LIKE fcode.
    DATA: document TYPE REF TO c_excel_document.
    DATA: bds_instance TYPE REF TO cl_bds_document_set.
    *&      Module  STATUS_0100  OUTPUT
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'MAIN0100'.
      SET TITLEBAR '001'.
      retcode = c_oi_errors=>ret_ok.
      IF control IS INITIAL.
        DATA: b_has_activex.
        CALL FUNCTION 'GUI_HAS_ACTIVEX'
             IMPORTING
                  return = b_has_activex.
        IF b_has_activex IS INITIAL. MESSAGE e007. ENDIF.
        CALL METHOD c_oi_ole_control_creator=>get_ole_container_control
                          IMPORTING control = control
                                    retcode = retcode.
        CALL METHOD c_oi_errors=>show_message
                                      EXPORTING type = 'E'.
        CREATE OBJECT container
                  EXPORTING container_name = 'CONTAINER'.
        CALL METHOD control->init_control
                            EXPORTING r3_application_name =
                                                  'Demo' "#EC NOTEXT
                                      inplace_enabled = 'X'
                                      inplace_scroll_documents = 'X'
                                      parent = container
                                      register_on_close_event = 'X'
                                      register_on_custom_event = 'X'
                            IMPORTING retcode = retcode.
        CALL METHOD c_oi_errors=>show_message
                                      EXPORTING type = 'E'.
        CALL METHOD control->get_link_server
                           IMPORTING link_server = link_server
                                     retcode = retcode.
        CALL METHOD c_oi_errors=>show_message
                                      EXPORTING type = 'E'.
        CALL METHOD link_server->start_link_server
                          IMPORTING retcode = retcode.
        CALL METHOD c_oi_errors=>show_message
                                      EXPORTING type = 'E'.
        CALL METHOD control->get_table_collection
                        IMPORTING table_collection = table_coll
                                  retcode = retcode.
        PERFORM refresh_sales.
        CREATE OBJECT document
                  EXPORTING control = control
                            document_type = document_type.
        CALL METHOD table_coll->add_table
                        EXPORTING table_name = 'SALES_IN'
                                  table_type = table_coll->table_type_input
                        IMPORTING retcode = retcode
                        CHANGING  data_table = test_table.
      ENDIF.
      IF bds_instance IS INITIAL.
        CREATE OBJECT bds_instance.
      ENDIF.
    ENDMODULE.                             " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    MODULE user_command_0100 INPUT.
      l_fcode = fcode.
      CLEAR fcode.
      CALL METHOD cl_gui_cfw=>dispatch.
      CASE l_fcode.
        WHEN 'EXIT'.                       "Zurück
          IF NOT document IS INITIAL.
            CALL METHOD document->close_document.
            FREE document.
          ENDIF.
          IF NOT link_server IS INITIAL.
            CALL METHOD link_server->stop_link_server
                                           IMPORTING retcode = retcode.
            FREE link_server.
          ENDIF.
          IF NOT table_coll IS INITIAL.
            FREE table_coll.
          ENDIF.
          IF NOT control IS INITIAL.
            CALL METHOD control->destroy_control
                                                IMPORTING retcode = retcode.
            FREE control.
          ENDIF.
          IF NOT bds_instance IS INITIAL.
            FREE bds_instance.
          ENDIF.
          LEAVE TO SCREEN 0.
        WHEN 'CREATE'.
          IF NOT control IS INITIAL.
            document->data_size = 0.
            CLEAR document->data_table.
            CALL METHOD document->create_document.
            CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
          ENDIF.
        WHEN 'SELECT'.
          IF NOT control IS INITIAL.
            DATA: documents TYPE document_list.
            DATA: descr TYPE document_descr.
            CLEAR documents.
            descr-document_name = 'Car Sales Chart'(do1).
            descr-document_id = 'DEMOEXCELCHART1'.
            APPEND descr TO documents.
            descr-document_name = 'Car Sales Chart 2'(do3).
            descr-document_id = 'DEMOEXCELCHART2'.
            APPEND descr TO documents.
            descr-document_name = 'Car Sales Sheet'(do2).
            descr-document_id = 'DEMOEXCELSHEET1'.
            APPEND descr TO documents.
            CLEAR doc_url.
            CALL METHOD document->retrieve_document
                        EXPORTING documents = documents
                        IMPORTING document_format = document_format
                                  doc_url = doc_url.
            IF NOT doc_url IS INITIAL.
              CALL METHOD document->close_document.
              CALL METHOD document->open_document_url
                                EXPORTING open_inplace = 'X'
                                          doc_url = doc_url
                                IMPORTING retcode = retcode.
              CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
            ELSE.
              MESSAGE e010.
            ENDIF.
          ENDIF.
        WHEN 'OPEN'.
          IF document->data_size NE 0.
            IF NOT control IS INITIAL.
              CALL METHOD document->open_document
                                IMPORTING retcode = retcode.
              CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
            ENDIF.
          ELSE.
            MESSAGE e005.
          ENDIF.
        WHEN 'INPLACE'.
          IF document->data_size NE 0.
            IF NOT control IS INITIAL.
              CALL METHOD document->open_document
                                EXPORTING open_inplace = 'X'
                                          open_readonly = 'X'
                                IMPORTING retcode = retcode.
              CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
            ENDIF.
          ELSE.
            MESSAGE e005.
          ENDIF.
        WHEN 'SAVEAS'.
          IF NOT document IS INITIAL AND NOT document->proxy IS INITIAL.
            CALL METHOD document->proxy->save_as
                              EXPORTING prompt_user = 'X'
                              IMPORTING retcode = retcode.
            CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
          ELSE.
            MESSAGE e000.
          ENDIF.
        WHEN 'CLOSE'.
          IF NOT document IS INITIAL.
            CALL METHOD document->close_document
                          EXPORTING do_save = 'X'.
            CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
          ELSE.
            MESSAGE e000.
          ENDIF.
        WHEN 'COPYLINK'.
          IF NOT link_server IS INITIAL.
            PERFORM refresh_sales.
            CALL METHOD link_server->execute_copy_link_dialog
                     IMPORTING retcode = retcode.
            CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
          ELSE.
            MESSAGE e004.
          ENDIF.
        WHEN 'REFRESH'.
          IF NOT link_server IS INITIAL.
            PERFORM refresh_sales.
          ELSE.
            MESSAGE e004.
          ENDIF.
          IF NOT document IS INITIAL AND NOT document->proxy IS INITIAL.
            CALL METHOD document->proxy->execute_macro
                          EXPORTING macro_string = 'R3StartupMacro'
                                    param_count = 1
                                    param1 = 10
                          IMPORTING retcode = retcode.
                         CHANGING  retvalue = usa_sales.
            CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
          ELSE.
            MESSAGE e000.
          ENDIF.
        WHEN 'PRINT'.
          IF NOT document IS INITIAL AND NOT document->proxy IS INITIAL.
            CALL METHOD document->proxy->print_document
                           EXPORTING prompt_user = 'X'
                           IMPORTING retcode = retcode.
            CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.
          ELSE.
            MESSAGE e000.
          ENDIF.
      ENDCASE.
    ENDMODULE.                             " USER_COMMAND_0100  INPUT
    CLASS c_excel_document IMPLEMENTATION.
    CLASS c_excel_document IMPLEMENTATION.
      METHOD: constructor.
                 IMPORTING control TYPE REF TO i_oi_ole_container_control
                           document_type TYPE soi_document_type
        me->control = control.
        me->document_type = document_type.
      ENDMETHOD.
      METHOD create_document.
                    IMPORTING open_inplace  TYPE c DEFAULT ' '
                    RETURNING value(retcode) TYPE t_oi_ret_string.
        IF NOT proxy IS INITIAL.
          CALL METHOD me->close_document.
        ENDIF.
        CALL METHOD control->get_document_proxy
                 EXPORTING document_type = document_type
                 IMPORTING document_proxy = proxy
                           retcode = retcode.
        IF retcode NE c_oi_errors=>ret_ok.
          EXIT.
        ENDIF.
        CALL METHOD proxy->create_document
                            EXPORTING create_view_data = 'X'
                                      open_inplace = open_inplace
                            IMPORTING retcode = retcode.
        IF retcode NE c_oi_errors=>ret_ok.
          EXIT.
        ENDIF.
        SET HANDLER me->on_close_document FOR proxy.
        SET HANDLER me->on_custom_event FOR proxy.
      ENDMETHOD.
      METHOD open_document.
                    IMPORTING open_inplace  TYPE c DEFAULT ' '
                              open_readonly TYPE c DEFAULT ' '
                    RETURNING value(retcode) TYPE t_oi_ret_string.
        IF NOT proxy IS INITIAL.
          CALL METHOD me->close_document.
        ENDIF.
        CALL METHOD control->get_document_proxy
                 EXPORTING document_type = document_type
                 IMPORTING document_proxy = proxy
                           retcode = retcode.
        IF retcode NE c_oi_errors=>ret_ok.
          EXIT.
        ENDIF.
        CALL METHOD proxy->open_document_from_table
                               EXPORTING document_table = data_table
                                         document_size  = data_size
                                         open_inplace = open_inplace
                                         open_readonly = open_readonly
                               IMPORTING retcode = retcode.
        IF retcode NE c_oi_errors=>ret_ok.
          EXIT.
        ENDIF.
        SET HANDLER me->on_close_document FOR proxy.
        SET HANDLER me->on_custom_event FOR proxy.
        CALL METHOD proxy->update_document_links
                               EXPORTING update_manual_links = 'X'
                               IMPORTING retcode = retcode.
      ENDMETHOD.
      METHOD close_document.
                    IMPORTING do_save TYPE c DEFAULT ' '
                    RETURNING value(retcode) TYPE t_oi_ret_string.
        DATA: is_closed TYPE i, has_changed TYPE i.
        DATA: doc_url(256).
        IF NOT proxy IS INITIAL.
          CALL METHOD proxy->is_destroyed IMPORTING ret_value = is_closed.
          IF is_closed IS INITIAL.
            CALL METHOD proxy->close_document
                         EXPORTING do_save = do_save
                         IMPORTING has_changed = has_changed
                                   retcode = retcode.
            IF retcode NE c_oi_errors=>ret_ok.
              EXIT.
            ENDIF.
          ENDIF.
          IF NOT has_changed IS INITIAL.
            CALL METHOD proxy->save_document_to_table
                          IMPORTING retcode = retcode
                          CHANGING  document_table = data_table
                                    document_size = data_size.
            IF retcode NE c_oi_errors=>ret_ok.
              EXIT.
            ENDIF.
          ENDIF.
          CALL METHOD proxy->release_document
                                       IMPORTING retcode = retcode.
          SET HANDLER me->on_close_document FOR proxy ACTIVATION ' '.
          SET HANDLER me->on_custom_event FOR proxy ACTIVATION ' '.
        ELSE.
          retcode = c_oi_errors=>ret_document_not_open.
        ENDIF.
      ENDMETHOD.
      METHOD open_document_url.
                    IMPORTING open_inplace  TYPE c DEFAULT ' '
                              open_readonly TYPE c DEFAULT ' '
                              doc_url TYPE t_url DEFAULT ' '
                    RETURNING value(retcode) TYPE t_oi_ret_string.
        IF NOT proxy IS INITIAL.
          CALL METHOD me->close_document.
        ENDIF.
        CALL METHOD control->get_document_proxy
                 EXPORTING document_type = document_type
                 IMPORTING document_proxy = proxy
                           retcode = retcode.
        IF retcode NE c_oi_errors=>ret_ok.
          EXIT.
        ENDIF.
        me->doc_url = doc_url.
        CALL METHOD proxy->open_document
                               EXPORTING document_url = doc_url
                                         open_inplace = open_inplace
                                         open_readonly = open_readonly
                               IMPORTING retcode = retcode.
        IF retcode NE c_oi_errors=>ret_ok.
          EXIT.
        ENDIF.
      Document shall also be available in ITAB for respective operations:
        CALL METHOD proxy->save_document_to_table
                          IMPORTING retcode = retcode
                          CHANGING  document_table = data_table
                                    document_size = data_size.
        IF retcode NE c_oi_errors=>ret_ok.
          EXIT.
        ENDIF.
        SET HANDLER me->on_close_document FOR proxy.
        SET HANDLER me->on_custom_event FOR proxy.
        CALL METHOD proxy->update_document_links
                               EXPORTING update_manual_links = 'X'
                               IMPORTING retcode = retcode.
      ENDMETHOD.
      METHOD retrieve_document.
                 importing documents type document_list
                 exporting document_format type soi_document_format
                           doc_url type t_url.
    *----BDS-Data-Structures:--
    Tables and WAs:
        DATA: doc_signature TYPE sbdst_signature,
              wa_doc_signature LIKE LINE OF doc_signature,
              doc_components TYPE sbdst_components,
              wa_doc_components LIKE LINE OF doc_components,
              doc_properties TYPE sbdst_properties,
              wa_doc_properties LIKE LINE OF doc_properties,
              doc_uris TYPE sbdst_uri,
              wa_doc_uris LIKE LINE OF doc_uris.
    ID's:
        DATA: doc_classname TYPE sbdst_classname VALUE 'SOFFICEINTEGRATION',
              doc_classtype TYPE sbdst_classtype VALUE 'OT',
            doc_object_key TYPE sbdst_object_key VALUE 'SOFFICEINTEGRATION',
              doc_mimetype TYPE bapicompon-mimetype.
        DATA: field_desc TYPE TABLE OF rsvbfidesc.
        DATA: wa_field_desc TYPE rsvbfidesc.
        DATA: l_nr LIKE sy-tabix.
        CLEAR: field_desc, wa_field_desc.
        wa_field_desc-fieldnum = 1.
        wa_field_desc-display = 'X'.
        APPEND wa_field_desc TO field_desc.
        l_nr = 0.
        CALL FUNCTION 'RS_VALUES_BOX'
             EXPORTING
                  left_upper_col = 5
                  left_upper_row = 5
                  pagesize       = 10
                  title          = 'Select document'(sdc)
             IMPORTING
                  linenumber     = l_nr
             TABLES
                  field_desc     = field_desc
                  value_tab      = documents
             EXCEPTIONS
                  OTHERS         = 1.
        IF sy-subrc EQ 0 AND l_nr NE 0.
          READ TABLE documents INDEX l_nr INTO descr.
          IF sy-subrc EQ 0.
            CLEAR: wa_doc_signature, wa_doc_components, wa_doc_uris.
            CLEAR: doc_signature, doc_components, doc_uris.
            wa_doc_signature-prop_name = 'DESCRIPTION'.
            wa_doc_signature-prop_value = descr-document_id.
            APPEND wa_doc_signature TO doc_signature.
            CALL METHOD bds_instance->get_info
                          EXPORTING classname = doc_classname
                                    classtype = doc_classtype
                                    object_key = doc_object_key
                          CHANGING components = doc_components
                                   signature = doc_signature
                          EXCEPTIONS nothing_found = 1
                                     error_kpro = 2
                                     internal_error = 3
                                     parameter_error = 4
                                     not_authorized = 5
                                     not_allowed = 6.
            IF sy-subrc NE 0 AND sy-subrc NE 1.
              MESSAGE e016.
            ENDIF.
            IF sy-subrc = 1.
              MESSAGE e017.
            ENDIF.
            CALL METHOD bds_instance->get_with_url
                               EXPORTING classname = doc_classname
                                         classtype = doc_classtype
                                         object_key = doc_object_key
                               CHANGING uris = doc_uris
                                        signature = doc_signature
                          EXCEPTIONS nothing_found = 1
                                     error_kpro = 2
                                     internal_error = 3
                                     parameter_error = 4
                                     not_authorized = 5
                                     not_allowed = 6.
            IF sy-subrc NE 0 AND sy-subrc NE 1.
              MESSAGE e016.
            ENDIF.
            IF sy-subrc = 1.
              MESSAGE e017.
            ENDIF.
            READ TABLE doc_components INTO wa_doc_components INDEX 1.
            READ TABLE doc_uris INTO wa_doc_uris INDEX 1.
            doc_mimetype = wa_doc_components-mimetype.
            doc_url = wa_doc_uris-uri.
            CASE doc_mimetype.
              WHEN 'application/x-rtf' OR 'text/rtf'.
                document_format = soi_docformat_rtf.
              WHEN 'application/x-oleobject'.
                document_format = soi_docformat_compound.
              WHEN 'text/plain'.
                document_format = soi_docformat_text.
              WHEN OTHERS.
                document_format = soi_docformat_native.
            ENDCASE.
          ENDIF.
        ENDIF.
      ENDMETHOD.
      METHOD on_close_document.
                 FOR EVENT on_close_document OF c_oi_ole_container_control
                 IMPORTING document_proxy has_changed.
        DATA: answer, do_save.
        IF has_changed EQ 1.
          CALL FUNCTION 'POPUP_TO_CONFIRM'
               EXPORTING
                    titlebar              = 'Office Integration Demo'(oid)
                    text_question         = 'Save Document?'(sav)
                    display_cancel_button = ' '
               IMPORTING
                    answer                = answer.
          IF answer EQ '1'.
            do_save = 'X'.
          ELSE.
            do_save = ' '.
          ENDIF.
          CALL METHOD me->close_document
                        EXPORTING do_save = do_save.
          CALL METHOD c_oi_errors=>show_message
                                      EXPORTING type = 'E'.
        ENDIF.
      ENDMETHOD.
      METHOD on_custom_event.
                 FOR EVENT on_custom_event OF i_oi_document_proxy
                 IMPORTING document_proxy event_name param_count
                           param1 param2 param3.
        IF event_name EQ 'ON_SERIES_CHANGE'.
          CALL METHOD table_coll->get_table
                        EXPORTING table_name = 'SALES_IN'
                        IMPORTING retcode = retcode
                        CHANGING  data_table = test_table.
          CALL METHOD c_oi_errors=>show_message
                                      EXPORTING type = 'E'.
          CLEAR wa_test_table.
          READ TABLE test_table INTO wa_test_table INDEX 1.
          usa_sales = wa_test_table-sales.
          CLEAR wa_test_table.
          READ TABLE test_table INTO wa_test_table INDEX 2.
          europe_sales = wa_test_table-sales.
          CLEAR wa_test_table.
          READ TABLE test_table INTO wa_test_table INDEX 3.
          japan_sales = wa_test_table-sales.
          CLEAR wa_test_table.
          READ TABLE test_table INTO wa_test_table INDEX 4.
          asia_sales = wa_test_table-sales.
          CLEAR wa_test_table.
          READ TABLE test_table INTO wa_test_table INDEX 5.
          america_sales = wa_test_table-sales.
          CLEAR wa_test_table.
          READ TABLE test_table INTO wa_test_table INDEX 6.
          africa_sales = wa_test_table-sales.
          CLEAR wa_test_table.
        ENDIF.
        CALL METHOD control->set_focus.
      ENDMETHOD.
    ENDCLASS.
    FORM refresh_sales.
    FORM refresh_sales.
      DATA: BEGIN OF item_line,
                 region(60),
                 sales TYPE i,
                 date  TYPE d,
                 time  TYPE t,
                 weight TYPE f,
                 amount TYPE p DECIMALS 3,
                 id(10) TYPE n,
            END OF item_line.
      DATA: sales_table LIKE TABLE OF item_line.
      DATA: wa_sales_table LIKE item_line.
      DATA: fields_table TYPE TABLE OF rfc_fields.
      DATA: wa_fields_table TYPE rfc_fields.
      DATA: ind TYPE i.
      CALL FUNCTION 'DP_GET_FIELDS_FROM_TABLE'
           TABLES
                data   = sales_table
                fields = fields_table.
      READ TABLE fields_table INDEX 1 INTO wa_fields_table.
      wa_fields_table-fieldname = 'Region'."#EC NOTEXT
      MODIFY fields_table FROM wa_fields_table INDEX 1.
      CLEAR wa_fields_table.
      READ TABLE fields_table INDEX 2 INTO wa_fields_table.
      wa_fields_table-fieldname = 'Sales'. "#EC NOTEXT
      MODIFY fields_table FROM wa_fields_table INDEX 2.
      CLEAR: sales_table, wa_sales_table.
      wa_sales_table-region = 'USA'(usa).
      wa_sales_table-sales = usa_sales.
      APPEND wa_sales_table TO sales_table.
      CLEAR wa_sales_table.
      wa_sales_table-region = 'Europe'(eur).
      wa_sales_table-sales = europe_sales.
      APPEND wa_sales_table TO sales_table.
      CLEAR wa_sales_table.
      wa_sales_table-region = 'Japan'(jap).
      wa_sales_table-sales = japan_sales.
      APPEND wa_sales_table TO sales_table.
      CLEAR wa_sales_table.
      wa_sales_table-region = 'Asia'(asi).
      wa_sales_table-sales = asia_sales.
      APPEND wa_sales_table TO sales_table.
      CLEAR wa_sales_table.
      wa_sales_table-region = 'America'(ame).
      wa_sales_table-sales = america_sales.
      APPEND wa_sales_table TO sales_table.
      CLEAR wa_sales_table.
      wa_sales_table-region = 'Africa'(afr).
      wa_sales_table-sales = africa_sales.
      APPEND wa_sales_table TO sales_table.
      CLEAR wa_sales_table.
      LOOP AT sales_table INTO wa_sales_table.
        ind = sy-tabix.
        wa_sales_table-date = sy-datum + ind.
        wa_sales_table-time = sy-uzeit + ind.
        wa_sales_table-weight = 100000 * ind.
        wa_sales_table-amount = 11111 * ind.
        wa_sales_table-id = ind.
        MODIFY sales_table FROM wa_sales_table INDEX ind.
      ENDLOOP.
      CALL METHOD table_coll->add_table
                        EXPORTING table_name = 'SALES_OUT'
                                  table_type = table_coll->table_type_output
                        IMPORTING retcode = retcode
                        CHANGING  data_table = sales_table
                                  fields_table = fields_table.
      CALL METHOD link_server->add_table_item2
               EXPORTING item_name = 'Sales'    "#EC NOTEXT
                         item_title = 'Car Sales Figures'(sal)
               IMPORTING retcode = retcode
               CHANGING  data_table = sales_table
                         fields_table = fields_table.
      CALL METHOD link_server->add_string_item
               EXPORTING item_name   = 'ChartTitle'
                         item_title  = 'Chart Title'(ti0)
                         item_value  = 'Car Sales by Region'(ti1)
                         no_flush    = 'X'
               IMPORTING retcode = retcode.
      CALL METHOD link_server->add_string_item
               EXPORTING item_name   = 'ColumnTitle1'
                         item_title  = 'Column Title 1'(ti2)
                         item_value  = 'Region'(ti3)
                         no_flush    = 'X'
               IMPORTING retcode = retcode.
      CALL METHOD link_server->add_string_item
               EXPORTING item_name   = 'ColumnTitle2'
                         item_title  = 'Column Title 2'(ti4)
                         item_value  = 'Sold Cars'(ti5)
                         no_flush    = ' '
               IMPORTING retcode = retcode.
    ENDFORM.

  • Output in word file: Methods or the class name required

    Hi Gurus,
    I am trying to get output of the program in a word document directly without any Script or Report in between.
    Steps i follow are:
    Fetching the data
    Invoking word
    Writing the data into the word file created using methods like 'tablegridlines', 'insert' etc.
    When i get this data in the word file , in between every two lines i get one empty (extra) line.
    What can i do to remove that extra line in between. Everything has to be done in my own program using methods.
    Is there any method to delete the line comming between two lines i have created.
    Is there any method to convert the layout of the word file created to "Landscape".
    I would appreciate if somebody could tell me the class which has the methods like 'tablegridlines'
    'insert' 'viewheaderfooter' etc which are used for word output in this case.
    The object that i have created is of the type ole2_object.
    Helpful answers would certainly be rewarded.
    Thanks
    Suruchi
    Edited by: Suruchi Mahajan on May 14, 2008 6:04 AM

    Hi All,
    For the possible methods ,search in table OLELOAD.
    Regards
    Suruchi

  • Cant see messages in the External Definitions

    I'm imporing following wsdl into XI. However I cant see messages and seems to be there is some error in wsdl. Would someone help me please?..
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:services.soap.a2z.com" xmlns:intf="urn:services.soap.a2z.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:services.soap.a2z.com">
         <wsdl:types>
              <schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
                   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
                   <complexType name="mapItem">
                        <sequence>
                             <element name="key" nillable="true" type="xsd:string"/>
                             <element name="value" nillable="true" type="xsd:string"/>
                        </sequence>
                   </complexType>
                   <complexType name="Map">
                        <sequence>
                             <element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem"/>
                        </sequence>
                   </complexType>
              </schema>
         </wsdl:types>
         <wsdl:message name="exportGroupResponse">
              <wsdl:part name="exportGroupReturn" type="xsd:string"/>
         </wsdl:message>
         <wsdl:message name="importGroupRequest1">
              <wsdl:part name="in0" type="xsd:string"/>
         </wsdl:message>
         <wsdl:message name="importGroupResponse">
              <wsdl:part name="importGroupReturn" type="xsd:string"/>
         </wsdl:message>
         <wsdl:message name="importGroupResponse1">
              <wsdl:part name="importGroupReturn" type="xsd:string"/>
         </wsdl:message>
         <wsdl:message name="importGroupRequest">
              <wsdl:part name="in0" type="xsd:string"/>
              <wsdl:part name="in1" type="apachesoap:Map"/>
         </wsdl:message>
         <wsdl:message name="loadAdaptersResponse">
              <wsdl:part name="loadAdaptersReturn" type="xsd:string"/>
         </wsdl:message>
         <wsdl:message name="loadAdaptersRequest">
      </wsdl:message>
         <wsdl:message name="exportAdapterResponse">
              <wsdl:part name="exportAdapterReturn" type="xsd:string"/>
         </wsdl:message>
         <wsdl:message name="importAdapterRequest1">
              <wsdl:part name="in0" type="xsd:string"/>
         </wsdl:message>
         <wsdl:message name="exportAdapterRequest">
              <wsdl:part name="in0" type="xsd:string"/>
         </wsdl:message>
         <wsdl:message name="importAdapterResponse">
              <wsdl:part name="importAdapterReturn" type="xsd:string"/>
         </wsdl:message>
         <wsdl:message name="exportGroupRequest">
              <wsdl:part name="in0" type="xsd:string"/>
         </wsdl:message>
         <wsdl:message name="importAdapterResponse1">
              <wsdl:part name="importAdapterReturn" type="xsd:string"/>
         </wsdl:message>
         <wsdl:message name="importAdapterRequest">
              <wsdl:part name="in0" type="xsd:string"/>
              <wsdl:part name="in1" type="apachesoap:Map"/>
         </wsdl:message>
         <wsdl:portType name="Adapter">
              <wsdl:operation name="importAdapter" parameterOrder="in0 in1">
                   <wsdl:input name="importAdapterRequest" message="impl:importAdapterRequest"/>
                   <wsdl:output name="importAdapterResponse" message="impl:importAdapterResponse"/>
              </wsdl:operation>
              <wsdl:operation name="importAdapter" parameterOrder="in0">
                   <wsdl:input name="importAdapterRequest1" message="impl:importAdapterRequest1"/>
                   <wsdl:output name="importAdapterResponse1" message="impl:importAdapterResponse1"/>
              </wsdl:operation>
              <wsdl:operation name="importGroup" parameterOrder="in0 in1">
                   <wsdl:input name="importGroupRequest" message="impl:importGroupRequest"/>
                   <wsdl:output name="importGroupResponse" message="impl:importGroupResponse"/>
              </wsdl:operation>
              <wsdl:operation name="importGroup" parameterOrder="in0">
                   <wsdl:input name="importGroupRequest1" message="impl:importGroupRequest1"/>
                   <wsdl:output name="importGroupResponse1" message="impl:importGroupResponse1"/>
              </wsdl:operation>
              <wsdl:operation name="exportAdapter" parameterOrder="in0">
                   <wsdl:input name="exportAdapterRequest" message="impl:exportAdapterRequest"/>
                   <wsdl:output name="exportAdapterResponse" message="impl:exportAdapterResponse"/>
              </wsdl:operation>
              <wsdl:operation name="exportGroup" parameterOrder="in0">
                   <wsdl:input name="exportGroupRequest" message="impl:exportGroupRequest"/>
                   <wsdl:output name="exportGroupResponse" message="impl:exportGroupResponse"/>
              </wsdl:operation>
              <wsdl:operation name="loadAdapters">
                   <wsdl:input name="loadAdaptersRequest" message="impl:loadAdaptersRequest"/>
                   <wsdl:output name="loadAdaptersResponse" message="impl:loadAdaptersResponse"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="AdapterServiceSoapBinding" type="impl:Adapter">
              <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
              <wsdl:operation name="importAdapter">
                   <wsdlsoap:operation/>
                   <wsdl:input>
                        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
                   </wsdl:input>
                   <wsdl:output>
                        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
                   </wsdl:output>
              </wsdl:operation>
              <wsdl:operation name="importAdapter">
                   <wsdlsoap:operation/>
                   <wsdl:input>
                        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
                   </wsdl:input>
                   <wsdl:output>
                        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
                   </wsdl:output>
              </wsdl:operation>
              <wsdl:operation name="importGroup">
                   <wsdlsoap:operation/>
                   <wsdl:input>
                        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
                   </wsdl:input>
                   <wsdl:output>
                        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
                   </wsdl:output>
              </wsdl:operation>
              <wsdl:operation name="importGroup">
                   <wsdlsoap:operation/>
                   <wsdl:input>
                        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
                   </wsdl:input>
                   <wsdl:output>
                        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
                   </wsdl:output>
              </wsdl:operation>
              <wsdl:operation name="exportAdapter">
                   <wsdlsoap:operation/>
                   <wsdl:input>
                        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
                   </wsdl:input>
                   <wsdl:output>
                        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
                   </wsdl:output>
              </wsdl:operation>
              <wsdl:operation name="exportGroup">
                   <wsdlsoap:operation/>
                   <wsdl:input>
                        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
                   </wsdl:input>
                   <wsdl:output>
                        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
                   </wsdl:output>
              </wsdl:operation>
              <wsdl:operation name="loadAdapters">
                   <wsdlsoap:operation/>
                   <wsdl:input>
                        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
                   </wsdl:input>
                   <wsdl:output>
                        <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
                   </wsdl:output>
              </wsdl:operation>
         </wsdl:binding>
         <wsdl:service name="AdapterService">
              <wsdl:port name="AdapterService" binding="impl:AdapterServiceSoapBinding">
                   <wsdlsoap:address location="http://vn15:8000/soap/services/AdapterService"/>
              </wsdl:port>
         </wsdl:service>
    </wsdl:definitions>

    Hi S T,
    in the WSDL there occurs the situation that there are in one prtType multiple operations with the same name (e.g. portType "Adapter" contains two definitions for operation with name "importAdapter". Indeed, the original <a href="http://www.w3.org/TR/wsdl">WSDL specification</a> seems to allow this. However, in <a href="http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html">WS-I</a> it is forbidden (see R2304).
    Therefore, the Integration Builder does not consider this document to be valid WSDL. This is a little bit tragic, as the portType definitions are not considered by the following steps anyway. A simple workaround would be to delete everything behind the message definitions.
    Greetings Stephan

  • Why have Link previews been moved to the bottom of the page? I have a toolbar on my my site and my users cant see it because the link preview is obscuring it...

    Well as I can see from other questions asked people are already aware that when you hover over a link the link preview appears at the bottom of the page instead of the status bar.
    Other people have said to install https://addons.mozilla.org/firefox/addon/status-4-evar/
    Well thats fine for me to do that but what about the users who come to my site and cant see my toolbar at the bottom because the link preview (with a long URL) is obscuring it? I cant tell them to go and install an addon, what bright spark thought of this I find it very disrupting.

    As far as I know, [https://addons.mozilla.org/firefox/addon/classicthemerestorer/ the Classic Theme Restorer add-on] is the only way move the Reload button outside the address bar.
    # Install [https://addons.mozilla.org/firefox/addon/classicthemerestorer/ Classic Theme Restorer] and restart Firefox when prompted.
    # Open the Add-ons Manager (Ctrl+Shift+A; Mac: Command+Shift+A), then the Extensions category.
    # Next to Classic Theme Restorer, click the Options button.
    # On the Main tab, make sure "Movable back-forward button" and "Hide urlbars stop & reload buttons" are checked. You might also want to check "Combine stop & reload buttons". Close the options window when done.
    # Right-click an empty area of the tab bar and choose Customize.
    # Drag the Back/Forward, Stop and Reload buttons onto the navigation toolbar.
    # Click the Exit Customize button in the lower right corner when done.
    That being said, I should point out that you can reload pages in other ways.
    * Right-click any tab and choose Reload.
    * Right-click an empty area of the page and choose Reload.
    * Press F5.
    * Press Ctrl+R (Mac: Command+R).

  • Cant see hebrew on the unix os

    hi!
    when i am spooling a file on unix and selecting data from a table contains hebrew charecter's data, i get a file full of ??????????? instead of hebrew.
    spool try.txt
    select 'name - ' || NAME
    from names_tb
    spool off;
    brings out:
    name - ????? ????
    name - ???? ????????
    when i sending the file to the windows os it still with ????????? instead of hebrew.
    the thing is that i do have hebrew on the unix server (i can see hebrew, just not from the db).
    does any one have a clue what i need to install / change in the server/db in order to see hebrew from the db?

    hi, that solved our problem, thanks.
    now, we have another problem, I do not know if this is the right place to ask, but i will try:
    We moved a critical part of our system (coded in java) to unix from windows.
    while running, for some results the processes insert messages to the db (oracle 10g on the same machine). The error message are being taken from a resource file
    (txt which contains CODE=message). the error message are in hebrew, but they are being inserted as ??????????? ??????? insted of hebrew to the db.
    some facts:
    1) We discovered that hebrew that coded directly in the java src "System.out.println("some hebrew words")" is being shoed as ??????????? on our unix too, but
    when we insert it to the db we can see it well.
    2) When we take the hebrew from the resource file (we can see it well in the unix) we cant understand it in the db.

  • My ipod is full but i cant see any of the songs?????

    I've done something and wiped my ipod.. i copied all my songs from the libary back on to the ipod and it says that it is basicaly full. but when you go into the music there is nothing there???? i can play the music if i go into the hidden folders on the pc but its useless otherwise?
    Any sugestions? Thx
    ipod nano   Windows XP  

    http://docs.info.apple.com/article.html?artnum=93499
    thanks for that but unfortunatly that didnt work... The songs are deffinatly there i just cant see them when using the ipod away from the pc or in itune????
    more info.... i had to force itunes to close as it froze and i disconected the ipod when it said "do not disconect" i dont think it was copying anything but it may have been.
    have i damaged somthing or just freaked it out..... would re installing software be an option????? thx for the feedback

  • HT1212 what do i do if i cant see anything on  the phone?

    i cannot see anything on the phone what do  i do  its ring and message do come up but the screen is blank as if the phone is turned off

    Have you tried restarting or resetting your iPhone?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after It shuts down, press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds).

  • Calling another method in the class from within the body of a method Im wri

    Hello out there.
    I have a question. I keep getting an error that reads as follows:
    1 error found:
    File: /Users/matthieubell/Academia/University of Waterloo/CS 125/L06/CreditCard.java [line: 80]
    Error: double cannot be dereferenced
    I think it is occuring because I am trying to call a method on an instance variable, which is not an object. But how do call a method I have already written, on another method I am writing in the general sense. I could make a particular object, but Im not shure that would get me the same result. I want to be able to call the method calcMinPayment on the instance variable currentBalance to wirte the method makePayment.
    I have a class CreditCard
    with the instance variables "private double currentBalance = 0; "
    public double calcMinPayment()
    // Add code here
    double minimumPayment;
    if (currentBalance < 50)
    minimumPayment = currentBalance/10;
    else
    minimumPayment = 50;
    return minimumPayment; // Replace this statement
    * This method will decrease the current balance on the credit card if
    * this payment meets or exceeds the minimum payment amount.
    * pre: paymentAmt > 0
    * post: The current balance should be decreased by paymentAmt if
    * paymentAmt >= the minimum payment amount. Otherwise, the payment
    * will not be recorded and an appropriate error message should be
    * displayed.
    public void makePayment(double paymentAmt)
    // Add code here
    double minimumPaymentAmount;
    minimumPaymentAmount = currentBalance.calcMinPayment();
    if (paymentAmt < minimumPaymentAmount)
    System.out.println("Sorry, but your payment must exceed the minimum payment amount.");
    System.out.println("This payment has not been recorded, please try again.");
    else
    this.currentBalance = currentBalance - paymentAmt;
    thanks for youre help
    -Matthieu

    'calcMinPayment' takes no arguments, uses a member variable (currentBalance) to compute a local variable 'minimumPayment' which it returns, ie, sends back to the caller. So you can call 'calcMinPayment' at any time.
    minimumPaymentAmount = calcMinPayment();

  • I cant see all of the words on the screen how can i move or adjust the screen so that i can see all of the words

    for instance when i go on to this clothing website (gojane.com) it has "shopping cart" at the top right-hand corner but now all that i see are the letters "s" and "h". its even happening now with this site, I see the letters "sig" and half of the letter "n". I'm guessing that it says sign in or sign up. please help, thanks in advance.

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    If you have increased the minimum font size then try the default setting "none" as a high value can cause issues like you described.
    *Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    *Tools > Options > Content : Fonts & Colors > Advanced > [X] "Allow pages to choose their own fonts, instead of my selections above"
    You can use an extension to set a default font size and page zoom on web pages:
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

Maybe you are looking for