How to make panelHeader title to be in Red color.
Hi,
I have to show one of the three panelHeader Tititle to be in red color.
I have already set the inline style as
inlineStyle="color:Red;"
But still it renders with the default color.
Any pointers ??
Thanks
Sumit Yadav
Edited by: Sumit Yadav on Aug 24, 2011 3:20 PM
trinidad-config.xml should have
<?xml version="1.0" encoding="windows-1252"?>
<trinidad-config xmlns="http://myfaces.apache.org/trinidad/config">
<skin-family>dummySkin</skin-family> // this is your css name
</trinidad-config>trinidad-skin.xml - you have to create this
<?xml version="1.0" encoding="windows-1252" ?>
<skins xmlns="http://myfaces.apache.org/trinidad/skin">
<skin>
<id>dummySkin.desktop</id> // note here
<family>dummySkin</family> // note here
<extends>blafplus-rich.desktop</extends>
<render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
<style-sheet-name>styles/dummyCSS.css</style-sheet-name> // note here
</skin>
</skins>css -file
.MyCustomPanelHeader af|panelHeader{color: #006699;background-color:red;}
Similar Messages
-
How to make my HP 5150 to print in color with iMac with 10.9 OS
How to make my HP 5150 to print in color with iMac with 10.9 OS
Read the user manual that came w/the printer and/or contact HP Support.
-
How to make the title of screen dynamic in ABAP.
Hi experts,
I want to make the title of screen dynamic like:-
--> i have an initial screen in which program takes some input files..and having a screen title as "INPUT FILE" with a read button.
--> after clicking on read button it reads that file and shows on screen that exel file...here this screen title remains the same as "INPUT FILE" but i want it as "READ FILE". now this screen again having a button as write file.
-- > Now after clicking on this write button this file gets write in to SAP system here i want my screen title as"WRITTEN FILE".
Please help me and tell me the way to do it.
Regards,
Depque.Hi.
Ypu should use a flag as soon as someone clic on the button, in order to keep a value.
Then in PBO Module you should ask for the value of this flag
if w_flag = abap_true ('X')
set tittlebar number01.
else.
set titlebar number02.
endif.
Please let us to know if this could help you.
Regards,
Gabriela -
How to make JTabbedPane Title component take up entire tab width?
Starting with JDK 1.6, JTabbedPane has been enhanced to allow you to specify an arbitrary Component for the title of a tab (I think before, you could only specify a JLabel and/or icon). We make use of this in our application by specifying a Panel with a GridBagLayout and three children: an Icon (on the left), a label (middle), and a close button (right). the middle component, the label, gets all the weightx and has fill set to HORIZONTAL. Everything looks good - as long as the tabs stay on a single row. When another tab is added and the TabbedPane extends to a second row, things don't look: the tabs are allocated alot more white space now - but the Component isn't being given that extra space! Consequently, the icons on the left and right of my label stay next to the label, instead of staying next to the edges of the tab!
Is this a bug in the JDK?
If it's not a bug, how do I make use of all available tab space?Hi Darryl,
Thanks for the suggestion. Below is a primitive standalone example. It brings up an empty frame and you can click on the "Add Tab" button to add a tab. When you do, you'll see that the tab's "title" area consists of an "i" button, a label, and a "x" button. The tab itself isn't much bigger than those three components, so things look ok. Now, add two more tabs....the 2nd tab still fits on the first row of the TabbedPane, so things still look ok. When you add the third tab, the first tab gets placed on a new 2nd row of the TabbedPane and the tab takes up the whole width of the TabbedPane....but the "i" and the "x" buttons are still scrunched up next to the label - rather than near the edges of the tab, where they would be expected.
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
public class TabExample extends javax.swing.JFrame {
public TabExample() {
initComponents();
class TabRenderer extends JPanel {
private JButton infoButton;
private JLabel label;
private JButton closeButton;
public TabRenderer(String title) {
infoButton = new JButton("i");
label = new JLabel(title);
closeButton = new JButton("x");
setLayout(new GridBagLayout());
GridBagConstraints gc = new GridBagConstraints();
gc.gridy = 0;
gc.gridx = 0;
gc.anchor = GridBagConstraints.WEST;
gc.fill = GridBagConstraints.NONE;
gc.weightx = 0;
this.add(infoButton, gc);
gc.gridx = 1;
gc.anchor = GridBagConstraints.WEST;
gc.fill = GridBagConstraints.HORIZONTAL;
gc.weightx = 1.0;
this.add(label, gc);
gc.gridx = 2;
gc.anchor = GridBagConstraints.EAST;
gc.fill = GridBagConstraints.NONE;
gc.weightx = 0;
this.add(closeButton, gc);
private void initComponents() {
tabbedPane = new javax.swing.JTabbedPane();
jButton1 = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
getContentPane().add(tabbedPane, java.awt.BorderLayout.CENTER);
jButton1.setText("Add Tab");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
addTabHandler(evt);
getContentPane().add(jButton1, java.awt.BorderLayout.SOUTH);
pack();
private void addTabHandler(java.awt.event.ActionEvent evt) {
int index = tabbedPane.getTabCount();
tabbedPane.add(new JPanel(), index);
tabbedPane.setTabComponentAt(index, new TabRenderer("Tab " + index));
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
JFrame f = new TabExample();
f.setSize(400, 300);
f.setVisible(true);
private javax.swing.JButton jButton1;
private javax.swing.JTabbedPane tabbedPane;
} -
How to make a title randomly 'jumping around', not 'flowing'?
I'd like to create my own 'watermark title'.
Idea: the ©k.schluter slightly rotates a bit and randomly (done), and 'jumps' randomly across the screen.
Apply a 'random generator' to the titles x/y position, makes it moving/flowing.
What I want is an instant move to a new, random position.
I miss a parameter - which one?
Even better would be:
that title isn't onscreen all time, just 'now&then, here&there'
thanks in advance!I would absolutely love to have conditionals. Also, more access to different kinds of data, like: the bounding boxes of text areas, groups, current states of emitters (all of these have dynamic bounding rectangles.) In the link behavior, a switched alternative to scale: a mathematical function... would be OUTSTANDING (as long as it can be relinked by "chain" in other behaviors. Shouldn't be too difficult to manage -- works just like a spreadsheet; one of the oldest formula applications on computers. I personally would rather see any conditional/language-like instructions implemented as JavaScript and NOT BASIC (or: !BASIC), or even as ActionScript (basically a specialized JavaScript) was implemented in LiveMotion (Adobe, ca: 2000-2003). I would like to have timers (setTimeout, setInvterval) that would not be interfered with by FCPX retiming and users stretching or collapsing effects in the storyline (an automatic Clip.stop() could be called at the end of the last visible frame in FCPX).
As for node-based apps, all we really need is a way to integrate Quartz Composer projects/modules into Motion -- with links into and out of the Quartz project. That would be pretty cool too.
There is, supposedly: FXPlug... but after 30+ years, I'm getting too old to learn another language (Objective C which looks just nasty to this old C programmer) and there is too little information (example code) online about developing plugins with it... at this time... for someone like me, that is. The last serious Mac Programming I did involved the "Toolbox" and "Quickdraw", and a 16/32-bit 68K Motorola microprocessor. By the time the G3's came out, I had pretty much moved over to web technologies (Java, JavaScript, PHP, etc.) Bottom line: I need more help than I can find and the people who are actually developing these things aren't sharing. -
How to make a title of region as a link to another page?
Hi there,
I need to hyperlink a region title, so when I click in the title I will go to another page in the app without login agian, In other words keep the same session.
Thanks,
abdul
Edited by: dtabed on May 12, 2009 1:40 PMAbdul
The full link would be
http://host:port/pls[if using mod_plsql handler]/f?p=&APP_ID.:&APP_PAGE_ID.[if to a specific page]:&APP_SESSION.Hope this helps
Cheers
Ben
http://www.munkyben.wordpress.com
Don't forget to mark replies helpful or correct ;) -
How to make photo part B&W and part color
Anyone know how to do this with either Photo Shop Elements or CS2?
Mark:
Yes, it's fairly easy to do. This is for PS but it'll be similar in PSE except the desaturation function is under the Enhance->Adjust Color menu selection (this is in PSE2. Later versions may be different).
1 - select the area you want to remain in color either with the magic wand, lasso or other means.
2 - in the Select menu choose Inverse.
3 - go to the Image->Adjustments menu and select the Desaturate option.
If you have several non-contiguous areas you want to remain in color you'll need to have each of them selected before performing the desaturation function. I always duplicate the base layer and do my editing on it because when I screw up I only have to remove that layer and make a duplicate instead of closing the file w/o saving and reopening. Saves me lots of time.
Do you Twango? -
How to make a finished sequence look antique in color.
I made a western video and want to make the color of the sequence look antique. I tried the color corrector but I need more brownish color. Help? Thanks in advance.
Try adding the Tint filter and choosing a sepia tone color.
-DH -
How to make words in a text field change color in play mode by clicking on them?
I have a text field on a slide, wanting to change the color of certain words randomly by clicking on them in play mode. I dont know what word in what order will be mentioned by the audience, so I can not set a fixed order in advance.
Any help is appreciated.
Thanks a lot.create a slide with all the text boxes in place
duplicate the slide as many times as you have text boxes you want to change colour
on the second slide, change the colour of one of the text boxes as required
on the first slide, select one of the text boxes
open the inspector: Inspector > Hyperlink >
enable as hyperlink > link to slide > click slide button > select the correct slide from the drop down menu
in play mode, clicking on the hyperlink will display the appropriate slide with that text changing colour
repeate the process for each text box -
How to make partial text in JTextField in different color
I have a JTextField for user input but need to initially display something in one color and whatever user types in will be appended to this initial text with different color. I appreciate any help.
you need a component that can be set up for styled text
like JTextPane possibly or like that.
There is a styled text example in demos i think
and possibly this will help
http://java.sun.com/docs/books/tutorial/uiswing/components/text.html -
How to make File Dialog in different color
Hi to all,
How to make File Dialog to appear in orange color.
Regards
khiz_engI would like to know this also.....but it appears that there is not much you can do with an AWT FileDialog (not even moving it to the center of the screen).
sigh....
V.V. -
ALV: How to make a column color
Hi.
How to make a particular column of any one color in
list dispaly and grid displayHi osk,
1. Row wise color is possible.
2. Not only the full row color,
we can also manipulate the color in each cell.
3.
IMPORTANT THINGS
a. Extra field in internal table
clr TYPE slis_t_specialcol_alv,
(this field will contain the colour codes)
b. assign fieldname to alv layout
alvly-coltab_fieldname = 'CLR'
c. work area for colour
DATA : clrwa TYPE slis_specialcol_alv.
d. Populating the color
Once again
Loop at ITAB.
*********logic
if itab-field < 0 "---negative
clrwa-fieldname = 'FIELDNAME'. "<--- FIELDNAME FOR COLOR
clrwa-color-col = 6. <------- COLOUR 0-9
APPEND clrwa TO itab-clr.
MODIFY ITAB.
endif.
ENDLOOP.
5. just copy paste in new program
6.
REPORT abc .
NECESSARY / MUST
TYPE-POOLS : slis.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : alvly TYPE slis_layout_alv.
ITAB DECLARATION
DATA : prg TYPE sy-repid.
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE t001.
DATA : clname(3) TYPE c,
clr TYPE slis_t_specialcol_alv,
END OF itab.
DATA : clrwa TYPE slis_specialcol_alv.
PARAMETERS : a TYPE c.
DATA : flname TYPE slis_fieldname.
SELECT
START-OF-SELECTION.
SELECT * FROM t001
INTO CORRESPONDING FIELDS OF TABLE itab..
LOOP AT itab..
IF SY-TABIX <= 5.
itab-clname = 'C50'.
ELSE.
itab-clname = 'C30'.
ENDIF.
MODIFY itab.
ENDLOOP.
LOOP AT ITAB.
check itab-bukrs = '1000'
clrwa-fieldname = 'BUTXT'.
clrwa-color-col = 6.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
clrwa-fieldname = 'LAND1'.
clrwa-color-col = 4.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
ENDLOOP.
prg = sy-repid.
flname = 'CLNAME'.
alvly-info_fieldname = 'CLNAME'.
alvly-coltab_fieldname = 'CLR'.
LOOP AT ITAB.
if sy-tabix = 3.
clrwa-fieldname = 'BUTXT'.
clrwa-color-col = 6.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
clrwa-fieldname = 'LAND1'.
clrwa-color-col = 1.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
endif.
ENDLOOP
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = prg
i_internal_tabname = 'ITAB'
i_inclname = prg
CHANGING
ct_fieldcat = alvfc
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
minimum
*CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2
extra
sy-uname = 'XYZAB'.
prg = sy-repid.
Excluding
DATA : excl TYPE slis_t_extab.
DATA : exclwa TYPE slis_extab.
exclwa = '&OUP'.
APPEND exclwa TO excl.
exclwa = '&ODN'.
APPEND exclwa TO excl.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
i_callback_program = sy-repid
is_layout = alvly
i_callback_user_command = 'ITAB_USER_COMMAND'
it_excluding =
excl
i_save = 'A'
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
*& Form itab_user_command
text
-->WHATCOMM text
-->WHATROW text
FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
slis_selfield.
BREAK-POINT.
ENDFORM. "itab_user_command
regards,
amit m. -
How can I make a title (text) on a postcard vertical not horizontal text?
How can I make a title (text) on a postcard layout vertical not horizontal text?
Insert it in a Text Box then rotate this one.
Yvan KOENIG (VALLAURIS, France) lundi 13 juin 2011 16:20:28
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
Please : Search for questions similar to your own
before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
How do I make a title disappear in smoke or just vanish
Hello, I've searched for tutorials regarding this but couldn't find anything but how to make writing out of clouds and title appear from smoke. I want to make a title on a black backround disappear in smoke or vanish in smoke or smth like it. Does anybody know any tutorial that explains this? Also the writing shouldn't be from smoke or cloud or anything, just tipical font, but when it disappears it should disperse in smoke like it's flown away. I would really appreciate some help please!!!
Thanks!There are about a zillion ways to do this. A quick Google Search brings up dozens of tutorials. Like this one, or this one, or . . . If you want to look at video tutorials just click the word videos in the left column.
Some use 3rd party plug-ins, some use stock footage, some use displacement. The process usually involves displacement maps or turbulent displace, some blurring, and some smoke. Smoke can be generated with fractal noise, particle systems, stock footage, or simply filming some smoke against a black background.
Hope this helps. It's too complicated to put the entire process in a post. -
How do you make a title just fade away
I would like to put a still frame title into a clip, and instead of having it just be on the screen one second and a few seconds later instantly be gone, I would like to make the title slowly disapear into nothingness? Anyone know how to do that?
Yes, I'm very sorry. I keep forgetting that Encore and PPCS4 are separate programs. Yes, you do indeed create fading titles in PPCS4. I finally figured it out today. All that is necessary is to Put the new title on the timeline. Then place the timeline indicator bar, or whatever that thing is called, at the front of the title box on your timeline. Open up the effects control box, and expand the opacity box. Click the little diamond on the right side, and this will add a keyframe to the beginning of your title. Go to the end of the title box and click the diamond again to add a key frame to that end. Then just grab the keyframe on the right and pull it down. The title will disappear over the length of the time that it is on your screen.
Thank you Hunt. Also thank you for the advice about the book. I do appreciate it.
Terry Lee Martin
Date: Mon, 10 Aug 2009 20:36:49 -0600
From: [email protected]
To: [email protected]
Subject: How do you make a title just fade away
Terry,
I could be wrong, but isn't this something that one would do in PrPro?
Now, if one wanted a Menu (in Encore) to "fade away," they could create (in PrPro) a Button Transition to do that.
Good luck,
Hunt
>
Maybe you are looking for
-
IPhone 4s went into recovery mode while updating to newest IOS
While I was updating my iPhone 4 tonight to the newest IOS, it stopped and gave me the 'this iphone is in recovery mode' messagae and the only option was to restore it to factory settings. I am running the newest OS on my imac 10.9.2 and my iphone i
-
Informatica 9.1.0 Hotfix2 installation failing at Domain creation step..
Hi, I am trying to install Informatica 9.1.0 with Hotfix 2 on Windows Server 2008 R2 64bit Enterprise Edition. I created a new VIrtual Machine in VM Ware with the above OS and trying to install in it following the steps from below link. http://www.d
-
Connecting my home dvd player to my iMac
Is this at all possible? I don't use my television for anything but watching dvds. I would love to be able to get rid of it and just use my iMac for watching dvds. I have a code-free dvd player and a collection that is split between region 1 and regi
-
Application crashes when I click and drag object. Any time I am in an adobe program on my new computer (OS X Yosemite 10.10.1, 15 inch macbook pro 2.5gHz) say Illustrator for example, it will be fine until I inevitably need to click and drag somethin
-
JDEV Team: Strange behavior in TOMCAT using DATATAGS (VERY CRITICAL)
I am encountering some strange behavior when I deploy my application to TOMCAT. If I run in JDeveloper (webtogo) everything works fine but the behavior changes completely in TOMCAT. Let me try and explain my situation here. I have 3 jsps : 1.iss_list