Using graphics to highlight

Hi all, be very grateful for a dig out on this one:
I am designing a calendar where different types of days are represented in different ways.
For example, when a 'non-business day' is displayed on the calendar, it is shown surrounded by a red margin.
This is achieved using the following code:
g.setColor(Color.RED);
g.draw3DRect(r.x, r.y, r.width, r.height, true);
I also want to highlight weekend days in blue on the calendar. I thought i could use some sort of a highlight to do this and i tried the following code:
g.setColor(Color.BLUE);
g.fill3DRect(r.x, r.y, r.width, r.height, true);
Now my problem, the above code is effective in that it fills the rectangle blue, however, i dont want to fill the text of the rectangle (e.g. 28,30,31) with blue, i want these to reman visible.
Does anyone know how best to do this, or have had a similar problem in the past?
Thanks a mil
Gav

You will need to draw the text on top of the rectangle.

Similar Messages

  • Does mac have an app that graphically finds & highlights file icons?

    Does mac have an app that graphically finds & highlights file icons (especially on the desktop)?
    This used to be available as a 3rd party app on older systems but I haven't seen it currently.
    Sherlock just finds locations as a listing.

    The easiest way is to use iPhoto, just drag the picture in to it. To resize it select the picture and in the menu bar "FILE - EXPORT". You can preform basic editing and corrections by double clicking on the picture.
    iBook   Mac OS X (10.4.6)  

  • The 3d features require 'use graphics processor' is enabled in the performance preferences.  Your video card must meet the minimum requirements and you may need to check that your driver is working correctly

    the 3d features require 'use graphics processor' is enabled in the performance preferences.  Your video card must meet the minimum requirements and you may need to check that your driver is working correctly
    Hello I'm also getting this error.. can anybody help me out? Here's my log.
    Adobe Photoshop Version: 2014.0.0 20140508.r.58 2014/05/08:23:59:59  x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:5, Stepping:5 with MMX, SSE Integer, SSE FP, SSE2, SSE3
    Physical processor count: 2
    Processor speed: 2128 MHz
    Built-in memory: 2934 MB
    Free memory: 231 MB
    Memory available to Photoshop: 2354 MB
    Memory used by Photoshop: 70 %
    3D Multitone Printing: Disabled.
    Touch Gestures: Disabled.
    Windows 2x UI: Disabled.
    Image tile size: 1024K
    Image cache levels: 4
    Font Preview: Medium
    TextComposer: Latin
    Display: 1
    Display Bounds: top=0, left=0, bottom=768, right=1366
    OpenGL Drawing: Enabled.
    OpenGL Allow Old GPUs: Not Detected.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    AIFCoreInitialized=1
    AIFOGLInitialized=1
    OGLContextCreated=1
    glgpu[0].GLVersion="2.1"
    glgpu[0].GLMemoryMB=1242
    glgpu[0].GLName="Intel(R) HD Graphics"
    glgpu[0].GLVendor="Intel"
    glgpu[0].GLVendorID=32902
    glgpu[0].GLDriverVersion="8.15.10.2993"
    glgpu[0].GLRectTextureSize=8192
    glgpu[0].GLRenderer="Intel(R) HD Graphics"
    glgpu[0].GLRendererID=70
    glgpu[0].HasGLNPOTSupport=1
    glgpu[0].GLDriver="igdumd64.dll,igd10umd64.dll,igdumdx32,igd10umd32"
    glgpu[0].GLDriverDate="20130130000000.000000-000"
    glgpu[0].CanCompileProgramGLSL=1
    glgpu[0].GLFrameBufferOK=1
    glgpu[0].glGetString[GL_SHADING_LANGUAGE_VERSION]="1.20  - Intel Build 8.15.10.2993"
    glgpu[0].glGetProgramivARB[GL_FRAGMENT_PROGRAM_ARB][GL_MAX_PROGRAM_INSTRUCTIONS_ARB]=[1447 ]
    glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_UNITS]=[8]
    glgpu[0].glGetIntegerv[GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]=[16]
    glgpu[0].glGetIntegerv[GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS]=[16]
    glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_IMAGE_UNITS]=[16]
    glgpu[0].glGetIntegerv[GL_MAX_DRAW_BUFFERS]=[8]
    glgpu[0].glGetIntegerv[GL_MAX_VERTEX_UNIFORM_COMPONENTS]=[512]
    glgpu[0].glGetIntegerv[GL_MAX_FRAGMENT_UNIFORM_COMPONENTS]=[1024]
    glgpu[0].glGetIntegerv[GL_MAX_VARYING_FLOATS]=[41]
    glgpu[0].glGetIntegerv[GL_MAX_VERTEX_ATTRIBS]=[16]
    glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_PROGRAM]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_PROGRAM]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_SHADER]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_SHADER]=1
    glgpu[0].extension[AIF::OGL::GL_EXT_FRAMEBUFFER_OBJECT]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_RECTANGLE]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_FLOAT]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_OCCLUSION_QUERY]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_BUFFER_OBJECT]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_SHADER_TEXTURE_LOD]=0
    License Type: Tryout Version
    Serial number: Tryout Version
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\
    Temporary file path: C:\Users\ANNABE~1\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      C:\, 298.0G, 63.8G free
    Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Required\Plug-Ins\
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CC 2014\Plug-ins\
    Installed components:
       A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112  
       ACE.dll   ACE 2014/04/14-23:42:44   79.554120   79.554120
       adbeape.dll   Adobe APE 2013/02/04-09:52:32   0.1160850   0.1160850
       AdbePM.dll   PatchMatch 2014/04/23-10:46:55   79.554276   79.554276
       AdobeLinguistic.dll   Adobe Linguisitc Library   8.0.0  
       AdobeOwl.dll   Adobe Owl 2014/03/05-14:49:37   5.0.33   79.552883
       AdobePDFL.dll   PDFL 2014/03/04-00:39:42   79.510482   79.510482
       AdobePIP.dll   Adobe Product Improvement Program   7.2.1.3399  
       AdobeXMP.dll   Adobe XMP Core 2014/01/13-19:44:00   79.155772   79.155772
       AdobeXMPFiles.dll   Adobe XMP Files 2014/01/13-19:44:00   79.155772   79.155772
       AdobeXMPScript.dll   Adobe XMP Script 2014/01/13-19:44:00   79.155772   79.155772
       adobe_caps.dll   Adobe CAPS   8,0,0,7  
       AGM.dll   AGM 2014/04/14-23:42:44   79.554120   79.554120
       ahclient.dll    AdobeHelp Dynamic Link Library   1,8,0,31  
       amtlib.dll   AMTLib (64 Bit)   8.0.0.45 BuildVersion: 8.0; BuildDate: Fri Mar 28 2014 20:28:30)   1.000000
       ARE.dll   ARE 2014/04/14-23:42:44   79.554120   79.554120
       AXE8SharedExpat.dll   AXE8SharedExpat 2013/12/20-21:40:29   79.551013   79.551013
       AXEDOMCore.dll   AXEDOMCore 2013/12/20-21:40:29   79.551013   79.551013
       Bib.dll   BIB 2014/04/14-23:42:44   79.554120   79.554120
       BIBUtils.dll   BIBUtils 2014/04/14-23:42:44   79.554120   79.554120
       boost_date_time.dll   photoshopdva   8.0.0  
       boost_signals.dll   photoshopdva   8.0.0  
       boost_system.dll   photoshopdva   8.0.0  
       boost_threads.dll   photoshopdva   8.0.0  
       cg.dll   NVIDIA Cg Runtime   3.0.00007  
       cgGL.dll   NVIDIA Cg Runtime   3.0.00007  
       CIT.dll   Adobe CIT   2.2.6.32411   2.2.6.32411
       CITThreading.dll   Adobe CITThreading   2.2.6.32411   2.2.6.32411
       CoolType.dll   CoolType 2014/04/14-23:42:44   79.554120   79.554120
       dvaaudiodevice.dll   photoshopdva   8.0.0  
       dvacore.dll   photoshopdva   8.0.0  
       dvamarshal.dll   photoshopdva   8.0.0  
       dvamediatypes.dll   photoshopdva   8.0.0  
       dvametadata.dll   photoshopdva   8.0.0  
       dvametadataapi.dll   photoshopdva   8.0.0  
       dvametadataui.dll   photoshopdva   8.0.0  
       dvaplayer.dll   photoshopdva   8.0.0  
       dvatransport.dll   photoshopdva   8.0.0  
       dvaui.dll   photoshopdva   8.0.0  
       dvaunittesting.dll   photoshopdva   8.0.0  
       dynamiclink.dll   photoshopdva   8.0.0  
       ExtendScript.dll   ExtendScript 2014/01/21-23:58:55   79.551519   79.551519
       icucnv40.dll   International Components for Unicode 2013/02/25-15:59:15    Build gtlib_4.0.19090  
       icudt40.dll   International Components for Unicode 2013/02/25-15:59:15    Build gtlib_4.0.19090  
       imslib.dll   IMSLib DLL   7.0.0.145  
       JP2KLib.dll   JP2KLib 2014/03/12-08:53:44   79.252744   79.252744
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libiomp5md.dll   Intel(R) OpenMP* Runtime Library   5.0  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   12.0  
       LogSession.dll   LogSession   7.2.1.3399  
       mediacoreif.dll   photoshopdva   8.0.0  
       MPS.dll   MPS 2014/03/25-23:41:34   79.553444   79.553444
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop CC 2014   15.0  
       Plugin.dll   Adobe Photoshop CC 2014   15.0  
       PlugPlugExternalObject.dll   Adobe(R) CEP PlugPlugExternalObject Standard Dll (64 bit)   5.0.0  
       PlugPlugOwl.dll   Adobe(R) CSXS PlugPlugOwl Standard Dll (64 bit)   5.0.0.74  
       PSArt.dll   Adobe Photoshop CC 2014   15.0  
       PSViews.dll   Adobe Photoshop CC 2014   15.0  
       SCCore.dll   ScCore 2014/01/21-23:58:55   79.551519   79.551519
       ScriptUIFlex.dll   ScriptUIFlex 2014/01/20-22:42:05   79.550992   79.550992
       svml_dispmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   12.0  
       tbb.dll   Intel(R) Threading Building Blocks for Windows   4, 2, 2013, 1114  
       tbbmalloc.dll   Intel(R) Threading Building Blocks for Windows   4, 2, 2013, 1114  
       TfFontMgr.dll   FontMgr   9.3.0.113  
       TfKernel.dll   Kernel   9.3.0.113  
       TFKGEOM.dll   Kernel Geom   9.3.0.113  
       TFUGEOM.dll   Adobe, UGeom©   9.3.0.113  
       updaternotifications.dll   Adobe Updater Notifications Library   7.0.1.102 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   7.0.1.102
       VulcanControl.dll   Vulcan Application Control Library   5.0.0.82  
       VulcanMessage5.dll   Vulcan Message Library   5.0.0.82  
       WRServices.dll   WRServices Fri Mar 07 2014 15:33:10   Build 0.20204   0.20204
       wu3d.dll   U3D Writer   9.3.0.113  
    Required plug-ins:
       3D Studio 15.0 (2014.0.0 x001)
       Accented Edges 15.0
       Adaptive Wide Angle 15.0
       Angled Strokes 15.0
       Average 15.0 (2014.0.0 x001)
       Bas Relief 15.0
       BMP 15.0
       Camera Raw 8.0
       Camera Raw Filter 8.0
       Chalk & Charcoal 15.0
       Charcoal 15.0
       Chrome 15.0
       Cineon 15.0 (2014.0.0 x001)
       Clouds 15.0 (2014.0.0 x001)
       Collada 15.0 (2014.0.0 x001)
       Color Halftone 15.0
       Colored Pencil 15.0
       CompuServe GIF 15.0
       Conté Crayon 15.0
       Craquelure 15.0
       Crop and Straighten Photos 15.0 (2014.0.0 x001)
       Crop and Straighten Photos Filter 15.0
       Crosshatch 15.0
       Crystallize 15.0
       Cutout 15.0
       Dark Strokes 15.0
       De-Interlace 15.0
       Dicom 15.0
       Difference Clouds 15.0 (2014.0.0 x001)
       Diffuse Glow 15.0
       Displace 15.0
       Dry Brush 15.0
       Eazel Acquire 15.0 (2014.0.0 x001)
       Embed Watermark 4.0
       Entropy 15.0 (2014.0.0 x001)
       Export Color Lookup NO VERSION
       Extrude 15.0
       FastCore Routines 15.0 (2014.0.0 x001)
       Fibers 15.0
       Film Grain 15.0
       Filter Gallery 15.0
       Flash 3D 15.0 (2014.0.0 x001)
       Fresco 15.0
       Glass 15.0
       Glowing Edges 15.0
       Google Earth 4 15.0 (2014.0.0 x001)
       Grain 15.0
       Graphic Pen 15.0
       Halftone Pattern 15.0
       HDRMergeUI 15.0
       IFF Format 15.0
       Ink Outlines 15.0
       JPEG 2000 15.0
       Kurtosis 15.0 (2014.0.0 x001)
       Lens Blur 15.0
       Lens Correction 15.0
       Lens Flare 15.0
       Liquify 15.0
       Matlab Operation 15.0 (2014.0.0 x001)
       Maximum 15.0 (2014.0.0 x001)
       Mean 15.0 (2014.0.0 x001)
       Measurement Core 15.0 (2014.0.0 x001)
       Median 15.0 (2014.0.0 x001)
       Mezzotint 15.0
       Minimum 15.0 (2014.0.0 x001)
       MMXCore Routines 15.0 (2014.0.0 x001)
       Mosaic Tiles 15.0
       Multiprocessor Support 15.0 (2014.0.0 x001)
       Neon Glow 15.0
       Note Paper 15.0
       NTSC Colors 15.0 (2014.0.0 x001)
       Ocean Ripple 15.0
       OpenEXR 15.0
       Paint Daubs 15.0
       Palette Knife 15.0
       Patchwork 15.0
       Paths to Illustrator 15.0
       PCX 15.0 (2014.0.0 x001)
       Photocopy 15.0
       Photoshop 3D Engine 15.0 (2014.0.0 x001)
       Photoshop Touch 14.0
       Picture Package Filter 15.0 (2014.0.0 x001)
       Pinch 15.0
       Pixar 15.0 (2014.0.0 x001)
       Plaster 15.0
       Plastic Wrap 15.0
       PNG 15.0
       Pointillize 15.0
       Polar Coordinates 15.0
       Portable Bit Map 15.0 (2014.0.0 x001)
       Poster Edges 15.0
       Radial Blur 15.0
       Radiance 15.0 (2014.0.0 x001)
       Range 15.0 (2014.0.0 x001)
       Read Watermark 4.0
       Render Color Lookup Grid NO VERSION
       Reticulation 15.0
       Ripple 15.0
       Rough Pastels 15.0
       Save for Web 15.0
       ScriptingSupport 15.0
       Shake Reduction 15.0
       Shear 15.0
       Skewness 15.0 (2014.0.0 x001)
       Smart Blur 15.0
       Smudge Stick 15.0
       Solarize 15.0 (2014.0.0 x001)
       Spatter 15.0
       Spherize 15.0
       Sponge 15.0
       Sprayed Strokes 15.0
       Stained Glass 15.0
       Stamp 15.0
       Standard Deviation 15.0 (2014.0.0 x001)
       STL 15.0 (2014.0.0 x001)
       Sumi-e 15.0
       Summation 15.0 (2014.0.0 x001)
       Targa 15.0
       Texturizer 15.0
       Tiles 15.0
       Torn Edges 15.0
       Twirl 15.0
       Underpainting 15.0
       Vanishing Point 15.0
       Variance 15.0 (2014.0.0 x001)
       Water Paper 15.0
       Watercolor 15.0
       Wave 15.0
       Wavefront|OBJ 15.0 (2014.0.0 x001)
       WIA Support 15.0 (2014.0.0 x001)
       Wind 15.0
       Wireless Bitmap 15.0 (2014.0.0 x001)
       ZigZag 15.0
    Optional and third party plug-ins: NONE
    Plug-ins that failed to load: NONE
    Flash:
    Installed TWAIN devices: NONE

    What Intel video card do you have? The only Intel HD graphics cards officially supported by Photoshop CC are:
    Intel HD Graphics P3000
    Intel HD Graphics P4000
    Intel(R) HD Graphics P4600/P4700
    Intel HD Graphics 5000
    Go here to read more about the requirements: Photoshop CC and CC 2014 GPU FAQ

  • Can i use graphical mapping to do such conversion or do i need java mapping

    Hi Folks,
    Need all your help and experience in solving this .
    Can you let me know is it possible do to such kind of conversion in XI using file adapter or do I need to do java mapping
    Say from rom database I get data in this format
    Seq  Field Name  Field Value
    1    Cust No          Cust 1
    1        S             SS1
    1     Score1            10
    1     Score 2           12
    2     Cust No          Cust 2
    2        S             SS2
    2    Score1            5
    2    Score 2           10
    Based on this my o/p has to be
    Cust 1 SS1 10 12
    Cust 2 SS2 5 10
    ( ie values in the last column )
    The number of rows returned from database can vary . like here for 1 seq it gives 4 in the example bt it can be any number
    Like
    Seq  Field Name  Field Value
    1    Cust No          Cust 1
    1        S             SS1
    1     Score1            10
    1     Score 2           12
    1     Score3            15
    2     Cust No          Cust 2
    2        S             SS2
    2    Score1            5
    2    Score 2           10
    2     Score3            25
    Based on this my o/p has to be
    Cust 1 SS1 10 12 15
    Cust 2 SS2 5 10  25
    is there any way that we can use graphical mapping plus file content conversion to do this or is java based mapping the only solution
    Thanks
    amit

    Hi Amit,
    You can do this using Graphical mapping and File Content Conversion.You concatenate the necessary fields in a Context and assign it to the the field Data(or field name of your wish )) in the target which will of the structure
    <Records>
    <Record>
    <Data>concatenated value</Data>
    </Record>
    </Records>
    and in File Content Conversion
    make Records,Record 0:1 and Data as 0:unbounded
    and give Recordset Structure as Record
    then Record.fieldSeparator as 'nl'
    This will give you desired output
    Regards,
    Sundar

  • Avoid explicit closing tag in XML using graphical mapping

    Hi,
    I created a data type with an element called TAG1 which has an attribute called attr.
    I mapped an empty constant to the element and the value XXX to the attribute.  I`m using graphical mapping and the XML I get is the following:
    <TAG1 attr = u201CXXXu201D></TAG1>
    But for reasons of volume I need to generate the XML without the explicit closing tag, such as:
    <TAG1 value = u201CXXXu201D/>
    Is there any possibility to achieve this with graphical mapping?
    Thanks & Best Regards,
    Viviana

    > But for reasons of volume I need to generate the XML without the explicit closing tag, such as:
    >
    >  <TAG1 value = u201CXXXu201D/>
    >
    > Is there any possibility to achieve this with graphical mapping?
    This is not posible. The graphical mapping always creates start and end tag, even for empty elements.
    You need a seperate mapping step with XSLT or Java mapping.
    Regards
    Stefan

  • Graphics using graphic API are drawn below the loaded content created using Flash authoring tool

    Here is my problem.
    I am developing a Analog Dial component. Here , I am
    extending UIComponent and loading a swf file generated using Flash
    CS3 authoring tool ( the swf basically has the circle and needle)
    and adding the loaded content as child of Dial class.
    Next I use Graphics API to draw the major and minor ticks on
    the dial.
    As mentioned in the curveTo method of flash.display.Graphics
    class documentation (
    http://livedocs.adobe.com/flex/201/langref/index.html),
    if you are using graphics api and also loading content created
    using the flash authoring environment the vector graphics will be
    drawn underneath the loaded content.
    Well , Is there any way to make the graphics appear on top of
    the loaded contents?

    It appears that this may be accomplished more easily if I do something similar to the StrobeMediaPlayback implementation. Looking at the StrobeMediaPlayback source code it looks like Adobe has done something a little different than their ControlBarPlugin, placing the controlbar and root media element inside separate MediaContainers and then adding those containers to the display list. Is this recommended over using the frameworks ParallelElements? If so, is communication between the control bar and root media element still a matter of just updating the target reference via metadata?

  • Using Graphic Equaliser For Radio to Reduce Hiss?

    Using Graphic Equaliser For Radio to Reduce Hiss?
    I would like to use the graphic equaliser to reduce hiss while using the radio. Does anyone know if this is possible and how to do it?
    Kind Regards
    Chris

    You can adjust adjust the individual low pass filters to minimise the effect of hiss, and although this will mitigate the problem somewhat and make it less intrusive, it won't stop it altogether.

  • Use Graphics on Local Machine in Safari

    I'm pretty new in using Mac / Safari, so i searched the discussions here but couldn't find what i was looking for.
    I'm trying to use graphic files that are stored on my local machine/ local hard drive to be displayed on an online game website. Purpose: to reduce traffic, to speed up the data transfer and to use custom made graphics.
    Is there a chance that Safari supports my "desire"? What would the path look like? Using windows i simply put the drive letter and the path in to direct IE towards the locally stored graphics.
    Any help would be greatly appreciated!
    Thanks in advance.

    Yes, that's correct. I want to display a website, some web content but replace some of the graphics i would have to load from the server every time with files i have on my hard drive.
    the website (online browser game) supports this feature but i don't know how to tell safari (or maybe firefox) on my mac where to look for the files.
    as described above usually i would type something like d:/documents/graphics/ and the browser would know that it is supposed to load the files from the disk, not from the server.
    i guess what i also have to verify is that the game supports the safari browser.
    thanks for your help!

  • Can't use Graphics Processor for Photoshop CS6 on Windows 8

    Hi,
    I just got a fresh upgrade from Windows 7 to Windows 8 Pro (not beta) but then I can't use Photoshop that well. In the Preferences > Performance, I can't tick "Use Graphics Processor". I have an ATI graphics card and yep, I've already tried upgrading/reinstalling my graphics driver, even installing old ones -- and still, this doesn't solve my problem (even in its control panel, I can't seem to see the settings of the graphics card!)
    Any ideas/suggestions on how to fix this? Thanks!

    What display driver have you installed?  And what is your card?
    The ATI Catalyst 12.8 driver release claims to be compatible with Windows 8, though I haven't tried the combination myself yet.
    Did you install Windows 8 as an upgrade or a clean install?  The latter is always preferable.
    I know a secret registry incantation that will force Photoshop to use the OpenGL subsystem no matter what, and I've used that to get GPU acceleration in a test installation in a virtual machine, but rather that put that forth just yet let's find out if you've done all you can the "above board" way first.
    -Noel

  • How can I access the Edit preferences performance use Graphics Processor option through the jsx scri

    I want to runa a script with and without GPU options. I made an actionto click on the Edit>Preferences>Performace>use graphics processor checkbox. But now I want to check wether the checkbox is ticked or not to determine i should use it for a with GPU run or without GPU run. I cant seem to find the prefernce/property/object name to access this selection in the photoshop scripting library. Can someone help me here?

    I did not see anything in the Object Viewer for preference open GL, performance or GPU  so I do not think there is a DOM method available to retrieve or set it.  You can set it using the action manager using scriptlistener code.
    // =======================================================
    var idsetd = charIDToTypeID( "setd" );
        var desc29 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref19 = new ActionReference();
            var idPrpr = charIDToTypeID( "Prpr" );
            var idCchP = charIDToTypeID( "CchP" );
            ref19.putProperty( idPrpr, idCchP );
            var idcapp = charIDToTypeID( "capp" );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref19.putEnumerated( idcapp, idOrdn, idTrgt );
        desc29.putReference( idnull, ref19 );
        var idT = charIDToTypeID( "T   " );
            var desc30 = new ActionDescriptor();
            var idMmrU = charIDToTypeID( "MmrU" );
            var idPrc = charIDToTypeID( "#Prc" );
            desc30.putUnitDouble( idMmrU, idPrc, 90.000000 );
            var idopenglEnabled = stringIDToTypeID( "openglEnabled" );
            desc30.putBoolean( idopenglEnabled, true );
        var idCchP = charIDToTypeID( "CchP" );
        desc29.putObject( idT, idCchP, desc30 );
    executeAction( idsetd, desc29, DialogModes.NO );

  • How to use Graphics in swings?

    Hi,
    I would like to write a Graphics application in swings, Is it possibel?
    help me.

    Hi,
    I would like to write a Graphics application in
    swings, Is it possibel?
    help me.Yes! a short example using JApplet in swing using graphics.
    import java.awt.Graphics;
    import java.awt.Image;
    import javax.swing.JApplet;
    public class Animate extends JApplet implements Runnable {
        Thread runner;
        boolean notDone;
        int x, y;
        public void init(){
            notDone = true;
            x = 10;
            y = 20;
            setSize(500,100);
            startRunning();
        public void run(){
            while(notDone){
                if(x < 400){
                    x++; repaint();
                    try {
                        Thread.sleep(500); // control the speed
                    } catch (InterruptedException ex) {
                        ex.printStackTrace();
                } else {
                    x = 10;
        public void startRunning(){
            runner = new Thread(this);
            runner.start();
        public void paint(Graphics g){
            animate(g);
        public void repaint(){
            try{
                Image img = this.createImage(getSize().width , getSize().height);
                Graphics g = img.getGraphics();
                g.setColor(this.getBackground());
                g.fillRect(0, 0, getSize().width, getSize().height);
                g.setColor(this.getForeground());
                paint(g);
                this.getGraphics().drawImage(img, 0, 0, null);
            }catch(NullPointerException e){}
        public void animate(Graphics g){
            g.drawString("Help me -->", x, y);
    }

  • Windows 7 can use Graphic Equalizer? (Audigy Value)

    Hi, i'm new user?
    now i use sound blaster audigy value but driver in cd driver not support windows 7 (Bluescreen)
    and i want to use graphic equalizer, please help me?
    Message Edited by materialise on 03-28-2009 05:03 [email protected]

    Maybe you have installed all this stuff in wrong installations order. I have installed Win7 32 bit on friends Satellite A500 following this installations order:
    -Win7
    -chipset driver
    -storage manager
    -display driver
    -sound driver
    -modem driver
    -supervisor utility
    -infrared
    -patches
    -configfree
    -VAP
    -toshiba hardware setup
    -HDMI control
    -WLAN driver
    Added Vista stuff:
    -Toshiba assist - work properly
    -Card reader - installed properly
    -Webcam driver for A500 - tested with Skype - works properly.
    -Synaptics driver
    Everything works perfectly including hardware setup. I don't know maybe you should install Win7 again following this installations order.
    By the way: hardware setup was shown in control panel in WXP but since Vista not anymore. So I asked you this question because I know for sure it is not in control panel anymore.
    Since Vista Toshiba packed all tools and utilities overview in Toshiba Assist.

  • I get the following message when I open Photoshop: Photoshop detected graphics hardware that is not officially supported...which asks me to "uncheck the use Graphics Processor...but there is no Graphics Processor to check ?????? What do I need to do? I ha

    I get the following message when I open Photoshop: Photoshop detected graphics hardware that is not officially supported...which asks me to "uncheck the use Graphics Processor...but there is no Graphics Processor to check ?????? What do I need to do? I have ignored this in the past and Photoshop seems to work OK but still I wonder why this opens every time I start Photoshop. Thanks for considering my question.:>)

    As you can see use Graphics Processor is NOT checked. Now what? And a special thanks for answering me about this. :>)
    Diana

  • Can you use Graphics Processor? What is your GPU?

    Please answer if you can use graphics processor on Lightroom CC and which is your computer config, if possible.
    I have a Radeon HD 6870 running with windows 7 64bits and I can't use graphics processor.
    Thank you.

    My Lightroom 6 installation initially wasn't using the GPU:
    Operating System: Windows 8.1 Pro, 64-bit
    DirectX version: 11.0
    GPU processor:  GeForce GTX 745
    Driver version:  335.58
    LR6:
    Graphics Processor Info:
    Check OpenGL support: Failed
    Vendor: NVIDIA Corporation
    Version: 3.3.0
    Renderer: GeForce GTX 745/PCIe/SSE2
    LanguageVersion: 3.30 NVIDIA via Cg compiler
    I then updated the NVIDIA driver:
    Operating System: Windows 8.1 Pro, 64-bit
    DirectX version: 11.0
    GPU processor:  GeForce GTX 745
    Driver version:  350.12
    After the update, LR6 reported success in finding the GPU:
    Graphics Processor Info:
    GeForce GTX 745/PCIe/SSE2
    Check OpenGL support: Passed
    Vendor: NVIDIA Corporation
    Version: 3.3.0 NVIDIA 350.12
    Renderer: GeForce GTX 745/PCIe/SSE2
    LanguageVersion: 3.30 NVIDIA via Cg compiler
    Cheers,
    Frank

  • How can I Edit preferences performance use Graphics Processor option through the jsx script

    Hi I need to check and access the Edit>preferences>performance>use Graphics Processor option setting through the script. i cant find it in the object domain, I have the following to check the current state:
    var ref = new ActionReference();
    ref.putEnumerated( charIDToTypeID('capp'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
    var openglEnabled = executeActionGet(ref).getObjectValue (charIDToTypeID('CchP')).getBoolean (stringIDToTypeID('openglEnabled'));
    alert( openglEnabled );
    but then i am unable to set the value using this:
    var openglEnabled = executeActionGet(ref).getObjectValue (charIDToTypeID('CchP')).putBoolean (stringIDToTypeID('openglEnabled'));
    I tried using a recorded action but that doesnt work. Any recommendations?

    If you load the scriptlisener plug-in when you set  your preference to enable your GPU it will record the code you need.  The Code I posted to your thread in the scripting forum the other day.
    // =======================================================
    var idsetd = charIDToTypeID( "setd" );
        var desc29 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref19 = new ActionReference();
            var idPrpr = charIDToTypeID( "Prpr" );
            var idCchP = charIDToTypeID( "CchP" );
            ref19.putProperty( idPrpr, idCchP );
            var idcapp = charIDToTypeID( "capp" );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref19.putEnumerated( idcapp, idOrdn, idTrgt );
        desc29.putReference( idnull, ref19 );
        var idT = charIDToTypeID( "T   " );
            var desc30 = new ActionDescriptor();
            var idMmrU = charIDToTypeID( "MmrU" );
            var idPrc = charIDToTypeID( "#Prc" );
            desc30.putUnitDouble( idMmrU, idPrc, 90.000000 );
            var idopenglEnabled = stringIDToTypeID( "openglEnabled" );
            desc30.putBoolean( idopenglEnabled, true );
        var idCchP = charIDToTypeID( "CchP" );
        desc29.putObject( idT, idCchP, desc30 );
    executeAction( idsetd, desc29, DialogModes.NO );

Maybe you are looking for

  • Problem with set parameter id

    hi all, i am using the below code to set the parameter id to project , subproject and object for the t-code in lsmw. but when it goes to lsmw it does not take these values in lsmw . can anyone please check where i am going wrong? thanks in advance. a

  • Idle power consumption in arch twice as high as Windows 7?

    I have some issues with power consumption in Linux. Here's the rough setup: i5 750, stock settings Asus P7P55D-E premium HD5770 LSI-3081-E 8 WD20EADS 2 X-25M G2 Enermax Modu 87+ The whole system as listed above idles in Windows 7 at 59.7W with all bu

  • Filter BP based on Sales Employee using Navigation as well.

    Hi All, We have a requirement where we want to restrict/filter BP Master Data to be available only to a particular Sales Employee. I have managed to do this on Find Mode and Choose from List. One of the requirement is also that while the Navigation B

  • Jdk failed to create file in destination(please help!)

    Alright Im trying to dl jdk for my private server to compile and when i try to dl jdk it comes up with jdk failed to create file in destination This is getting frusterating please help!

  • How can I sort on the question mark?

    I have catalogue of over 80,000 images and discoverd, this morning, that some are missing. Not merely in the wrong place, but rather, missing from the drive entirely; as if they had been deleted. Fortunately, I found them on a back-up drive. I  copie