Metal Theme runtime framework
Is there an existing framework for registering Metal Themes with a running program. Allowing for the application to get the names of registered themes and dispaly them for selection then to envoke the selected theme ?
Aaron
aaronngray,
I think www.jgoodies.com has a demo app that lets one switch themes at runtime: green-theme, bedouin-theme, etc, etc. Dunno whether the demo provides source.
--A
Similar Messages
-
Runtime Framework Profile not visible
Hi,
I am not able to find the step mentioned below in cook book for CRM 5.0
1. Choose Implementation Guide (IMG) activity Customer Relationship Management -u2192 Interaction Center WebClient u2192 Customer-Specific System Modifications u2192 Define IC WebClient Runtime Framework Profiles.
Can somebody provide me with the tcode.
Thanks ,
SanjuHi Sanju
The IMG path for that would be as follows:
IMG > Customer Relationship Management > UI Framework > UI Framework Definition > Maintain Runtime Framework Profile.
Please try to access it via IMG path rather than TCode.
Tcodes from 5.0 are not quite reliable in CRM 6.0.
Here's an example.
For Account identification in CRM 6.0 the path is
IMG > Customer Relationship Management > Interaction Center WebClient > Master Data > Define Account Identification Profiles.
The tcode from 5.0 is CRMC_IC_BPPROF, which works in 6.0. You will see that at first look it seems identical but you'll find "Relationship" and "Object Components" missing from Dialog structure.
I have found several instances of such 5.0 tcodes. So access via img path is more reliable.
Regards
Rupesh Patil -
Look And Feel: Metal Themes
Hello,
I have two basic questions I can't find the answer to. I hope someone can help.
From my understanding of Java 1.5 you now have 2 basic themes to them metal look and feel, they are "Ocean" (the default) and "Steel". Is this understanding correct?
My second question is, I can switch between Look & Feels, ie. default to system, how do you switch between themes though? I want to use "Steel" but can't !
Thanks,
AlanHow to Set the Lood and Feel:
http://java.sun.com/docs/books/tutorial/uiswing/misc/p
laf.htmlThat actually doesn't tell you how to do what he's asking.. at least not from what I saw.
Here's how to set the metal theme in 1.5:
import javax.swing.plaf.metal.*;
public static final String STEEL_THEME_CLASS = "javax.swing.plaf.metal.DefaultMetalTheme";
public static final String OCEAN_THEME_CLASS = "javax.swing.plaf.metal.OceanTheme";
public void changeMetalTheme(String themeName) {
try {
MetalTheme theme = (MetalTheme)Class.forName(themeName).newInstance();
MetalLookAndFeel.setCurrentTheme(theme);
catch (Exception e) { e.printStackTrace(); }
}Note that if you do this after you've created your GUI, you'll have to call SwingUtilities.updateComponentTreeUI() on all top-level windows. -
GTK2 metal theme [SOLVED]
Is there the GTK2 metal theme in the package repository? I've copied across the required files from an older Gentoo installation and everything is working fine except for Gaim, which bombs out:
*** START ***
(gdb) bt full
#0 0x00000000 in ?? ()
No symbol table info available.
#1 0xb6cdc174 in ?? () from /usr/lib/gtk-2.0/2.10.0/engines/libmetal.so
No symbol table info available.
#2 0x08176350 in ?? ()
No symbol table info available.
#3 0x081742c0 in ?? ()
No symbol table info available.
#4 0x08174408 in ?? ()
No symbol table info available.
#5 0xb7d47bec in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#6 0x08176350 in ?? ()
No symbol table info available.
#7 0x00000000 in ?? ()
No symbol table info available.
(gdb)
*** END ***
Wondering if I'll get better luck using something directly from the Arch repository.
Iain.
Last edited by expat_iain (2007-04-16 13:53:09)Resolved by removing the pacman installed package and installing the autopackge file from gaim.sf.net
-
Tune workshop runtime framework
Hy everybody
we 're experiencing in production many outofmemory errors.
Is there a fast way to fine-tune workshop rtime framework resources, in term of
assigning dedicated thread queues to Synch/Asynch dispatchers?
I tried by modifying those ejb's deployment descriptors but I still can see from
our monitor that workshop controls still use webApp custom thread pool instead
of a dedicated one
Any suggestions?
thanksHi Sanju
The IMG path for that would be as follows:
IMG > Customer Relationship Management > UI Framework > UI Framework Definition > Maintain Runtime Framework Profile.
Please try to access it via IMG path rather than TCode.
Tcodes from 5.0 are not quite reliable in CRM 6.0.
Here's an example.
For Account identification in CRM 6.0 the path is
IMG > Customer Relationship Management > Interaction Center WebClient > Master Data > Define Account Identification Profiles.
The tcode from 5.0 is CRMC_IC_BPPROF, which works in 6.0. You will see that at first look it seems identical but you'll find "Relationship" and "Object Components" missing from Dialog structure.
I have found several instances of such 5.0 tcodes. So access via img path is more reliable.
Regards
Rupesh Patil -
Primary/secondary colours for metal themes
How do I get the primary and secondary colours for the current Metal theme? The methods getPrimary1() etc have protected access!
I don't want to get one of the other colours that use the primary colours as default, eg getControlDarkShadow(), because in the current theme this may have been overridden!
Any suggestions?
Thanks,
PhilHow do I get the primary and secondary colours for the current Metal theme? The methods getPrimary1() etc have protected access!
I don't want to get one of the other colours that use the primary colours as default, eg getControlDarkShadow(), because in the current theme this may have been overridden!
Any suggestions?
Thanks,
Phil -
Dynamically Change Theme @Runtime
Hello,
I was wondering if using out of the box Apex, it was possible to let the end user change the theme of the application.
The users don't have access to the Apex console, only to the application.
Here is the idea : http://www.apex-themes.com/stock-themes/dynamic-theme-switching/
But based on stanard themes.
Regards,
A.ReperArnaud,
End users CAN'T change the themes dynamically. But we can mimic the same. If you search forum, you will find quite number of threads on this and approach is more or less same - Point to different CSS files dynamically
Regards,
Hari -
Combo box, ring and event to modify them runtime
Hi,
I attached a picture of the block diagram. Using LV 8.2.1, win XP.
What I want : User should select from Main Selection, and that brings up new values for strings in the other menus (tried both combo box and menu ring items).
Teh problem : This block doesn't do that. Why? Looking with probe, I see the event captured and data are ok until the property node. They are not writed and on the front panel I see no difference.
Thanx
Attachments:
double box test.jpg 97 KB
Test doppio ring.vi 21 KBSlyfer wrote:
I thought that the code inside the while loop but outside the event structure wasn't care.
So if I want to do something continuosly (for example continuosly comparing two integer values to have a real-time boolean led indicator on front panel), do I put the code in the middle? This is a bit confusing thinking about the "timeout event"....
Use the timeout event or put in the middle (=outside event structure but inside while loop.... at which CPU rate is executed?? too fast?) ??
Just a suggestion. The timeout event for the Event Structure [ES] is equivalent to that of providing a small delay inside the while loop.
But it is not mandatory. If you dont wire some value to the timeout terminal, but still want to something, like comparison, you can very well put that code outside the ES but inside the while loop. It ll execute.
Else you can wire a value like 50 or 100 to the timeout terminal [ this gives enough time for the execution of the various codes inside the various events configured for the ES], so that the ES times out for every 50 or 100 ms when none of the other events occurs. If you put your comparison code here, it ll be doing the comparison all the time or whenever the ES waits and crosses the specified ms after an event has happened.
I hope this gives you a clear idea about eventstructures.
See the below links for more details on Event Structures.
http://zone.ni.com/devzone/cda/tut/p/id/3331
http://zone.ni.com:80/reference/en-XX/help/371361B-01/lvconcepts/using_events_in_labview/
http://zone.ni.com/reference/en-XX/help/371361B-01/lvhowto/caveatsrecmndtnsevnts/
- Partha
LabVIEW - Wires that catch bugs! -
Transport Portal desktop (theme + framework)
Hello All:
I have created my custom desktop, using custom theme and framework, but how do i transport them?
I know theme can be exported / Imported, but now that I already have it under the 'theme' folder in PCD, can i just transport all three of them ie. desktop, framework and theme all in one package?
Help is much appreciated
Thanks
KTHi,
You can transport them in one package .Please check the thread for help
Export of Portal Theme
Thanks
Santosh -
URGENT: RSL Stopped Working - Need to compile with Runtime Shared Library
I need this target to compile using the “Use Runtime Shared Library” option such that Flex libraries will be not included IN the swf, however I cannot get it to work. No matter what, mxmlc includes them. Oddly it DID work briefly for short time, however suddenly stopped again and unfortunately going through subversion revision history yields no insight whatsoever to what evoked this breakage.
<target name="compile" depends="replace_build_version">
<exec executable="${FLEX_HOME}/bin/mxmlc.exe" dir="${basedir}">
<arg value="${basedir}/src/Main.mxml"/>
<arg value="-output=${basedir}/bin-release/Main.swf"/>
<arg value="-static-rsls=false"/>
<arg value="-debug=false"/>
<arg value="-include-libraries=${basedir}/libs"/>
<arg value="-source-path=${basedir}/src"/>
<arg value="-creator=me"/>
<arg value="-source-path=${basedir}/locale/en_US"/>
<arg value="-source-path=${basedir}/locale/ru_RU"/>
<arg value="-locale=en_US" />
<arg value="-include-resource-bundles=en_US,ru_RU"/>
<arg value="-runtime-shared-library-path=${FLEX_HOME}/frameworks/libs/framework.swc,http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/framework_4.1.0.16076.swz,http://fpdo wnload.adobe.com/pub/swz/crossdomain.xml"/>
<arg value="-runtime-shared-library-path=${FLEX_HOME}/frameworks/libs/textLayout.swc,http://fpdownload.adobe.com/pub/swz/tlf/1.1.0.604/textLayout_1.1.0.604.swz,http://fpdownlo ad.adobe.com/pub/swz/crossdomain.xml"/>
<arg value="-runtime-shared-library-path=${FLEX_HOME}/frameworks/libs/osmf.swc,http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/osmf_flex.4.0.0.13495.swz,http://fpdo wnload.adobe.com/pub/swz/crossdomain.xml"/>
<arg value="-runtime-shared-library-path=${FLEX_HOME}/frameworks/libs/spark.swc,http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/spark_4.1.0.16076.swz,http://fpdownlo ad.adobe.com/pub/swz/crossdomain.xml"/>
<arg value="-runtime-shared-library-path=${FLEX_HOME}/frameworks/libs/sparkskins.swc,http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/sparkskins_4.1.0.16076.swz,http://fpd ownload.adobe.com/pub/swz/crossdomain.xml"/>
<arg value="-external-library-path=${FLEX_HOME}/frameworks/libs/flex.swc"/>
<arg value="-theme=${FLEX_HOME}/frameworks/projects/spark/MXFTEText.css"/>
<arg value="-theme=${FLEX_HOME}/frameworks/themes/Spark/spark.css"/>
<arg value="-verbose-stacktraces"/>
</exec>
</target>I really hate to do this, but I very much need someone from Adobe to chime in here. It is causing some serious headaches. Ant nor the straight Flash Builder 4 will build with RSLs properly enabled now and this is really a very urgent situation for me. It has doubled file size and made the application absolutely unbearable for users.
Thanks! -
"Would you like to install a Java SE 6 runtime now?" NO!!!
Every 30 minutes or so, the message, To open “java,” you need a Java SE 6 runtime. Would you like to install one now? pops on my screen no matter what software I am using. I disabled anything Java in my web browsers, looking at the log in the Console, etc. To no avail. Needless to say, I am greatly disinclined to install an application that Apple decided to drop after experts warned about its security, but how can I stop this pesky message?
Step 1
com.sophos.kext.sav (8.0.4)
Step 2
com.sophos.notification
com.sophos.intercheck
com.sophos.autoupdate
com.google.keystone.daemon
com.adobe.fpsaud
Step 3
com.evernote.EvernoteHelper
com.sophos.uiserver
com.intego.commonservices.statusitem
com.google.keystone.system.agent
com.Livestation
com.facebook.videochat.[anonymized].updater
com.divx.agent.postinstall
Step 4
/Library/Components:
XiphQT (decoders).component
/Library/Extensions:
/Library/Frameworks:
AECore.framework
AEProfiling.framework
AERegistration.framework
AudioMixEngine.framework
Compressor.framework
DivX Toolkit.framework
HPDeviceModel.framework
HPPml.framework
HPServicesInterface.framework
HPSmartPrint.framework
LabVIEW 8.5 Runtime.framework
MediaServerAPI.framework
Motion.framework
NyxAudioAnalysis.framework
PluginManager.framework
Qmaster.framework
SAVI.framework
SUMScanKit.framework
Senteo.framework
StuffIt.framework
StuffItSupport.framework
TSLicense.framework
WebInterface.framework
XThinkGrammar.framework
com.smarttech.3rdparty.UnitTest++.framework
com.smarttech.3rdparty.boost.framework
com.smarttech.3rdparty.cairo.framework
com.smarttech.3rdparty.icu.framework
com.smarttech.3rdparty.redland.framework
com.smarttech.3rdparty.spidermonkey.framework
com.smarttech.3rdparty.xalan.framework
com.smarttech.3rdparty.xerces.framework
com.smarttech.3rdparty.xqilla.framework
com.smarttech.3rdparty.ziparchive.framework
iMoviePluginAPI.framework
iTunesLibrary.framework
libLogger.framework
xtGradingEngine.framework
/Library/Input Methods:
/Library/Internet Plug-Ins:
AdobePDFViewer.plugin
DRM Plugin.bundle
DivXBrowserPlugin.plugin
Flash Player.plugin
Flip4Mac WMV Plugin.plugin
JavaAppletPlugin.plugin
NPSVG3.zip
NPSVG3Carbon
NPSVG3ReadMe.html
OfficeLiveBrowserPlugin.plugin
Quartz Composer.webplugin
QuickTime Plugin.plugin
RealPlayer Plugin.plugin
Silverlight.plugin
Unity Web Player.plugin
Unused
VLC Plugin.plugin
Windows Media Plugin
Yahoo! Installer 3.plugin
ebrary Reader
ebrary Reader.plugin
flashplayer.xpt
googletalkbrowserplugin.plugin
iPhotoPhotocast.plugin
iPrint.plugin
npgtpo3dautoplugin.plugin
nsIQTScriptablePlugin.xpt
/Library/Keyboard Layouts:
/Library/LaunchAgents:
com.google.keystone.agent.plist
com.intego.commonservices.statusitem.plist
com.sophos.uiserver.plist
/Library/LaunchDaemons:
com.adobe.fpsaud.plist
com.google.keystone.daemon.plist
com.sophos.autoupdate.plist
com.sophos.intercheck.plist
com.sophos.notification.plist
/Library/PreferencePanes:
Box Sync.prefPane
DivX.prefPane
Flash Player.prefPane
Flip4Mac WMV.prefPane
SMART Board.prefPane
/Library/PrivilegedHelperTools:
Google Drive Icon Helper
/Library/QuickLook:
GBQLGenerator.qlgenerator
iBooksAuthor.qlgenerator
iWork.qlgenerator
/Library/QuickTime:
AppleIntermediateCodec.component
AppleMPEG2Codec.component
CanonMJPEGAVI.component
CanonMJPEGAVIDec.component
CanonText.component
DVCPROHDCodec.component
DivX Decoder.component
DivX Encoder.component
FCP Uncompressed 422.component
Flip4Mac WMV Advanced.component
Flip4Mac WMV Export.component
Flip4Mac WMV Import.component
LiveType.component
Motion.component
/Library/ScriptingAdditions:
Adobe Unit Types
/Library/Spotlight:
GBSpotlightImporter.mdimporter
Microsoft Entourage.mdimporter
Microsoft Office.mdimporter
iBooksAuthor.mdimporter
iWork.mdimporter
/Library/StartupItems:
Qmaster
/etc/mach_init.d:
/etc/mach_init_per_login_session.d:
/etc/mach_init_per_user.d:
Library/Address Book Plug-Ins:
AdiumAddressBookAction_AIM.scpt
AdiumAddressBookAction_ICQ.scpt
AdiumAddressBookAction_Jabber.scpt
AdiumAddressBookAction_MSN.scpt
AdiumAddressBookAction_SMS.scpt
AdiumAddressBookAction_Yahoo.scpt
SkypeABDialer.bundle
SkypeABSMS.bundle
YMsgrCallABPlugin.bundle
YMsgrMsnABPlugin.bundle
YMsgrSmsABPlugin.bundle
YMsgrYimABPlugin.bundle
Library/Addresses:
.DS_Store
Address Book.addressbook
Addresses.addressBook
Library/Fonts:
.DS_Store
18thCentury.ttf
ACaslonPro-Regular.otf
Anyong__.ttf
Athenian2004.1.suit
Brush Script
Jokerman LET Fonts
Myriad
MyriadPro-Semibold.otf
Palatino
Stone Sans ITC TT
encodings.dir
fonts.dir
fonts.list
fonts.scale
wyld.TTF
wyldi.TTF
Library/Indexes:
FindByContent
Library/InputManagers:
Inquisitor
Smart Crash Reports
Library/Internet Plug-Ins:
.DS_Store
FacebookVideoCalling.bundle
Macromedia
Picasa.plugin
WebEx.plugin
fbplugin_1_0_1.plugin
fbplugin_1_0_3.plugin
Library/Internet Search Sites:
Library/Keyboard Layouts:
Library/LaunchAgents:
com.Livestation.plist
com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.E4E96D58-ECCE-483C-931F-50F 0606A7C44.plist
com.divx.agent.postinstall.plist
com.facebook.videochat.[anonymized].plist
Library/PreferencePanes:
ClipTwin.prefPane
Opera Preferences
Perian.prefPane
Library/QuicKeys:
Clips
Global Variables
PlugIns
Shortcuts
Toolbars
Library/QuickTime:
AC3MovieImport.component
Perian.component
Library/Services:
GraphicConverter.service
Step 5
nothing--blank line -
Runtime error while creating a Portal Desktop
Hello *,
I want to create a New Portal Desktop in System Administration > Portal display > Desktops & Display Rules (EP7 SP14).
The Portal Content editor is correctly showed when I create de Desktop in the Portal Content folder, BUT, a run time error is showed when I try to do the same under a "New Folder" under the Portal Content Folder.
I am working with Administrator user and the permissions have been defined as follows:
Portal Content
content_admin_role Full Control End User Role Assigner
Everyone Read End User Role Assigner
super_admin_role Owner User Role Assigner
system_admin_role Owner User Role Assigner
New Folder
content_admin_role Full Control End User Role Assigner
Everyone None End User Role Assigner
super_admin_role Owner User Role Assigner
system_admin_role Owner User Role Assigner
Helpful answers will be rewarded
Thanks
Marta.What do you mean by a prefix here?
For me the theme implementation is not working either way
- I am not able to create a new desktop (some SAP Error)
- Copying the default desktop into my folder and doing the required changes there.
changed the name/id/theme/default framework page
but when i apply it to a user, doesnt show up. -
Metal LF and JToggleButton on color
Does anyone know how to control the 'on' color of a JToggleButton when using the Metal LF.
Thanks in advance.That color is the ControlShadow color of the metal look and feel. Try creating your own metal theme by extending the class DefaultMetalTheme and overwriting the getControlShadow method to return your color. That color will also be used in other places on the GUI, however, because it's the shadow color for every control.
The other thing you can do is create your own component class to use for your toggle buttons. -
Where did javax.swing.plaf.metal go after 1.4?
Dear Users of the java.swing libraries,
I've made a schoolproject in javax.swing and i am using the javax.swing.plaf.metal.MetalLookAndFeel as LookAndFeel.
The Problem is: it seems sun has removed the Metal LookAndFeel in versions past 1.4 or something like that. I read this in the source DefaultmetalTheme.java file:
* This class describes the default Metal Theme.
* <p>
* <strong>Warning:</strong>
* Serialized objects of this class will not be compatible with
* future Swing releases. The current serialization support is
* appropriate for short term storage or RMI between applications running
* the same version of Swing. As of 1.4, support for long term storage
* of all JavaBeans<sup><font size="-2">TM</font></sup>
* has been added to the <code>java.beans</code> package.
* Please see {@link java.beans.XMLEncoder}.
* @version 1.25 01/23/03
* @author Steve Wilson
*/Now i wonder, can i find this cool Metal style anywhere else? In like the java.beans that was mentioned in the code of DefaultmetalTheme.java.
In my current situation my project is ruined and i would relly appriciate some feedback on this!
Yours Truthfully,
Alexander ThoreThey would only be where you put them.
You should be importing them to your computer regularly as you would with any digital camera, most especially before any update.
If you failed to do this, then they are likely gone.
You can try a restore from backup. -
Lost brushed metal how do I get it back
I lost my brushed metal theme to my safari. I was wondering how do I get it back. I used some program called safari accelerator I don't remember the name. It disabled my brush metal. I don't really like this new look. I thought I would go back to the old look. Unless there are other themes I can use for Safari?
Hi,
It sounds like you mean Safari Enhancer. Download that again to re-toggle your preference. Other than the styles offered via Safari Enhancer, there's not much you can do to Safari (it's not designed to be easily skinnable unlike say Firefox).
Maybe you are looking for
-
Error while creating PDF object
We are using Adobe Interactive Forms with Guided Procedures. Netweaver 7.0 SP14 (Dual stack Java & Abap). All was working well it appears until we configured SSL for ADS - don't know for sure if this caused the problem but it is the only change we
-
Partition map check failed because no slices were found for WD My Book 1140 media
Have been using a WD My Book 3TB HD which was partitioned into three 1TB partitions for almost a year. Now when I try to access it via my MacBook Pro I am getting the following error message "Problems were found with the partition map which might pr
-
Because I am a computer game enthusiast I have for a considerable time a pc alongside my mac. Be fair, there are far more computer games for the pc than for the mac, and in many cases they are cheaper. Recently I got a new iMac with Leopard and Bootc
-
Convert an internal table from ABAP to an xml file on the Unix server
I'm trying to convert an internal table to an xml file. This file will be downloaded to a unix server. Can someone help?
-
Hi , I have an issue today from user.Having not worked on contracts much,I am quite confused what to do.My user has a requirement like below We create a Contract type YKM2. (With an estimated price) From the Requirement we create a Purchase order.