Jspdynpage font color and legend

Ineed to change color of font in jspdynpage application.Any idea
2) when i click on  the column heading it should show a popup showing legend for what it stands for?
Any help will be appreaciated,

Hi,
To change the font color you need to either need to create a .css file for you application and within that u need to add the following lines :
.fontcolorchange {
  font-family: Verdana, Geneva, sans-serif;
  background-color:#80FF80;
  border: 0px;
  color: #000;
and then use this as follows :
<table>
<tr class ="fontcolorchage">
<td>and</td>
</tr>
</table>
or in the th jspDynpagen use the following tag :
<font color="colorName">text</font>
I think it will be helpful.
Please reward with points if helpful.
Thanks
Ritu
Message was edited by:
        Ritushree Saha

Similar Messages

  • Is it possible to change the CATEGORY TITLE font color and/or size of each tile group in start screen, when the tiles are sorted by CATEGORY?

    TIA.

    Q.  Is it possible to change the CATEGORY TITLE font color and/or size of each tile group in start screen, when the tiles are sorted by CATEGORY?
    A.  No
    Carey Frisch

  • Font color and font style

    Can i know how can i change the color ,size and the style of the font in a text area?
    and also how can i get the font style and font size currently use in the text area?

    No, a Font doesn't have a colour. But you can set the colour of the text in a text area with setColor().

  • Setting Font Color and Bold Property in ALV Grid

    I have a requirement to set the font in particular ALV Cells  in red color.
    Also this font (text) has to be set to Bold.
    I know how to set cell coloring in ALV Grid, but have no idea regarding how to set font color.
    Could please give me an idea/code segment/suggestion.
    Thank You!

    Please refer this post
    Coloring of ROWS in ALV tree

  • Font Colors and Formatting Refuse to Stick

    I've been having a problem with iChat where, when I IM somebody with iChat, my fonts and colors show up as I see them, but when I IM somebody with AIM for Windows from my iChat account, it simply shows up as black on white.
    I've already gone through preferences and set my fonts up there, but after one message to someone on AIM, my formatting goes back to black on white.
    How do I get the fonts to stay permanent?
    Thanks again!

    Hi Derek,
    It is not your problem.
    It is AIM's way of showing your text.
    The best it can do it to colour your Name and this appears to be random on the PC AIM app.
    7:27 PM Saturday; August 11, 2007

  • I followed the instructions for changing font colors and it worked a few times then stopped working.

    latest version of Firefox

    What instructions are you referring to and why do you want to change the colors?
    *https://support.mozilla.org/kb/Websites+look+wrong
    *https://support.mozilla.org/kb/Website+colors+are+wrong
    *https://support.mozilla.org/kb/Changing+fonts+and+colors

  • Font color  and font effects in sap scripts

    Hi,
    I want to change the color of font(usually it is black).I want in some other color other than black.
    Thanks in advance,
    Priya.

    Hi Priya,
    I know it's quite a long time that you started this discussion.
    But if you still want to know the answer, please go through my blog on how to do color printing in SAP scripts.
    White Paper on 'Color Printing in SAP Scripts'
    Regards,
    Sireesha Ch

  • I have lost the ability to change fonts,use color and size and when I try to write anyone,I cannot see my mailing list and there is no send button.

    A few months ago my ability to use different fonts, colors and sizes suddenly disappeared. These choices were always available when looking at my email and I used them regularly . No one I asked ever heard of such a thing happening. I left it alone until I found someone to help. Then, a few days ago, when I clicked "write" , two things happened. First, I could not forward, reply or even see my collected email addresses. Second, there was no longer a place that said "send". My email page filled the entire screen and when I scaled it down, there was still no way to see my list or to send. I am a novice when it comes to fixes and terms but, I have asked people who have some experience with PC's they were stumped. I contacted Fairpoint and they said it must be a Thunderbird problem. Most of the people I asked said they didn't know Thunderbird. One suggested that I reinstall T.bird but, said I also might lose everything on my PC. I would appreciate any help you can give. Thanks, Jim

    When you click Write and open the new message editor, press Alt to show the Menu Bar, then enable all the toolbars under View/Toolbars. Plus, press F9 to show the Contacts sidebar.

  • How do I change header/footer print options for font, font size, and color?

    I know how to change the text for web page print of footers/headers. I can see no option to change font, font color, or font size (such as available on IE). I want to change the font, font color and font size of the footer/header when I print a web page. I read the FAQs, found nothing that seems to fit. Can you assist? or is this option available on Mozilla. I have the latest/greatest version (set to auto update).

    OK, my question was about how to change font/color in headers/footers... This suggestion changes the font/color in the text, but NOT in the footers, unless I want everything in the same font/color. I need footers/headers in RED BOLD. I can do this on IE, but there does not seem to be an option for Mozilla.

  • JText Area( mixing colors and fonts)

    Hi,
    I`m trying to implement a JTextArea that allows the user to type away quite happilly in a default font and color, but if needed they can click a button, and then when they resume typing it will display the new text in a different font and color. Is this possible? If so, how?
    At the moment when they click the button, all the previous text as well as the new text changes to the new font.
    Basically I was wondering if it was possible for a JTextArea to display text of vaying fonts and colors.
    Thanx in advance.

    Try using a textPane instead. Combine this with a RTFTextEditor and you can use every available font,color and other attributes on every part of your text. There are lots of examples about this subject (even some of mine as well) so just search the forum archive.
    Hope this will get you in the right way...
    Korque.

  • How to change font/ font color etc in a graphic object using JCombobox?

    Hello
    My program im writing recently is a small tiny application which can change fonts, font sizes, font colors and background color of the graphics object containing some strings. Im planning to use Jcomboboxes for all those 4 ideas in implementing those functions. Somehow it doesnt work! Any help would be grateful.
    So currently what ive done so far is that: Im using two classes to implement the whole program. One class is the main class which contains the GUI with its components (Jcomboboxes etc..) and the other class is a class extending JPanel which does all the drawing. Therefore it contains a graphics object in that class which draws the string. However what i want it to do is using jcombobox which should contain alit of all fonts available/ font sizes/ colors etc. When i scroll through the lists and click the one item i want - the graphics object properties (font sizes/ color etc) should change as a result.
    What ive gt so far is implemented the jcomboboxes in place. Problem is i cant get the font to change once selecting an item form it.
    Another problem is that to set the color of font - i need to use it with a graphics object in the paintcomponent method. In this case i dnt want to create several diff paint.. method with different property settings (font/ size/ color)
    Below is my code; perhaps you'll understand more looking at code.
    public class main...
    Color[] Colors = {Color.BLUE, Color.RED, Color.GREEN};
            ColorList = new JComboBox(Colors);
    ColorList.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent ev) {
                     JComboBox cb = (JComboBox)ev.getSource();
                    Color colorType = (Color)cb.getSelectedItem();
                    drawingBoard.setBackground(colorType);
              });;1) providing the GUI is correctly implemented with components
    2) Combobox stores the colors in an array
    3) ActionListener should do following job: (but cant get it right - that is where my problem is)
    - once selected the item (color/ font size etc... as i would have similar methods for each) i want, it should pass the item into the drawingboard class (JPanel) and then this class should do the job.
    public class DrawingBoard extends JPanel {
           private String message;
           public DrawingBoard() {
                  setBackground(Color.white);
                  Font font = new Font("Serif", Font.PLAIN, fontSize);
                  setFont(font);
                  message = "";
           public void setMessage(String m) {
                message = m;
                repaint();
           public void paintComponent(Graphics g) {
                  super.paintComponent(g);
                  //setBackground(Color.RED);
                  Graphics2D g2 = (Graphics2D) g;
                  g2.setRenderingHint             
                  g2.drawString(message, 50, 50);
           public void settingFont(String font) {
                //not sure how to implement this?                          //Jcombobox should pass an item to this
                                   //it should match against all known fonts in system then set that font to the graphics
          private void settingFontSize(Graphics g, int f) {
                         //same probelm with above..              
          public void setBackgroundColor(Color c) {
               setBackground(c);
               repaint(); // still not sure if this done corretly.
          public void setFontColor(Color c) {
                    //not sure how to do this part aswell.
                   //i know a method " g.setColor(c)" exist but i need to use a graphics object - and to do that i need to pass it in (then it will cause some confusion in the main class (previous code)
           My problems have been highlighted in the comments of code above.
    Any help will be much appreciated thanks!!!

    It is the completely correct code
    I hope that's what you need
    Just put DrawingBoard into JFrame and run
    Good luck!
    public class DrawingBoard extends JPanel implements ActionListener{
         private String message = "message";
         private Font font = new Font("Serif", Font.PLAIN, 10);
         private Color color = Color.RED;
         private Color bg = Color.WHITE;
         private int size = 10;
         public DrawingBoard(){
              JComboBox cbFont = new JComboBox(GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames());
              cbFont.setActionCommand("font");
              JComboBox cbSize = new JComboBox(new Integer[]{new Integer(14), new Integer(13)});
              cbSize.setActionCommand("size");
              JComboBox cbColor = new JComboBox(new Color[]{Color.BLUE, Color.RED, Color.GREEN});
              cbColor.setActionCommand("color");
              JComboBox cbBG = new JComboBox(new Color[]{Color.BLUE, Color.RED, Color.GREEN});
              cbBG.setActionCommand("bg");
              add(cbFont);
              cbFont.addActionListener(this);
              add(cbSize);
              cbSize.addActionListener(this);
              add(cbColor);
              cbColor.addActionListener(this);
              add(cbBG);
              cbBG.addActionListener(this);
         public void setMessage(String m){
              message = m;
              repaint();
         protected void paintComponent(Graphics g){
              super.paintComponent(g);
              Graphics2D g2 = (Graphics2D)g;
              g2.setColor(bg);//set background color
              g2.fillRect(0,0, getWidth(), getHeight());          
              g2.setColor(color);//set text color
              FontRenderContext frc = g2.getFontRenderContext();
              TextLayout tl = new TextLayout(message,font,frc);//set font and message
              AffineTransform at = new AffineTransform();
              at.setToTranslation(getWidth()/2-tl.getBounds().getWidth()/2,
                        getWidth()/2 + tl.getBounds().getHeight()/2);//set text at center of panel
              g2.fill(tl.getOutline(at));
         public void actionPerformed(ActionEvent e){
              JComboBox cb = (JComboBox)e.getSource();
              if (e.getActionCommand().equals("font")){
                   font = new Font(cb.getSelectedItem().toString(), Font.PLAIN, size);
              }else if (e.getActionCommand().equals("size")){
                   size = ((Integer)cb.getSelectedItem()).intValue();
              }else if (e.getActionCommand().equals("color")){
                   color = (Color)cb.getSelectedItem();
              }else if (e.getActionCommand().equals("bg")){
                   bg = (Color)cb.getSelectedItem();
              repaint();
    }

  • How do I change font colors in the navigation bar

    I'm designing a new website for my son's high school lacrosse team. It looks great, and I hope to upload it in the next week. The one thing that I haven't been able to do is change the font colors and font type in the page navigation links a the top of the pages. Can anyone help me with this?

    I outlined methods to change iweb navbar in this thread:
    http://discussions.apple.com/thread.jspa?messageID=11004066&#11004066
    and cited inefficient of building text base/box navbar:
    http://discussions.apple.com/thread.jspa?messageID=8136472&#8136472

  • Is there anyway to change the font colors on webpages in Safari 5.1?

    As I'm getting ol der, my eyesight isn't as good as it used to be, despite new prescription glasses I just picked up last week. I'm finding that many webpages, opened in Safari 5.1, have font colors and sizes I can't read. Shades of grey are particularly a problem for me, as are some other colors too.
    I can enlarge some parts of some pages, but often the quality then degrades and the letters and images become fuzzier.
    Is there a way to override the webpages' designated font sizes and colors so I can read them more clearly?

    Hi
    Safari-Preferences-Advanced-Universal Access - Never use font sizes smaller than...
    should deal with most pages - try 14 at least, or 16/18
    colours are harder in Safari without either using a suitable Extension, say from https://extensions.apple.com/  or making safari use a custom style sheet via Safari-Preferences-Advanced-Style Sheet
    Camino browser makes it nice & easy to force your own fontss/sizes/colours - but I think I've seen a safari extension to do the same.

  • Changing font color site-wide??

    Hi,
    I am trying to change the color of my font and my links
    site-wide. Is there any easy way to do this?
    Thanks,
    David

    You would need to add those to a stylesheet that was linked
    to all the
    pages, not just in the head of a single document.... 8)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Virginia Carter" <[email protected]>
    wrote in message
    news:g2ui3m$sml$[email protected]..
    > Yep -- you can do this with CSS...
    >
    > If you want all your text to be red, then just add this
    to the head of the
    > document:
    >
    > <style type="text/css>
    >
    > body {color: #F00;}
    >
    > </style>
    >
    > Likewise, if you want all of your links to be white, you
    would add the
    > following:
    >
    > a {color: #FFFFFF;}
    >
    > Those will globally change your font color and link (a
    href) color
    > throughout your entire site, assuming you don't have any
    other CSS
    > anywhere...
    >
    > --
    > Virginia Carter
    > Carolina Web Creations
    > ======================
    > www.carolinawebcreations.biz
    >
    > David Way wrote:
    >> Hi,
    >>
    >> I am trying to change the color of my font and my
    links site-wide. Is
    >> there any easy way to do this?
    >>
    >> Thanks,
    >>
    >> David

  • Setting font colors

    Is there a way to set the font color so that it isn't just white or whatever the default terminal font color is. I know there is a Font class, but I don't really understand how that works, whether I do Font.color and it will change the default changes or what. Can somebody direct me to more information that I can read up on, or if they know themselves. Thank you.

    I don't think fonts apply to terminals. They apply to GUIs, documents, and similar things that support different font types. I doubt there is a way using pure Java to change the color of text in a terminal, since that sounds like something that is OS specific.

Maybe you are looking for

  • How to convert the compund case statement into decode statement

    (CASE WHEN FRCST = 0 AND SALE = 0 THEN 'No transaction ' WHEN FRCST = 0 AND SALE <>0 THEN 'Sale ag. Nil Forecast : '||SALE||' Kgs' WHEN FRCST<> 0 AND SALE = 0 THEN 'No Sale ag. Forecast : '||FRCST||' Kgs' WHEN FRCST<>0 AND SALE<>0 AND DIFF=0 THEN 'No

  • I am not able to save the themes on the new Yahoo. mail site

    The new yahoo mail themes will not load and remain. When I log off and then log in again I lose the theme I saved before. I am able to do so with IE, but not firefox. I want to use firefox exclusively, but this is a problem.

  • RPC Fault

    I built a simple RPC web service, deployed successfully on Tomcat/Axis2-1.3. I tested it and it is working. I built a "SimpleWeatherClient.mxml" that seems to send the request to the server, receive a response, but fail to process the result. I've at

  • NTP alert in logs

    We have a critical NTP alert in the logs. UCCX is configured to pull NTP from CUCM1(primary) and CUCM2(sub). It is failing to pull time from CUCM2. I haven't done a "utils NTP restart" yet because I wasn't sure if it would affect service.CUCM2 has a

  • Import Scenarios - Keep folder structure

    When I import a scenario folder the scenarios get inserted into the root of the Scenario pane and lose the folder they where in - Is this normal behaviour ? Is there a way to keep the folder structure? Its a royal PITA to drag and drop again as im wo