How to modify the fond in an application with jdev
hi,
i created an application with jdev and i want to put a picture as the background by i don't find how to do.
Google for "image background for swing" and you'll find several samples like this one:
http://www.java2s.com/Code/Java/Swing-JFC/Panelwithbackgroundimage.htm
Similar Messages
-
How to modify the current editor contents from a JDev extension
Hi there,
I am creating an extension for JDev 11.1.1.3.0 and I am stuck... To simply things, let's say that I want to create an extension that converts the selected text in a editor to UPPERCASE.
So far, I was able to get the selected text using *((CodeEditor)getContext().getView()).getSelectedText()* inside the doit() method.
However I don't know how to update the text in the editor... I am pretty sure that it is more complicated than simply calling a setText() method but I could not find any documentation or examples in the web. Any tips?
Thanks
LuisHi Luis,
u can change the selected Text by the below command...
*((CodeEditor)getContext().getView()).replaceSelection(text.toUpperCase());*
And also u can find some samples and docimentation in the below link
http://www.oracle.com/technetwork/developer-tools/jdev/downloads/index-091862.html
Regards,
Suganth.G -
How can Modify the Text of a MessageArea in a Application WD ABAP Standard?
Dear Experts.
How can Modify the Text of a MessageArea in a Application WD ABAP Standard?
I found the following link in the helpsap, but in this moment I don't know How found this text? and Modify this text with a new text.
http://help.sap.com/saphelp_nw70/helpdata/en/3a/f6ba42a950da11e10000000a155106/frameset.htm
The text of a MessageArea are in a table of configuration or can do the system for get this text and show in the application in the portal? How can get this and modify by a new text.
Please help me with a suggestions.
Thanks
Regards
Carmen G.Dear Kranthi..
The datas of the Application is the following:
General Information About the Application and Component
Application: FITE_REQUEST
Web Dynpro Component: FITV_FPM
Window Information: FPM_WINDOW
View Information: Layout_view
Information on Field
Field ID: HELPTEXT
Type of UI Element : Explanation
Attributes of UI Element
TEXT_DOCUMENT_NAME: FITE_FPM_REQUEST_GENERAL_DA
I dont found this method L_MESSAGE_MANAGER->REPORT_T100_MESSAGE.
Please can give more suggestions for found the method
Thanks in advance
Regards
Carmen G. -
How to modify the field lengh of file upload
Hi All,
I am facing a problem with u201Cuploadu201D filed length in BSP application.
When we upload the file in BSP page, the path displayed should be the full path (i.e. from where the file is being upload the file)
Now this field is appearing 20 char length
Now I want to increase the length of the upload field (Input field) to be 100 char so that the path is visible.
In the current application the file upload is being done through a structure (attributes)
In this structure the fields are like this
PAGE_NAME
ID
FOR
TAGS
ROW_INDEX
COLUMN_INDEX
OTR_NAME
REQUIRED_NAME
MAXLENGTH
SIZE
TABLE_NAME
ON_SELECT
VALUE
DISABLED
ONCLICK
TEXT
TYPE
Using this method:
CALL METHOD cl_htmlb_fileupload=>factory
EXPORTING
Id = ls_form_save-id
RECEIVING
Element = lv_fileup.
bee_table->add ( level = 2 element = lv_fileup ).
This cl_htmlb_fileupload is named as class interface.
Which has the CLG_HTMLB_FILEUPLOAD (it is a class) it is defined in attributes.
In this class it has the attribute u201CSIZEu201D by default string 20.
Now I need to change this attribute length from 20 to 100
For this I copied the standard class CL_HTMLB_FILEUPLOAD into ZCL_HTMLB_FILEUPLOAD.
This ZCL_HTMLB_FILEUPLOAD contains all attributes of the standard class CL_HTMLB_FILEUPLOAD
Including the one class (CLG_HTMLB_FILEUPLOAD), this is defined as an attribute (ABOVE MENTIONED?)
This class is appearing in non editable mode, so I have copied this class into zclass (ZCLG_HTMLB_FILEUPLOAD).but still I am not able to edit the attribute called u201Csizeu201D
And also I am not bale to add the zclass in place of the ZCLG_HTMLB_FILEUPLOAD
Kindly tell me how to modify the length of the field u201Csize u201Cand also how to add the zclass in the attributes of one class (syntax)
Thanks in advance
Rambabu.AHi,
Class CLG_HTMLB_FILEUPLOAD is a class automatically generated when a BSP Element is created. You should not change/create such a class, unless by creating your own BSP Element.
As per your requirement, you can use the SIZE parameter of method factory:
ls_form_save-size = '100'.
CALL METHOD cl_htmlb_fileupload=>factory
EXPORTING
Id = ls_form_save-id
Size = ls_form_save-size
RECEIVING
Element = lv_fileup.
Regards,
Tanguy -
How to modify the database by Oracle-ridc-client
How to modify the database by Oracle-ridc-client
First of all, from your question it is not very clear what kind of modifications you intend to do - one correct answer to your question could be "call any non-read-only service", which will result as insert/update/delete to a table somewhere. My guess is that this is not the answer you are looking for.
While working with RIDC (or CIS to answer your other thread at once) you have to understand that you integrate primarily with the application layer of your solution. If you want to modify the database scheme, you might, for instance, add a new metadata field - this is OK, because there is a service that you may call to achieve that. On the other hand you might want to change the db scheme directly (e.g. add a new column to a standard table); here neither RIDC, not CIS will help you unless you create a custom (server-side) service that you will call. Note, however, that you should be doing this only if you are really sure what you are doing. -
How to modify the coding part of KE30 reports ?
How to modify the coding part of KE30 reports ,
so that I can be able to restrict report output based on sales office.
I am unable to find out the program name also.
Regards
Anubhav>
Venkat Reddy wrote:
> Hi,
>
> If u want to know the program running for KE30 just go to SE93 and give KE30
> and click on display you can see the program running for KE30 will be SAPMKCEE.
> I think this is much simpler :-).
>
> Rather than change the standard report try to prepared your own that will be more
> comfortable since it will be complex task to achieve editing the standard program.
> Good Luck
>
> Regards
> VEnk@
>
> Edited by: Venkat Reddy on Dec 11, 2009 4:52 PM
Venkat,your answer is much simpler If the OP knows there is a tcode Se93, what if he/she does not know it??
P.S: Just a thought.
Regards.
Vishwa. -
How to create the user on Internet Application Server(IAS) control console
Hi All,
My Client is asking me for How to create the user on Internet Application Server(IAS) control console 10.1.2( 10g release 2).
If anyone have the document for How to Create the User on Internet Application Server (IAS) console 10g release 2 , then please send me the document and help me out from this Concern.
Regards,
Yadav@intelli.
Edited by: 851080 on Apr 8, 2011 6:31 PMAre you using OID? Can you provide more details about your iAS environment?
-
Can any one tell how to modify the PO that is being sent as an email?
Hi,
Can anyone let me know that how to modify the PO with some more additonal data while being sent as an email.
My actual requirement is that PO is already being sent as an email when the PO is created.But now they want some more additional data as an attachement along with PO to be sent as email.ie both PO and another scriptform(which contains some other additonal data other than from PO) have to be sent as an email to the vendor when the PO is created.
I would like to know the name of the userexit,where I can modify the existing PO or else please let me know how to resolve this issue.
First of all I would like to know the name of the userexit where this PO is being sent as an email.
It doesn't matter whatever the solution might be.But we need to send another sapscript form or additional data as an attachement along with PO through email to the vendor.I dont know whether it should be another script or it is also ok to add that data to the existing PO and then only the PO can be sent.
Thanks,
KrishnaEswar,
Thanks for your email.Can you please be bit clear.I am new to this area.
Any flexible solution is ok for me.Is it in the Userexit,that I need to include the code or what are outtypes as you said.
Please give me clear solution.
Thanks,
Krishna -
In List, How to modify the Link in Quick Edit Mode?
In List, How to modify the Edit in Quic Mode Link? Instead of opening Quick view mode, to open in InfoPath customized form?
Hi Eugene,
According to your description, my understanding is that you want to midify the link of "Edit" and set it linking to a InfoPath Form which can bulk edit your List.
You can use the code above to modify the Edit's hyperlink and set it linking to your InfoPath form.
<script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#idHomePageNewItem").next("a").attr("href","the URL of your InfoPath form");
$("#idHomePageNewItem").next("a").removeAttr("onclick");
</script>
For more information about bulk updating a SharePoint list using InfoPath form, you can have a look at the blog:
https://social.msdn.microsoft.com/Forums/sharepoint/en-US/c05983fc-d992-49ff-8d18-fa8f70777d66/using-infopath-2010-to-bulk-update-a-sharepoint-list?forum=sharepointcustomizationprevious
http://infopath.wordpress.com/2013/09/23/infopath-repeating-table-add-edit-delete-sharepoint-list-items-bulk/
http://sharepointknowledgebase.blogspot.com/2011/10/updating-sharepoint-list-by-using.html#.VGFsKHkcSM8
If any misunstanding, please feel free reminding me and provide more detail for your issue.
Best Regards,
Eric
Eric Tao
TechNet Community Support -
How to modify the search results of the GUI for subscribing to calendars
How to modify the search results of the GUI for subscribing to calendars
Note:
<OL>
<LI>The following information applies only to iPlanet Calendar Server 5.0
Patch 3.
<LI>All of the cases for which the XSLT changes will work have not been
verified.
<LI>The following is only an example of an XSLT customization.
</OL>
The example below shows a sample customization of the
search_for_calendars
dialog. This customization will result in the Display Name being included as
part of the search results in the GUI, which would normally show just the
calendar ID. It will render the returned calendars in the following format:
<P>
Display Name - <I>description</I>
<P>
Normally, the format would be as follows:
<P>
Calendar-ID - <I>description</I>
<P>
</A>
The example consists of the following two files:
<P>
<OL>
<LI>search_for_calendars_common.xsl
(the entire XSLT file)
<P>
<LI>diffctx.txt
(the context sensitive diff patch file,
which basically shows only the changes that need to be made)
</OL>
<P>
<HR>
</A><B>
search_for_calendars_common.xsl</B>
<?xml version="1.0" ?>
<!DOCTYPE xsl:stylesheet (View Source for full doctype...)>
- <!--
set the output properties
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
result-ns="http://www.w3.org/TR/REC-html40">
-->
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
- <!-- set the output properties
-->
<xsl:output method="html" encoding="ISO-8859-1" />
<xsl:include href="data/common.xsl" />
<xsl:include href="data/i18n.xsl" />
<xsl:include href="data/date_format.xsl" />
<xsl:include href="data/dialog_tabs.xsl" />
- <xsl:template match="/">
<xsl:apply-templates select="calendar" />
</xsl:template>
- <xsl:template match="calendar">
- <xsl:choose>
- <xsl:when test="@top='true'">
- <xsl:variable name="Frame1">
<xsl:value-of select="frame[1]" />
</xsl:variable>
- <xsl:variable name="Frame2">
<xsl:value-of select="frame[2]" />
</xsl:variable>
- <xsl:variable name="Frame3">
<xsl:value-of select="frame[3]" />
</xsl:variable>
- <xsl:variable name="tab_value">
<xsl:value-of select="@tab" />
</xsl:variable>
- <HTML>
- <HEAD>
<xsl:call-template name="contextJavascript" />
<TITLE>Calendars Search: Calendar Express - iPlanet</TITLE>
</HEAD>
- <FRAMESET border="0" frameborder="0" rows="77,*,71">
<FRAME name="tab" marginheight="0" marginwidth="0" scrolling="no"
scrollbars="no" src="{$Frame1}" />
<FRAME name="main" frameborder="0" src="{$Frame2}" />
<FRAME name="button" marginheight="0" marginwidth="0" scrolling="no"
scrollbars="no" frameborder="0" src="{$Frame3}" />
</FRAMESET>
</HTML>
</xsl:when>
- <xsl:when test="@view='searchProperties'">
- <xsl:for-each select="group">
- <xsl:if test="@name='searchProperties'">
<xsl:call-template name="search_toolbar" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:when test="@view='main'">
- <xsl:for-each select="group">
- <xsl:if test="@name='main'">
<xsl:call-template name="main" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:when test="@view='button'">
- <xsl:for-each select="group">
- <xsl:if test="@name='button'">
<xsl:call-template name="button_root" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:otherwise>
- <html>
What's this view? (search_for_cals.xsl) -
<xsl:value-of select="@view" />
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
- <xsl:template name="search_toolbar">
- <HTML>
<xsl:call-template name="emit_frame_head_tag" />
- <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
marginwidth="0" marginheight="0" onload="window.focus()">
- <FORM>
- <xsl:attribute name="action">
<xsl:value-of select="./formdata@action" />
</xsl:attribute>
<xsl:attribute name="name">form</xsl:attribute>
<xsl:attribute name="onSubmit">document.forms[0]['find'].click(); return false;
</xsl:attribute>
<xsl:apply-templates select="formdata" />
- <CENTER>
- <TABLE border="0" cellpadding="2" cellspacing="0" width="100%" height="100%">
- <TR>
- <TD align="center">
- <TABLE border="0" cellpadding="3" cellspacing="1">
- <TR>
- <TD colspan="4">
<FONT size="{$font_size_big_2}" face="{$font_name}">Find all calendars where
the calendar</FONT>
</TD>
</TR>
- <TR>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <SELECT name="which">
<OPTION value="name;calid">name or ID</OPTION>
<OPTION value="name">name</OPTION>
<OPTION value="primaryOwner">primary owner</OPTION>
<OPTION value="calid">ID</OPTION>
</SELECT>
</FONT>
</TD>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <SELECT name="how">
<OPTION value="0">contains</OPTION>
<OPTION value="1">begins with</OPTION>
</SELECT>
</FONT>
</TD>
- <TD valign="baseline">
<INPUT type="text" name="what" />
</TD>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <INPUT type="button" name="find" value="Find">
- <xsl:attribute name="onClick">
<xsl:value-of select="./button[@name='find']" />
</xsl:attribute>
</INPUT>
</FONT>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</CENTER>
</FORM>
</BODY>
</HTML>
</xsl:template>
- <xsl:template name="main">
- <HTML>
<xsl:call-template name="emit_frame_head_tag" />
- <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
marginwidth="0" marginheight="0">
- <FORM name="form" method="post">
- <xsl:attribute name="action">
<xsl:value-of select="./formdata@action" />
</xsl:attribute>
<xsl:attribute name="name">form</xsl:attribute>
<xsl:apply-templates select="formdata" />
<INPUT type="hidden" name="how" value="0" />
<INPUT type="hidden" name="which" value="name;calid" />
<INPUT type="hidden" name="what" value=" />
<INPUT type="hidden" name="selectedGroup" />
- <xsl:if test="(./calsearchresults/nomatch)">
- <!-- print no match found
-->
&nbsp;
&nbsp;
No Match Found
</xsl:if>
- <xsl:for-each select="./calsearchresults/searchresultcal">
- <P>
&nbsp;
&nbsp;
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <FONT size="{$font_size_big}" face="{$font_name}">
Owner:
<xsl:value-of select="@owner" />
<FONT size="{$font_size_big}" face="{$font_name}" color="{$bgcolor_wend_mid}">|
</FONT>
Calendar ID:
<xsl:value-of select="@id" />
<BR />
</FONT>
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <xsl:choose>
- <xsl:when test="@subscribed='false'">
&nbsp;
&nbsp;
- <INPUT type="checkbox" name="calendar">
- <xsl:attribute name="value">
<xsl:value-of select="@name" />
</xsl:attribute>
</INPUT>
&nbsp;
&nbsp;
- <A target="_blank">
- <xsl:attribute name="href">
<xsl:value-of select="@viewCommand" />
</xsl:attribute>
<xsl:value-of select="@name" />
</A>
</xsl:when>
- <xsl:otherwise>
&nbsp;
&nbsp;
- <A target="_blank">
- <xsl:attribute name="href">
<xsl:value-of select="@viewCommand" />
</xsl:attribute>
<xsl:value-of select="@name" />
</A>
&nbsp;
(Subscribed)
</xsl:otherwise>
</xsl:choose>
- <xsl:if test="string-length(@description) > 0">
&nbsp;
&nbsp;
- <FONT size="{$font_size_big}" face="{$font_name}">
<xsl:value-of select="@description" />
</FONT>
</xsl:if>
</FONT>
</FONT>
</P>
</xsl:for-each>
</FORM>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>
<P>
<A HREF="#back">Back</A>
<P>
<HR>
</A>
<B>diffctx.txt</B>
Index: search_for_calendars_common.xsl
===================================================================
RCS file: /m/src/ns/server/msg/calendar/core/html/search_for_calendars_common.xsl,v
retrieving revision 1.1.2.14
diff -c -r1.1.2.14 search_for_calendars_common.xsl
*** search_for_calendars_common.xsl 2000/12/12 23:10:43 1.1.2.14
--- search_for_calendars_common.xsl 2001/03/15 23:55:19
*** 182,188 ****
&nbsp; &nbsp;
<INPUT type="checkbox" name="calendar">
<xsl:attribute name="value">
! <xsl:value-of select="@id"/>
</xsl:attribute>
</INPUT>
&nbsp; &nbsp;
--- 182,188 ----
&nbsp; &nbsp;
<INPUT type="checkbox" name="calendar">
<xsl:attribute name="value">
! <xsl:value-of select="@name"/>
</xsl:attribute>
</INPUT>
&nbsp; &nbsp;
*** 190,196 ****
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@id"/>
</A>
</xsl:when>
<xsl:otherwise>
--- 190,196 ----
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@name"/>
</A>
</xsl:when>
<xsl:otherwise>
*** 199,205 ****
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@id"/>
</A>
&nbsp;(Subscribed)
</xsl:otherwise>
--- 199,205 ----
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@name"/>
</A>
&nbsp;(Subscribed)
</xsl:otherwise>
<P>
<A HREF="#back">Back</A>Maybe on the Google API s page?
-
How to modify the blob size, or how to set the size?
i want to know how to modify the blob size, or how to set the size?
what's the default size of blob?
Thanks in advance.Blob datatype can contain binary data with a maximum size of 4 GB.
when you enter 10kb file, the database will only use 10kb to store the file (depending on block size etc)
if you want to modify the blob size, you may do like this:
SQL> create materialized view t_mv refresh fast on commit
2 as select id, dbms_lob.getlength(x) len from t;
Materialized view created.
SQL> alter table t_mv add constraint t_mv_chk check (len < 100);
Table altered. -
How to modify the timestamp in a msg file?
Hi All,
Do you know how to modify the timestamp in a msg file which was saved from Outlook Inbox. The mail subject and body are able to be modified by selecting
Actions - Edit Message. But it looks like the mail timestamp and the To/Cc are not able to be modified.
Thanks,
高麻雀You can convert your MSG file(s) to EML format, edit Date: header in EML file with any plain text editor (like Notepad) and then convert it back to MSG.
You can use free
Convert Outlook MSG to EML Files and
Convert EML Files to Outlook MSG utilities to perform the conversion.
Alexey Kuznetsov,
Relief Software
More than 100 free add-ins for Outlook -
How to modify the layout and coding for 'RVORDER01' after copying ..
Hi all,
I am trying to modify standard script layout SALES ORDER for Quotation,
i.e. I had copied standard form 'RVORDER01' to 'ZBAT_RVORDER01'.
and now I am trying to compress the information box. But no box in the layout was selecting while trying to resize it. Can any one help in this issue.
And I also want to know, how to modify the coding in that standard script. i.e. to add a perform statement and etc..
Thanks in advance,
Surender.GOTO SE71, and give the form name as 'ZBAT_RVORDER01' and Language as DE, try to compress the box according to your requirement, save activate and return to SE71, now change the language to EN, you will see the compressed window in EN.
The casue of your problem is the original language is in DE so window changes, character formats etc can be done in DE language or change original language to english,
TO change original language to EN, SE71 ,FOrm name Language DE click change, goto utilities--> change Language.
Regards,
Sairam -
How to organize the structure of multipanel application
hi,
I need to create a multi panel application where must be active only one panel, so my connection to DB have to be passed to an active panel only. So, how can I pass my connection from one panel to another if my panels are created as separate projects with separate application workspaces and are joined to main project as jar libraries.
thanksreg231 wrote:
how to read the keystrokes of other application[How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html] -
How to modify the standard script in scripts?
how to modify the standard script in scripts?
Nagaraju,
Standard scripts cant be modified.
Only thing is you need to copy it to z-form and have to do modifications as per ur requirements.
Here is the procedure to copy standard form to z-form.
goto SE71 t-code, then select the menu path : <b>Utilities -> Copy from Client</b>
then it will take to another screen, give the form name as Standard form name, if u r copying a stadard invoice means, type RVINVOICE01 and target form, ZRVINVOICE01. Now press execute button, it will copy the form into 25 languages. Now come back to se71, enter Z-form name and do the required changes.
Hope this hint may help you, Pls close the thread if u met with correct answer.
Regards,
Sujatha.
Maybe you are looking for
-
Using single SMB share with multiple Hyper-V clusters
Hello, I'm trying to find out if I can use a single SMB share with multiple Hyper-V Clusters. Looking at: How to Assign SMB 3.0 File Shares to Hyper-V Hosts and Clusters in VMM I think it's possible. Since the File Server is going to handle the file
-
I have an IMac which won't boot up and when I tried the restore function the Hard Drive next to the Main Hard Drive says it is "locked" when I tried to use it to restore my system. I have Mountain Lion which was working fine until recently. Now I c
-
Lobster-bib: cli search of bibtex db (using btparse)
This is an insanely simple project, but I've found it handy so I thought I'd post it. Lobster-bib A CLI frontend to the btparse bibtex database parser Usage lobster-bib <file.bib> [ -o ] [ <search-strings> ] [ : <output-types> ] file.bib: required an
-
Hi I'm thinking of buying Adobe After Effects CC for my MacBook Pro. But I am worried it won't work. Here are my specs 2.4 GHz Intel Core i5, 4 GB Ram, 1333 MHz DDR3,13-inch (1280 x 800) are my displays and I'm up to date with latest software. I need
-
There's no left arrow at top to return to preceeding page.
After downloading the latest version of Firefox, there now is no left arrow at the top left of the page to return to the preceding page of any web site I go to. Before, there was a left and right arrow at the upper left of the page of a website that