Type in jTextfield (HELP ME!!!!!!!!!)
Hi everyBody,
When i type something in jTextField it show as lowercase.
I need to see in capital letters what I type in a jTextField.
How can I get to see that ?
Thank!!!!
final JTextField myTextField = new JTextField();
myTextField.addActionListener
new ActionListener()
public void actionPerformed(ActionEvent e)
String text = myTextField.getText();
text.toUpperCase();
myTextField.setText(text.toUpperCase());
);
Similar Messages
-
How to read a file with value of RAW data type? Please help
Hi Experts,
I have a file with RAW data like DE864E48833BFFF1B805001CC4EF4BFA
I am using GUI_UPLOAD.
But this FM is throwing error.
I tried by giving FILETYPE as ASC. The output internal table for this FM contains a field of type c size 32.
Now it is able to read the file but I want to assign this value to a RAW data type variable.
This it is unable to do. How to convert the char value to RAW data type?
Please help!
Thanks
GopalHi,
The documentation for the function module contains an example for RAW upload.
begin of itab,
raw(255) type x,
end of itab occurs 0.
CALL FUNCTION 'GUI_UPLOAD'
exporting
filetype = 'BIN'
filename = 'C:\DOWNLOAD.BIN'
tables
data_tab = itab. -
hey there, my ipad had a dialogue box pop up on the screen and the buttons are not working so i cant exit out or type. PLease help me
Perform a Reset... Reset ( No Data will be Lost )
Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
Wait for the Apple logo to Appear...
Usually takes about 15 - 20 Seconds... ( But can take Longer...)
Release the Buttons... -
I am looking for a stylus type tool to help a disabled person who has difficulty with their hands and fingers . Any suggestions will be appreciated.
http://www.techhive.com/article/1164440/macworld_buying_guide_ipad_styluses.html
-
Hi all, need help here. I just face this problem today. When i click the pages icon and after choosing a blank template, i am unable to type anything in the document. All icons in the format bar at the top cannot be clicked (font, font size etc). I will have to open a text box in order to type it.
If i open an existing PAGES doc, duplicate and rename it, then i delete all existing text that i have written, only then i can type in at the doc.
To illustrate my problem, attached is a pic from my Macbook screen
Please help.Maybe try turning on the grammar checker.
-
Set type attribute search help in Web UI
Hello,
I've created a set type attribute in the SAP GUI in CRM 2007 which links to value table BUT000. On the product in the SAP GUI, the F4 search help brings up the standard BP search help (COM_PARTNER).
I've assigned the attribute to the web UI, and the field displays correctly, however when I click on the F4 help, the system only shows me a list of BP numbers without even a description description, and not the standard search help. The response to my OSS message is that this is "standard".
Any suggestions as to how to enable the correct search help for this?
Thanks,
AlisonHello,
This is an example :
READ TABLE lt_multivalues WITH KEY fieldname = 'ZOPERATION_ID'
INTO ls_multivalues.
IF sy-subrc NE 0.
READ TABLE lt_multivalues WITH KEY fieldname = 'ZKIT_ID'
INTO ls_multivalues.
ENDIF.
IF sy-subrc EQ 0.
Z search
CALL METHOD me->search_by_kit
EXPORTING
it_search_tab = it_search_tab
it_multivalues = lt_multivalues
iv_number = iv_number
iv_item = iv_item
iv_archive = iv_archive
iv_call_authority_badi = iv_call_authority_badi
IMPORTING
et_guidlist = et_guidlist
et_return = et_return.
ELSE.
Standard search
CALL METHOD me->search_standard
EXPORTING
it_search_tab = it_search_tab
it_multivalues = lt_multivalues
iv_number = iv_number
iv_item = iv_item
iv_archive = iv_archive
iv_call_authority_badi = iv_call_authority_badi
IMPORTING
et_guidlist = et_guidlist
et_return = et_return.
ENDIF.
You have to fill et_guidlist with the results.
Benoî -
OracleCustomTypeMappingAttribute Issue in Custom type mapping(Urgent Help)
I am figuring "OracleCustomTypeMappingAttribute" attribute in web.conifg.
I am getting Error when i am trying execute the code.please find the error messsage in below
"Custom type mapping for 'QR.iPromansys.Common.UDT.TAB_MC_REGION' is not specified or is invalid."
This is my configuation of webconfig:-
<oracle.dataaccess.client>
<settings>
<add name="REGION" value="udtMapping factoryName='QR.iPromansys.Common.UDT.TAB_MC_REGIONFactory,
QR.iPromansys.Common.UDT, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
typeName='TAB_MC_REGION' schemaName='IPROM' dataSource='QAPRISM' "/>
</settings>
</oracle.dataaccess.client>
provide what i missed in in configure or anything else i have to do more in coding side.
Class Information (Struture) Start
public class TAB_MC_REGION : INullable, IOracleCustomType, IXmlSerializable
private bool m_IsNull;
private RegionInfo[] m_RegionInfo;
public TAB_MC_REGION()
// TODO : Add code to initialise the object
public TAB_MC_REGION(string str)
// TODO : Add code to initialise the object based on the given string
public TAB_MC_REGION(RegionInfo[] obj)
this.m_RegionInfo = obj;
public virtual bool IsNull
get
return this.m_IsNull;
public static TAB_MC_REGION Null
get
TAB_MC_REGION obj = new TAB_MC_REGION();
obj.m_IsNull = true;
return obj;
[OracleArrayMappingAttribute()]
public virtual RegionInfo[] Value
get
return this.m_RegionInfo;
set
this.m_RegionInfo = value;
public virtual void FromCustomObject(Oracle.DataAccess.Client.OracleConnection con, System.IntPtr pUdt)
OracleUdt.SetValue(con, pUdt, 0, this.m_RegionInfo);
public virtual void ToCustomObject(Oracle.DataAccess.Client.OracleConnection con, System.IntPtr pUdt)
this.m_RegionInfo = ((RegionInfo[])(OracleUdt.GetValue(con, pUdt, 0)));
public virtual void ReadXml(System.Xml.XmlReader reader)
// TODO : Read Serialized Xml Data
public virtual void WriteXml(System.Xml.XmlWriter writer)
// TODO : Serialize object to xml data
public virtual XmlSchema GetSchema()
// TODO : Implement GetSchema
return null;
public override string ToString()
// TODO : Return a string that represents the current object
return "";
public static TAB_MC_REGION Parse(string str)
// TODO : Add code needed to parse the string and get the object represented by the string
return new TAB_MC_REGION();
// Factory to create an object for the above class
//[OracleCustomTypeMappingAttribute("IPROM.TAB_MC_REGION")]
public class TAB_MC_REGIONFactory : IOracleCustomTypeFactory, IOracleArrayTypeFactory
public virtual IOracleCustomType CreateObject()
TAB_MC_REGION obj = new TAB_MC_REGION();
return obj;
public virtual System.Array CreateArray(int length)
RegionInfo[] collElem = new RegionInfo[length];
return collElem;
public virtual System.Array CreateStatusArray(int length)
return null;
End
Main Class Code(Execution Part) Start
I am using "Microsoft.Practices.EnterpriseLibrary.Data.Database"
List<RegionInfo> mealRegionList = new List<RegionInfo>();
TAB_MC_REGION mealregionTableObject = new TAB_MC_REGION(mealRegionList.ToArray());
Database database = DatabaseFactory.CreateDatabase();
using (DbCommand command = database.GetStoredProcCommand("mealplanning_services.SAVE_MC_REGION"))
database.AddOracleInParameter(command, string.Empty, OracleDbType.Object, "TAB_MC_REGION", mealregionTableObject);
database.AddOracleOutParameter(command, "@po_result_code", OracleDbType.Decimal, 50);
database.ExecuteNonQuery(command);
End
email address:- [email protected]
please fill free to contact.Issue Resolved. For less than 50 records, client side filtering takes over. In that case the search help exit will not come into picture. Issue resolved by avoiding client side rendering.
callcontrol-maxexceed = 'X'.
Thanks,
Pris. -
Can't open RAW or CR2 files anymore, Get message "Wrong type of file" HELP PLEASE
As a photographer I shoot in RAW or CR2 an di have used my photoshop elements to tweak my pictures for hte last year but now my program says "Wrong type of file"...nothing has changed, so why can't I open these any more? Anyone? please help
Thanks
RobWhat camera model and what version of the raw plug-in are you using with Elements?
It is possible the pictures are corrupted and cannot be read. You can try opening them in the Canon DPP software that should have come with your camera and try exporting as a JPG from inside there and see if it also reports a bad file. Or you can post a public download link for one of your files, here, and others can try the files in their Photoshop or Lightroom and see if they work or not. -
Dynamic structure of "string" data type. Please help.
ABAPers,
I am calling cl_alv_table_create=>create_dynamic_table method to dynamically create a structure. The input structure definition is as follows:
data: xfc type lvc_s_fcat.
data: ifc type lvc_t_fcat.
* define Fld1
clear xfc.
xfc-fieldname = 'Fld1'.
xfc-datatype = 'string'.
append xfc to ifc.
* define Fld2
clear xfc.
xfc-fieldname = 'Fld2'.
xfc-datatype = 'string'.
append xfc to ifc.
Although the call to create_dynamic_table does not throw any exceptions, it appears Fld1 and Fld2 are not of "string" data type. I don't know of a way to see what type they are. However, they do have a length limit of 10 characters.
After some experimenting, it turns out that the method simply ignores "datatype" value if it doesn't understand it and creates the field with some default data type.
I would appreciate it if someone can show me how to create fields of "string" data type.
Thank you in advance for your help.
PradeepThat's right, use STRG as the datatype. Please see the example program.
report zrich_0003.
type-pools: slis.
data: new_table type ref to data,
new_line type ref to data.
data: xfc type lvc_s_fcat,
ifc type lvc_t_fcat.
field-symbols: <dyn_table> type standard table,
<dyn_wa>,
<fs>.
start-of-selection.
clear xfc.
xfc-fieldname = 'Field1' .
xfc-datatype = 'STRG'.
append xfc to ifc .
clear xfc.
xfc-fieldname = 'Field2' .
xfc-datatype = 'STRG'.
append xfc to ifc .
* Create dynamic internal table and assign to FS
call method cl_alv_table_create=>create_dynamic_table
exporting
it_fieldcatalog = ifc
importing
ep_table = new_table.
assign new_table->* to <dyn_table>.
* Create dynamic work area and assign to FS
create data new_line like line of <dyn_table>.
assign new_line->* to <dyn_wa>.
assign component 1 of structure <dyn_wa> to <fs>.
<fs> = 'This is string 1'.
assign component 2 of structure <dyn_wa> to <fs>.
<fs> = 'This is string 2'.
append <dyn_wa> to <dyn_table>.
* Write the values of internal table.
loop at <dyn_table> into <dyn_wa>.
do.
assign component sy-index of structure <dyn_wa> to <fs>.
if sy-subrc <> 0.
exit.
endif.
write:/ <fs>.
enddo.
endloop.
REgards,
Rich Heilman -
How to debug a RFC function when the user is non-dialog type? Please help!
hi Experts,
I am calling a RFC FM residing in B from R/3 system A.
R/3 A -
Call FM residing in B----
> R/3 B
The user attached to the remote destination is a non-dialog type.
I cannot change the user type of this user.
Therefore how to debug the RFC FM in System A?
Are there any alternatives?
Please help
Thanks
Gopalin your RFC FM, code an endlees loop.
something like:
data: gv_x type xfeld value 'X'.
do.
if gv_x = space.
exit.
endif.
enddo.
now you can catch the mode in TA SM50, go in it, change gv_x to space and debug what is coming further. -
Bleed Size, Trim Size, Type Size? Help!!!
Hello, quick question, I'm normally a web designer but we have a couple of print jobs in.
I've been asked for the following.
Bleed size, (281x216mm) fine
Trim size, (275x210mm) fine
Type size...... (257x172mm) um...
Is this the area in which the type should sit....? If so, that sort of screws up my designs....
Thanks in advance, TDI would interpret that Type Size dimension as the "safe area" in which all important information should be located, but it would help to know more about the project since the dimension listed is quite a bit smaller than would be generated by subracting the bleed allowance from the trim size (how you normally calculate the safe zone), and would suggest margin settings instead.
-
PLS-00306: wrong number or types of arguments help!!!
Hi,
I am new to pl/sql programming I am stuck into oracle error for my code. Plz help me with this issue my code is as follow:
CREATE OR REPLACE PROCEDURE raise_salary
(emp_id IN employee.employee_nb%TYPE,
amount IN employee.salary%TYPE,
emp_name OUT employee.employee_name%TYPE)
IS
BEGIN
UPDATE employee SET salary= salary+amount WHERE employee_nb = emp_id;
SELECT employee_name INTO emp_name FROM employee WHERE employee_nb=emp_id;
DBMS_OUTPUT.PUT_LINE('SALARY HAS BEEN UPDATED FOR ' || emp_name);
END;
errror:
Error report:
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'RAISE_SALARY'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:There is a problem with emp_name OUT employee.employee_name%TYPE parameter. OUT means WRITE ONLY, IN means READ ONLY. So you can not read from an OUT parameter and you are trying to do that in the line
DBMS_OUTPUT.PUT_LINE('SALARY HAS BEEN UPDATED FOR ' || emp_name);
CREATE OR REPLACE PROCEDURE raise_salary(emp_id IN employee.employee_nb%TYPE,
amount IN employee.salary%TYPE,
emp_name OUT employee.employee_name%TYPE) IS
BEGIN
UPDATE employee SET salary = salary + amount WHERE employee_nb = emp_id;
SELECT employee_name
INTO emp_name
FROM employee
WHERE employee_nb = emp_id;
/*** DBMS_OUTPUT.PUT_LINE('SALARY HAS BEEN UPDATED FOR ' || emp_name); ***/
--Problem in in the above line. emp_name IS Declared AS OUT
--So it is WRITE ONLY. You can not read from it within the procedure.
END;What you can do is to declare that parameter as IN OUT like
CREATE OR REPLACE PROCEDURE raise_salary(emp_id IN employee.employee_nb%TYPE,
amount IN employee.salary%TYPE,
emp_name IN OUT employee.employee_name%TYPE)but there is some other more elegant and better way to do this without hitting the table twice (one for update and one for selecting the name) using RETURNING clause.
SQL> CREATE OR REPLACE PROCEDURE raise_salary(emp_id IN emp.empno%TYPE,
2 amount IN emp.sal%TYPE,
3 emp_name IN OUT emp.ename%TYPE) IS
4 BEGIN
5 UPDATE emp
6 SET sal = sal + amount
7 WHERE empno = emp_id RETURNING ename INTO emp_name;
8 DBMS_OUTPUT.PUT_LINE('SALARY HAS BEEN UPDATED FOR ' || emp_name);
9 END raise_salary;
10 /
Procedure created.
SQL> set serverout on
SQL> DECLARE
2 v_name emp.ename%TYPE;
3 BEGIN
4 raise_salary(7369,100,v_name);
5 END;
6 /
SALARY HAS BEEN UPDATED FOR SMITH
PL/SQL procedure successfully completed.
SQL> NOTE: There is no commit or rollback in this (as in your original example). So you have to issue implicit commit or rollback.
Edited by: Saubhik on Oct 29, 2010 11:44 PM
Edited by: Saubhik on Oct 29, 2010 11:50 PM -
Problem with file types. Please help
I recently downloaded the entire Sun Java Tutorial and have started to go through it. At the end of the first main trail about inro to OO Programming, there is a question/answer portion. There are a couple of excercies where you are to go through the ClickMe app and change some things around. When you click the 'click me' hyperlink, it would open the source in a new Internet Explorer window. That didn't work well for me as I can't very well edit anything in an Explorer window. So, I decided to change and do an 'open with' and used NotePad. Well, it didn't open it in a very readable format... so I thought 'forget it' I want to get it back to the IE format where I can at least read it easily. So, I've started to dig around and now I can no longer do an 'open with' and if you go into the View, Options, File Types 'JAVA' isn't listed anywhere in there.... BUT if I try to add a new type it says'java_auto_file' is associated with another program. So, then I got into REGEDIT and tried to modify the 'java_auto_file' key to use InterNet Explorer... but now I can't get the thing to even open in IE. HELP? If anyone can do this and see what I'm talking about can you figure out how to get me back to how it was when I pulled off the Tutorial....I'm lost. Thanks
Try Netscape -- it lets you see the source files .java when you click on the link.
Messing with Window's Registry is risky business. Try to find the old working copy and restore/rename it. -
Pass these documents a object ID, application and output type..plz help
Hi frnds,
To select all the billing documents from from the document flow table i have
this peice of code----
SELECT VBELN FROM VBFA INTO CORRESPONDING FIELDS OF TABLE IT_VBFA
FOR ALL ENTRIES IN ITAB_VBAK WHERE VBELN = ITAB_VBAK-VBELN
AND VBTYP_N = 'C' OR VBTYP_N = 'G'.
i want to ---Pad two zerou2019s before the document and pass these documents a object ID,
application and output type.
Get the object ID, processing status for each billing document number and
display in the pop up window for the user.
i hope to use in NAST TABLE.
how to code this...
thnx
daniel
<LOCKED BY MODERATOR - URGENT, PLEASE HELP OR SIMILAR ARE FORBIDDEN>
Edited by: Alvaro Tejada Galindo on Aug 18, 2008 1:14 PMUse
declare the field b_vbeln of length u want adding length for 2 '0' also.
ex:- Vbeln length = 10
b_vbeln type i length 12.
b_vbeln = vbeln.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = b_vbeln
IMPORTING
OUTPUT = b_vbeln.
U will get b_vbeln with 2 '0' or always the value be of 12 length. -
InDesign crashing when using type tool - any help?
Hi,
Ive looked for this problem in the threads here but couldnt find the solution, only similar problems.
I use InDesign on OSX and it works fine until I use the type tool - in new or old documents. Then it crashes.
I tried reinstalling the program and uninstalling, also uninstalling the last fonts added to the system to no success.
Any help would be much appreciated.Hi Steve,
Its CC and it was working perfectly.
I was on OSX Mavericks when I last edited documents.
I've updated the OS to Yosemite a few days ago. Illustrator and Photoshop worked perfectly on Yosemite.
I also installed a few fonts, which worked on Illustrator, if that's of any help.
I've uninstalled all the recent additions and tried using InDesign afterwards, but its still crashing.
I can post the error log I receive.
Maybe you are looking for
-
Error message on a shared desktop
I am the administrator of my iMac (with three others who have separate accounts on it). When I upload photos in iPhoto and others want to view them from their account, it sends them right to iPhoto editor and then displays an error message: "Image c
-
Laserjet 300 color MFP nw STOPS SEEING NETWORK after period of inactivity
I work in an office of a television show. We are all on Macs. Printer worked fine for a while, now has an annoying problem. IF we turn it on, it prints fine for a while and the printer IP is seen by my browser. BUT, if you wait an indefinite amount
-
I have recently installed the latest version of GarageBand on my recently purchased MacBook Pro 13" Retina. After discovering two GarageBand icons in the Launchpad, I removed the older version, only to discover that the app was also automatically era
-
Merged child project's TOC not appearing in parent project's TOC
System Information Windows XP Professional, SP2 Windows Explorer 6.0 RoboHelp X5.0.2 Generating RoboHelp HTML Help (.chm) Issue I had the following Help projects: 1. CombinedProductHelp.chm (parent project) 2. ProductHelp.chm (child 1 project) 3. Pro
-
Macbook Pro 15" Unibody coffee spill question...
So long story short, my fiance' spilled her coffee and it got into my macbook pro. wasn't a whole cup or anything but still not good. So certain keys are now wigging out which is totally understandable. I will be getting it repaired sometime next wee