How to use Underline feature in Font Class
I am making an applet to test the Bold, Italic and Underline feature of any Font but there is no such Font Constant to Underline the Text. Can you help me to get Underlined Text through Font class or any such alternative to achieve my goal?
Thanks.
Arjun Thadani
email: [email protected]
A type of underline is the character '\u0332',
Try for example.
char[] chs = new char[]{(char)0x30,(char)0x0332,(char)0x41,(char)0x0332};
str = new String(chs);
Similar Messages
-
V.Important: How to use se24 to build a class step by step: Points assured
hi all
I am new to OO based abap programming. I want to build a class using SE24 but i dont know where to put the various pieces of code in SE24.
Can anyone please provide a step by step procedure (including screenshots) on how to use SE24 to build a class using most of the features like constructor, attributes , interface , friend etc.
Documents would be more helpful as compared to links.
Points will be awarded
thanks in advanceHi,
Just follow the below givenlink. Using this you can create a class in SE24.
http://help.sap.com/saphelp_nw04/helpdata/en/b3/f4b1406fecef0fe10000000a1550b0/content.htm
I think the below document would be
a very good introduction
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0a33479c-0b01-0010-7485-dc8c09d6bc69
See the Following Dem Program:
DEMO_ABAP_OBJECTS Complete Demonstration for ABAP Objects
DEMO_ABAP_OBJECTS_CONTROLS GUI Controls on Screen
DEMO_ABAP_OBJECTS_DIALOG_BOX Splitter Control for Screen with Dialog Box
DEMO_ABAP_OBJECTS_EVENTS Demonstration of Events in ABAP Objects
DEMO_ABAP_OBJECTS_GENERAL ABAP Objects Demonstration
DEMO_ABAP_OBJECTS_METHODS Demonstration of Methods in ABAP Objects
DEMO_ABAP_OBJECTS_SPLIT_SCREEN Splitter Control on Screen
Regards,
Padmam. -
How to use abap memory in global class
Hi experts,
I want to know how to use abap memory in global class. when i try write export and import statement its showing
error is export statement does not support in object oriented concept.
Thanks
Ramesh ManoharanHi Ramesh,
Export and import statements were not allowed to use in classes. Create a global variable in public section of that class of type of export parameter.Then pass value to the global variable of class by calling that class.
by
Prasad GVK. -
How to use autosuggest feature in adf?
how to use autosuggest feature in adf?
You can refer below link
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/004-auto-suggest-169120.pdf
Thanks
AJ -
Can someone tell me please how to use the features...
Hi all,
Can someone tell me please how to use the features on the HS-47 headset?
That is, what functions does the button control and how many presses of the button for each function, etc?
The headset was as supplied with my 6200.
I've tried looking for a user guide but I don't think there is one.
Many thanks,
Steve.I think it's pretty basic.
If you are listening to music on your phone, it should automatically mute it when a call comes in. A basic press of the call answer / end button should then do just that.
Have a go! You could try experimenting with a quick double press, that may recall the last number you dialled, but otherwise that's probably it. -
How to use highlighter feature
I have Adobe Acrobat Professional 8. I want to search an existing document and have it automatically highlight all words in my search and save the document with those words highlighted so I can print it that way.
I see how to highlight them one at a time but there must be a way to have it highlight all the words for me?
RaeHi,
I provide technical support for all adobe acrobat related questions... even those that adobe support fails to answer... if your work is interrupted because you have problems with how to use acrobat features or its giving you errors or its crashing on you... just let me know... I charge very less and support is provided! -
I am using Photoshop CC2014 15.00. In the pop-up menu for the Fill command there is a place for Scripted patterns. Within that part, the tree and the picture frame are grayed.
Why? I've seen demonstrations on how to use the feature but mine doesn't work. I checked the updates and I have the current version.
Thanks. LMI am running CC 2014.2.1 and I've updated to Yosemite. Not seeing tree or frame as an option in the menu. Coworker still on Mavericks has it.
-
How to use Adobe Edge Web Fonts correctly
I am a Dreamweaver newbie and am trying to learn how to use it through the tutorials. I am stuck at part 3 trying to use Adobe Edge Web Fonts correctly in my web site. As far as I can tell I have followed the instructions in the tutorial correctly, but the font style effect does not show up on my site. I am working on a Windows 7 machine and using Dreamweaver 5.5. I have copied and pasted the javascript into the correct spot in the head of the index.html page as well as included the font-family name in the CSS file and saved the whole smash. The source code for my index page looks exactly like the sample in the tutorial, and I have tried to view my site in my browser, but no dice. Doesn't display the Edge Web Font style in the web page. I believe I've done everything according to the directions, but I suppose I've missed some small detail. Any suggestions greatly appreciated
You need to add a <script> to the head of your documents like the example below. In my example, I'm using all of the aguafina-script and league-gothic fonts.
<!--Edge Font-->
<script src="//use.edgefonts.net/aguafina-script:n4:all;league-gothic:n4:all.js"></script>
CSS:
h1 {
font-family: league-gothic, sans-serif;
font-weight:bold;
color: #639;
font-size: 250%;
A simple way to get the correct codes is to go to Adobe Edge Web Fonts and select the font you wish to use.
https://edgewebfonts.adobe.com/fonts
NOTE: You won't see the custom web fonts displayed in Design View, Live View or when previewed locally unless you use a local testing server. An easier way to test is by uploading the page to your remote server.
Hope this helps,
Nancy O. -
How to use two types of fonts in a richtextdocument
hello,
i want to print a barcode and some text into a richtextdocument
example:
this.richTextBox1.AppendText("\n");
Font f1 = new Font("3 of 9 Barcode", 50);
this.richTextBox1.Font = f1;
this.richTextBox1.AppendText("*1234554*");
Font f2 = new Font("Arial", 20);
this.richTextBox1.Font = f2;
this.richTextBox1.AppendText("fooo");
but it always uses the second one?
how can i resolve this?
i want to use two types of fonts in the same rich text document.
thank you very much!!Select some text and then set the SelectionFont property for each selection, e.g.:
this.richTextBox1.AppendText("\n");
this.richTextBox1.AppendText("*1234554*");
richTextBox1.SelectionStart = 1;
richTextBox1.SelectionLength = 9; //End of first word
richTextBox1.SelectionFont = new System.Drawing.Font("Tahoma", 10);
this.richTextBox1.AppendText("fooo");
richTextBox1.SelectionStart = 10;
richTextBox1.SelectionLength = 4;
richTextBox1.SelectionFont = new System.Drawing.Font("Arial", 20);
Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. -
Can you please help me figure out my i phone and how to use the features
i need some help on figuring out my phone can you please help me figure out how to use my i phone and the blue tooth features to listen to music or how can a friend or a relative send me songs for me to listen to.....
To listen to music with a headset or earbuds via bluetooth requires a bluetooth stereo headset.
File transfer via bluetooth is not supported. A friend or relative can purchase music for you via the iTunes music store with an iTunes store gift card or by sending you the music gift via email from iTunes. -
How to use custom password encryptor/decryptor class for jdbc connection
I am in process of migrating application from Jrun server to weblogic . In jrun we use to provide our custom class which used to decrypt the password provided in resource file as below
<username>webclt</username>
<password>AAAAAAASSSSSSSCCCCCCCCCCCCCC</password>
<encrypted>true</encrypted>
<encryption-class>com.CustomEncryptor</encryption-class>
How could i use the same class while configuring datasource in weblogic 10 server.1- By default, the jre will read the user's cacerts which runs the program.
2- You can specify another cacerts this way :
System.setProperty("javax.net.ssl.trustStore", my_trust);
For the case 1 and 2, you need to put the certificate in the cacerts.. Or,
3- You implement a custom TrustManager which, for example, accepts all certificates :
class X509TrustManagerTrustAll implements X509TrustManager {
public boolean checkClientTrusted(java.security.cert.X509Certificate[] chain){
return true;
public boolean isServerTrusted(java.security.cert.X509Certificate[] chain){
return true;
public boolean isClientTrusted(java.security.cert.X509Certificate[] chain){
return true;
public java.security.cert.X509Certificate[] getAcceptedIssuers() {
return null;
public void checkClientTrusted(java.security.cert.X509Certificate[] chain, String authType) {}
public void checkServerTrusted(java.security.cert.X509Certificate[] chain, String authType) {}
and you call it in the right place in the code you wrote (SSLContext,..)
Hope it helps and deserves a duke star ;) -
How to use logging in the actions classes extends standart actions?
Hello!
I have some action classes extends standart actions, for example Z_ExtMaintainBasketDispatcherAction extends MaintainBasketDispatcherAction. I tried to use logging functionality in my classes but there were no my lines in log and trace files.
For example I added followed lines in basketPerform() method of Z_ExtMaintainBasketDispatcherAction:
boolean isDebugEnabled = log.isDebugEnabled();
if(isDebugEnabled){
log.debug("++++++++++++++++ Test tracing in B2B_SNG. ++++++++++++++++");
but in there was no such line neither in log file nor in trace file.
How I can use logging functionality in my own classes? I need it for tracing and logging.
CRM 5.0
regards, LevWell, here is solution. I created a log formatter and log destination like this:
<log-formatters>
<log-formatter name="application_sap.com/crm~b2b" type="TraceFormatter" pattern="%d,%-3p %t %s %l %m"/>
</log-formatters>
<log-destinations>
<log-destination name="application_sap.com_crm.b2b" type="FileLog"
count="10" effective-severity="ALL" limit="10000000" pattern=".\log\applications\isa_ru.log">
<formatter-ref name="application_sap.com/crm~b2b"/>
</log-destination>
</log-destinations>
and new log controller like this:
<log-controller effective-severity="ALL" name="ru.sng.isa">
<associated-destinations>
<destination-ref name="application_sap.com_crm.b2b" association-type="LOG"/>
</associated-destinations>
</log-controller>
in file META-INF\log-configuration.xml
Thanks everybody for help!
Regards, Lev. -
How to use a protected attribute of class cl_gui_alv_grid
Hello all,
i have a scenario where i need to use the attribute 'm_appl_events' which is protected attribute. in need to add this event type into my events and add this to registered events.
when i tried to use this with refrence to class i defined, it showing an error message 'access to protected attribute m_appl_events is not allowed. i already inherieted the cl_gui_alv_grid class into my class
can any one please tell me how exactly could i use the protected attribute.
Thanks,
raju NHi Krishna,
Protected method or attrubute can be accessed through Inheritence or Friends functionality. So you can inheritence easily in you case . so that you can access the variable in the Inherited sub class only. So you can write 2 methods ie GET or SET ing the value of your protected method.
I think this informatio may help you.
Best Regards,
Vijay -
How to use protected method of a class in application
Hi,
will u please tell me how to use protected method of class in application. (class:cl_gui_textcontrol, method:limit_text)
Thanks in advance,
Praba.Hi Prabha,
You can set the maximum number of characters in a textedit control in the CREATE OBJECT statement itself.
Just see the first parameter in the method . I mean MAX_NUMBER_CHARS. Just set that value to the required number.
Eg:
data: edit type ref to CL_GUI_TEXTEDIT.
create object edit
exporting
MAX_NUMBER_CHARS = 10
STYLE = 0
WORDWRAP_MODE = WORDWRAP_AT_WINDOWBORDER
WORDWRAP_POSITION = -1
WORDWRAP_TO_LINEBREAK_MODE = FALSE
FILEDROP_MODE = DROPFILE_EVENT_OFF
parent = OBJ_CUSTOM_CONTAINER
LIFETIME =
NAME =
EXCEPTIONS
ERROR_CNTL_CREATE = 1
ERROR_CNTL_INIT = 2
ERROR_CNTL_LINK = 3
ERROR_DP_CREATE = 4
GUI_TYPE_NOT_SUPPORTED = 5
others = 6
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
In this case, the max: number of characters will be set to 10.
I hope your query is solved.
Regards,
SP. -
Is there a place summarizing How To use new features?
I upgraded to Lion, but now I'm searching everywhere ho to use each new feature.
Apple's "Lion"'s page is just showing what features are new but now how to use/activate them.
Any place where I can go to see them all explained as to how to use, implement, activate?http://www.apple.com/macosx/whats-new/#video-lion
Maybe you are looking for
-
I had my ipod touch set up to itunes and when i got my iphone i couldnt use the same id so i had to make a new one and i would like to link them together so i can put my music on my iphone how do i do it
-
How to use smart view plugin in firefox 2.0
Can anyone help me in installing and then how to use it in Firefox 2.0
-
Dear BI Gurus, This is my first SAP BI project and I'm responsible for creating reports based on InfoCube 0FIGL_C01 : General Ledger :Transaction Figures using DataSource 0FI_GL_1. Now my question is , I've replicated the DataSource on the BI side ,
-
Exception in newInstance in windows NT (CORBA persistent server)
I have used this code for CORBA persistent server....its working fine in Solaris OS ,but getting exception in newInstance call in the following code.Code fragment and Exception are given below,....pls help private org.omg.PortableServer.Servant loadM
-
I recently purchased adobe indesign I'm trying to download it but i'm getting a message that's saying "Install.app" can't be opened because it is from an unidentified developer. Your security preferences allow installation of only apps from the Mac A