Changing Header
In swing application , there is a cofee symbol in the header ,
I want to hide that symbol or replace it with another my own symbol ,
can anybody tell me how can I do this ?????
Thanks
Yes by using th setIconImage method you can change the default image icon -that is displayed at the top corner of the frame.
setIconImage::
public void setIconImage(Image image)Description copied from class: Frame
Sets the image to be displayed in the minimized icon for this frame. Not all platforms support the concept of minimizing a window.
Overrides:
setIconImage in class Frame
Parameters:
image - the icon image to be displayed. If this parameter is null then the icon image is set to the default image, which may vary with platform.
See the JFrame documentation:
http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JFrame.html
Like he said:
urframename.setIconImage(new ImageIcon(getClass().getResource("urimage.gif")).getImage());if it won't work for u please post here
Similar Messages
-
How to change header and footer in login page in oracle apps r12
Hi all,
how to change header and footer in login page in oracle apps r12 and login button background color, please help me
thanks
saranhow to change header and footer in login page in oracle apps r12 and login button background color, please help meTips For Personalizing The E-Business Suite R12 Login Page (MainLoginPG) [ID 741459.1]
How to Personalize Login page in R12? [ID 579917.1]
R12 Login Page: How to Personalize the Logo ? [ID 849752.1]
Thanks,
Hussein -
Change header and footer in one jsp impact on all jsps
If i change header and footer in one jsp page it show reflect the changes in all jsps can any one help me .
Manually i shd not change in all jsp pages.Once if
i change in particular page then all pages shd be
e reflected with the changesyes, my previous reply does the same way you want.
You have to include (use include directive) your header & footer jsp file in other jsp pages where you wanted them. And once you do any change in header & footer jsp it will automatically effect other jsp.
Follow the link if you dont know how to use include directive
http://javaalmanac.com/egs/javax.servlet.jsp/include.jsp.html?l=new -
Change header pricing condition in sales order
Hi,
I have an requirement in VA01 and VA02 to automatically edit one header pricing condition. The user can able to change the value of that condition type in header not in items . Does anyone know what user exit I can use for this requirement.
ThanksHi Sunil,
Plealse find below 2 methods to change header pricing conditions in sales order.
1.Goto SE38, give prog name as MV45AFZZ and in that write logic under USEREXIT_PRICING_PREPARE_TKOMK . (OR)
2) The same can be done by creating a Alt Calculation type routine through VOFM and writng the logic in the routine, which will then be assigned to the pricing procedure in the condition type which will automatically calculate the condition.
Try with the options mentioned above..
Regards,
KK -
BADI ME_PROCESS_PO_CUST for changing header data
Hello Experts,
I'm using Method PROCESS_HEADER in Badi ME_PROCESS_PO_CUST in order to change some header data.
I want to change header data depending on the partner data which are on header level.
It works fine as long as there are data changed in the header or item level and not only on the partner screen.
The method in this Badi isn't processed if only partner data are changed. But for me it is necessary to set a special field on the header depending on the partner data.
Regards,
SvenHi,
Firstly, for changing Header data without any INSERT/UPDATE?MODIFY statement, badi - ME_PROCESS_PO_CUST will not be useful.
As method you mentioned has no header parameters under CHANGING / EXPORTING clause.
You can use the badi which has the parametrs you want in either change/ Export mode. It can be defined under table also.
Below is the list of important badis gettign called, however none of them contains header values in change/export clause.
ME_CCP_ACTIVE_CHECK
MD_STOCK_TRANSFER
ME_DEFINE_CALCTYPE
ME_PO_PRICING
ME_FIELDSTATUS_STOCK
ME_COMMITMENT_STO_CH
ME_COMMITMNT_PARKING
ME_INFOREC_SEND
ME_CHECK_SOURCES
ME_PURCHDOC_POSTED
Instead you can use enhacement MM06E005 Customer fields in purchasing document.
Create a project under Transaction CMOD.
Assign enhancement as Project component.
You'll find Exit 012. At time of save you can change header im_ekko based on you parterner data tab.
Regards,
Amee. -
PPCO0007 User Exit for Changing Header Fields During Order (CO40)
.. Hi !!!!
I need your help or suggestions,
I need to change the standar order before to save, i found the user exit PPCO0007,
i assign the new value for the order, but when finish the fuction, EXIT_SAPLCOZV_001, the new values are
lost, and finally the system set the standard order.
Someona know how can change the order and the the batch.
Thanks
Noemí HuertaHi Noemi
You can use the enchancement PPCO0007 (exit when the production order is saved).
Use the function module EXIT_SAPLCOZV_001 (User Exit for Checking or Changing Header Fields During Order Save) to update the field priority starting the information in the material-customer info record. -
Hi,
I am displaying traffic light signal using alv_grid_display.
In output it's showing header name 'Exception' for traffic light.
I want to change header name 'Exception' to 'Signal'.
Plz help me.hi,
INCLUDE <icon>. " put it in top part of program
data :status TYPE icon-id, " put as last field of internal tabel
gwa_fcat-icon = gc_x. " make X in field catalog -
Changing header title of column at runtime
Hi
I want to change the column header in an ALV table at runtime. I know how to overwrite a DDIC binding text of the column header with my own static text but I also want to know how to modify this column header text dynamically. I have a separate attribute in my context node to serve as the column header, which I can keep modifying at runtime, but the problem is to bind this attribute to the header of the column.
Thanks and regards
SukanyaHi Sukanya,
Refer to code given by Thomas in this thread: change ALV column Header
Also refer these threads: Webdynpro ALV title
Re: Change Header Text for a ALV table column
I hope it helps.
Regards
Arjun
Edited by: Arjun Thakur on Mar 26, 2009 4:41 PM -
Changing header text of column in ALV
Hello. I'm trying to change header of a column in WD ALV using this code:
lr_col = lo_value->if_salv_wd_column_settings~get_column( 'DESCRIPTION' ).
lr_header = lr_col->get_header( ).
lr_header->set_text( EXPORTING value = 'My perfect text' ).
But it doesn't work. Where was I wrong?Hi..
Add the following code after set_text
lr_header->set_prop_ddic_binding_field( ).
this will clear the binding of dataelement text with the column..
Ranganathan -
MIGO change header data before saving
Hi all,
I want to update header data (budat) before saving the material document with MIGO.
Has anybody an idea?
I tried with Badi: mb_document_badi or similar user-exit
MB_CF001 but with none of these I can CHANGE header data.
Is it possible?
Thanks a lot!check this
MB_DOCUMENT_UPDATE
regards
Prabhu -
hello friends,
need ur help.
I have made recording for changing header text
cForm name & cForm Ammout
but the fields are not recorded in recording.
is their any issue of sap script?
i get code from recording as follows.
perform open_group.
perform bdc_dynpro using 'SAPMV60A' '0101'.
perform bdc_field using 'BDC_CURSOR'
'VBRK-VBELN'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'VBRK-VBELN'
'3100000384'.
perform bdc_dynpro using 'SAPMV60A' '0104'.
perform bdc_field using 'BDC_CURSOR'
'VBRK-FKART'.
perform bdc_field using 'BDC_OKCODE'
'=KFTE'.
perform bdc_dynpro using 'SAPMV60A' '6001'.
perform bdc_field using 'BDC_OKCODE'
'=%_GC 123 22'.
perform bdc_dynpro using 'SAPMV60A' '6001'.
perform bdc_field using 'BDC_OKCODE'
'=%_GC 123 22'.
perform bdc_dynpro using 'SAPMV60A' '6001'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
perform bdc_transaction using 'VF02'.
perform close_group.
please help me.
suggest answer.To update text use the FM 'SAVE_TEXT'.
-
Hi all,
We are using the BADI, CHange Header Data (HRHAP00_ACC_HEADER--PART_APPER_ACCESS_2).
The selection screen button of 'further particpant'(others) is not enabled when the Change header data button is clicked.
we have created a filter and turn,
<i>s_header_cust_display-others = c_output_mode_change.</i>
If there is further participant, the selection screen button got enabled.And if furtherparticipant table is initial, the button is not enabled.
I want to enable the furtherparticipant button regardless of the table entry.How to do it?
Points assured for helpful answers.
Regards,
Jothi.PHi
<b>First read the documenatation of this BAPI in SE37 Transaction, by pressing F9 Key.
Also do a where-used list for this BAPI and then code accordingly.</b>
Hope this will help.
Please reward suitable points.
Regards
- Atul -
What is change header / detail tables
hi
could anybody tel me
what is change header / detail tableshi Rich,
these r from my test questions which were given in my institute where im learning abap.
can u plz give the answers to these questions.
regards,
maqsood -
What is change header / detals tables
hi
could anybody tel me
what is change header / detals tablesHi,
Can anyone tell me in which table are the changes made, the old and the new value, saved? Is it CDHDR, CDPOS (some thread said it was CDPOS)?
Someone said that CDCLS is a cluster. What information does it contain?
I did a trace run of the execution of display of change documents. Under the consolidated view, only tables CDHDR and CDCLS were accessed. In indeed the new and old values are stored in CDPOS, then why did it not appear in the trace?
Thanks
Joy Kaushish -
Changing header in report painter
Hi All,
I have a requirement to change the header(column). I am using the global variable &5PY(Period/Year) in the characterictics value. So it displays an output like 06.2008. But the client needs this to be displayed as June 2008.
Kindly help me out with this.
Regards,
KarthikIn report painter you can select variouselements based on which the data will be pulled. I haven't seen any report painter with two header lines and don't think report painter allows that. But for your requirement I believe you can select the periods in the header line itself.
-
Changing Header and Footer in Discussion Channel
Hello,
I need to change the header and footer graphics and links for the page that displays when you search for Discussion Channel topics and displaying Ciscussion Channel posts. I have been looking in the DiscussionProvider directory and I am now looking through the SearchProvider directory. Does anybody have an idea of the locations of the Header and Footer files?I am sure someone in this forum has had the desire to change the headers from the default of SUN ONE Portal Server and has accomplished this throughout their implementation. Please help! I have succeeded in some containers like the JSPEditContainer so when someone edits bookmarks from a BookmarkProvider channel they see a header that I define, but not in the SearchProvider nor the DiscussionProvider directories. I have seen no mention or <include header.jsp> tags in the jsp files for either of these providers, and I have copied header.jsp and menubar.jsp to both of those directories but it is not picking up the files. Do these containers find the header and menubar.jsp file contents from another location?
Maybe you are looking for
-
I would really like Apple to take notice of the number of "customers" who want to download in their own language, not the language of the country they are in. My Laptop was bought in England and my internet is an English provider. My bank account is
-
How to create a Crystal Report to connect to Oracle
Hi, When I create a Crystal report to connect to SQL Server, I create a stored procedure to get all data I need and connect to it from Crystal Report.(In the stored procedure, I created temp tables, used cusor etc to run data.) But now I need to use
-
Hi, I installed end November last year on my new iMac the CS6 Master Collection. The language and country ist german. All menus and titles are correct. In Safari (8.0.2) PDFs are shown with Acrobat instead of the preview. When I want to save the PDF
-
Hi All, I have written an IDOC program with IDOC type BOMORD01 and Message type BOMORD. After running the program i am getting the following statuses. 69 - Custom segments added 69 - Segment cannot be identified 56 - /QSACLNT210/LS//BOMORD///
-
Re-download iTunes after iCloud
Downloaded new iTunes version for iClould instalation; then upgraded to Lion. When attempt to open iTunes I receive the following message: 'The file "iTunes Library.itl" cannot be read because it was created by a newer version of iTunes. Would you li