AS Droplet in XCode - Problem with display dialog with title

hi,
i am using XCode to create an AS droplet.
wondering why i cant set a title to my display dialog code.
during search in this forum i found this thread:
http://discussions.apple.com/thread.jspa?messageID=6364939&#6364939
but to be honest, i didn't expect that i am limited in Xcode too.
Short code example:
display dialog "foo"
works
but
this code:
display dialog "foo" with title "bar"
not.
Would be great to find a workaround to get dialogs with titles.
And on the other hand to understand why i cant use title in Xcode.
btw: is it possible to format the output of a display dialog ?
i.e. creating new lines ?
best regards
fidel

Hello
I'm not sure but you may try 'run script' to invoke 'display dialog' of Standard Additions.
Something like this.
--SNIPPET
set t to "line 1
line 2
line 3
line 4"
run script "display dialog \"" & t & "\" ¬
with title \"Testing\" ¬
buttons {\"OK\"} default button 1"
--END OF SNIPPET
As for 'display dialog' in AS Studio, it differs from and overrides 'display dialog' command in Standard Additions. Don't know why it does not have 'with title' which is rather new parameter introduced with AS 1.10 (OSX 10.4).
cf.
AppleScript Studio Terminology Reference (pdf)
Panel Suite > Terminology > Commands > display dialog
Regards,
H
Message was edited by: Hiroto

Similar Messages

  • Display Dialog with Hidden Answer

    Now Im trying to use a hidden answer dialog to get a password and pass it to the next step in my Automator Application. The code I have so far is:
    on run {input, parameters}
              set theScript to input
              tell me to activate
              display dialog "What is your password?" default answer "" with hidden answer
              set ACP to text returned of result
              set keychaincan to input & ACP
              return keychaincan as string
    end run
    I know this works without the hidden answer, and I cannot see why its failing with "with hidden answer" at the end.
    I get the automator error "Syntax Error. Expected end of line, etc. But found identifier."
    Any ideas?

    Automator has its own variation of several things such as display dialog - you can see the terminology provided by looking at Automator's scripting dictionary.  The Automator version of display dialog doesn't have a hidden answer parameter, so one workaround is to use something like System Events, which will wind up using the regular StandardAdditions version:
        tell application "System Events" to display dialog "What is your password?" default answer "" with hidden answer

  • How can a remotely launched Applecsript display dialog?

    I have many Mac-computers running a variety of Mac OS X systems, including Tiger, Leopard, and Snow Leopard. On Tiger and Leopard, a Terminal bash-script could launch a compiled and saved Applescript (in /Applications/myLogout.app), which uses "say" to tell the user the system is going down in two-minutes. It then waits (delay 120), and then uses "say" again with this message, "System going down in 10 seconds". That's followed by a "display dialog" with the same message. The User could "Cancel" to stop the execution of the Applescript. If not, the applicaton proceeds to do cleanup work, like eliminating pesky /var/tmp files that invariablely end up as "Recovered" files or folders, and then it does "shut down".
    I could remote login from another computer and execute this simple bash-script:
        #!/bin/bash
        if [ -x "/Applications/myLogout.app" ] ; then
           osascript /Applications/myLogout.app display >/dev/null 2>&1"
        else
           echo "Can't find Logout application"
        fi
        exit 0
    This bash-script would wait at the osascript command until the Applescript terminated, which it did either because someone clicked Cancel in the dialog, or the "shut down" command occurred. My session then regained control, and usually was quickly terminated as a remote session.
    But now, Snow Leopard wouldn't properly execute the Applescript. It always fails for lack of a WindowServer connection to my remote session.
    I can't use launchd for this because of similar restrictions. For one thing, I have no clue who might be the active user on the target computer, and never had to worry about that because the "display dialog" was always presented to the "current" user. So, basically, Apple has removed the capability that existed in both Tiger and Leopard. Furthermore, their "solution" of using launchd doesn't cover this scenerio: - - remote launch of a UI application that warns the "current user", does a lot of cleanup work, and shuts down the computer.
    I can do everything in a bash shell except present a dialog to give the "current user" a chance to Cancel. Basically, the myLogout application can be launched by the "current user", and since it doesn't have an input parameter, it doesn't wait or do the dialog. That works. But even when called from a bash-script WITHOUT a parameter (that's the "display" word in the sample), it still fails in Snow Leopard.
    One final note: The "Product" listed with this post is NOT my Snow Leopard system, but it's NOT 10.4.11 either. I'm on 10.5.8

    One of us is confused about something, and I'm not sure which of us it is.
    What message are you trying to pass? If you want a formulaic "Shutdown in two minutes" message then code it directly into the script and don't bother with passing it. If you want a custom message that might change on different runs, then the easiest solution is to call a handler of the application on the remote machine and pass the message as a parameter.  just for an example, do this:
    Put this script as a stay-open script application on the remote machine:
    global idleInterval, message
    on idle
              try
      -- error catching. when you call handler x(), first the script's run handler will run, then the idle handler, then x(), and the the idle handler in a loop. this prevents unset variable errors on the first pass.
      message
      idleInterval
              on error errstr
                        return 1
              end try
              if idleInterval is "Start" then
      say message
                        set idleInterval to 10
              else if idleInterval is 10 then
      say message
                        set idleInterval to 5
              else
                        display dialog "System wants to shut down"
                        set idleInterval to 1
                        quit
              end if
              return idleInterval
    end idle
    on x(textMessage)
              set idleInterval to "Start"
              set message to textMessage
    end x
    go back to the admin machine and run this command in the applescript editor:
    tell application "ShowMsg" of machine remoteMachine
              x("Whoohoo!")
    end tell
    If it asks for authorization, give it. You can either save it in your keychain or we can work through the auth problem next.

  • Display Issues with mini (Mid 2010) and LG L246WP

    I recently purchased a new mini (Mid 2010 base model) and planned to use it with my 24" LG L246WP monitor, which is about 3 years old. The monitor has VGA, component, and HDMI inputs.
    I used an HDMI-to-HDMI cable to connect the mini directly to the monitor, and the output is completely messed up. The mini recognized the monitor (titling the System Preferences > Display dialog with 'L246WP') and set it to the monitor's native resolution of 1920x1200, but on the monitor the image is cropped to what looks like a 4:3 aspect ratio and with part of the image shifted up and left so I cannot view the top menu bar or the left hand side of the desktop. The monitor's on-screen display shows 1080p in this mode.
    The Display dialog also gives me an option for 1080p. I can select this and use the Underscan slider to resize the desktop output to fit on the screen, but it is still shifted left and must be resized smaller than the available display space (plus the total image is only 1080 pixels, not using the monitor's full native screen). In this mode, 1080p also shows on the monitor's on-screen display.
    I tried 1024x768 to see if I could get a properly-positioned image, but the desktop was shifted just like in the 1920x1200 case and the monitor's on-screen display status still reported 1080p.
    The monitor has a menu setting under an HDMI heading with "Video" and "PC" options, but changing this selection does not make a difference.
    Since the monitor came out before HDMI was as widespread as it is today, it came with a DVI-to-HDMI cable, so I also tried using that cable with the HDMI-to-DVI adapter that came with the mini, but this did not make a difference either.
    To prove it wasn't the HDMI cable, I connected the mini to my Samsung 6300 series 40" LED HDTV and with some tweaking of the Underscan slider the displayed image filled the screen perfectly.
    I've searched the Internet and various forum threads (i.e. http://hardforum.com/showthread.php?t=1167222&page=63) seem to indicate this monitor can send a corrupted EDID that causes issues, especially with nVidia graphics drivers. On Windows you can use registry or driver hacks to override the EDID with the correct values, but on OS X this doesn't seem possible (I was hoping for a Terminal one-liner but it seems this doesn't exist). I have seen some mentions of the shareware SwitchResX (http://www.madrau.com), which looks like it gives you the option to override resolution settings, but I haven't tried this yet.
    It also appears to me that the monitor is always interpreting the signal (or the mini is always sending the signal) as 1080p, even if I've set 1920x1200 in the Display dialog. I don't know if this is a defect in the monitor where it always assumes the HDMI input is a 1080p source (previous I used it with an Xbox 360 with no issues but that was 1080p HDMI), or if is a bug in the graphics drivers (or at least a lack of flexibility / miscommunication to the user trying to handle a corrupt EDID).
    I asked my local Genius Bar for advice today (without bringing any hardware in) but was not told anything I didn't already know.
    I'm trying to determine the best way to work through this issue. *My questions are:*
    Would it make any difference if I used a Mini DisplayPort-to-DVI adapter (and then my DVI-to-HDMI cable to the monitor's HDMI input)?
    What about a Mini DisplayPort-to-VGA adapter? In the past I used a 12" Powerbook (via a mini-DVI-to-VGA adapter) with this monitor and had no display issues like this, but I'd prefer to stick with a digital connection on my brand new mini.
    Is SwitchResX the only practical way in OS X to override a corrupt EDID and force the mini to output a certain resolution?
    Besides the various adapters and SwitchResX, is there anything else I should try before buying a new monitor?

    Hello EPWilson4984.
    I have been experiencing the same issues you described. Connecting my brand new Mac Mini to my Westinghouse 24”monitor (L2410NM,  1920x1200 pixel resolution) produces a very fuzzy and washed out image quality. The Mac recognizes the monitor and applies the right resolution (1920x1200), but it looks just awful. The EDID info is definitely not right.
    Now, I tried your suggestion (DVI-to-HDMI), and similar suggestions from other threads, but nothing works. Nothing seems to work at all.
    The main input for the monitor is HDMI, so whatever cable I use, in the end always has to connect to the monitor via HDMI. I tried all these combinations with zero success:
    Mac mini -> HDMI cable -> monitor (result: fuzzy and blurry image)
    Mac mini -> displayport –HDMI adapter-> HDMI cable -> monitor (result: fuzzy and blurry image)
    Mac mini  -> displayport –DVI adapter-> DVI-to-HDMI cable -> monitor (result: it gives me a blank screen, no image at all)
    I’m running out of options. Don’t know what to do. The 24” monitor produces beautiful, crisp images when hooked to my Windows 7 PC. It looks horrible when connected to my brand new Mac Mini.
    Any alternatives you may have come across? Please let me know, thank you.

  • Display Dialog button misbehavior

    -- This is not an earth-shattering matter, but I've wondered if others have encountered some inconsistent button behavior with 'Display dialog'
    -- For example, consider the following, which wasn't misbehaving when I posted this
    display dialog "Go" buttons {"OK", "Quit"} default button 1 cancel button 2
    --What happens sometimes is that button 1, although properly highlighted in the display, won't respond to the return button (must be clicked on directly). This behavior is usually consistent for a given display, while other displays in the same script may behave properly.
    -- Other Info:
    -- I've tried using the button name rather than number (no difference).
    -- I can't be certain, but I think displays with default answers have never misbehaved for me.
    -- This is something I've observed on and off for months, but have never really pursued it.
    -- I've found nothing about the affected displays that seems unusual or atypical.
    -- I'm not expecting a work-around (although that would be great), just wondering if others see this.
    --TIA

    The simplest way to do this is to create a stay-open applescript application with the following code:
    on quit
              display dialog "Please Backup Your Data
    There is a risk of data loss if the machine experiences a hardware failure or an accident occurs" buttons {"Log Out", "Cancel"} default button "Cancel" with icon stop
              if button returned of result is "Log Out" then
                        continue quit
              end if
    end quit
    and then run it at startup.  when the user tries to logout, the on quit handler will run and the program won't quit unless they choose logout; otherwise the program won't quit and the logout will be canceled.

  • Printer Dialog with blank destination

    Hi experts,
    I have problem with printer dialog with blank logical destination. When ever I trigger output, printer dialog popup with blank logical destination while output printer is already configured but it doesnot showup. secondly, I disable dialog popup in control parameters also.
    Please advise me, how to control this issue?
    Thanks,
    SA

    goto SU03 and define ur output device there. I believe the output device / printer will be takene from here

  • Problem with display driver

    Hello,
    Im using Photoshop CC and when it starts up it sometimes gives me this error message:
    'Problem with display driver and has temporary disabled enhancements which use graphics hardware.'
    What does this mean?
    Then it tells me to download the latstest software and gives me a link to an Adobe site that tells me nothing about a sollution.
    About my mac:
    MacBook Pro
    Intel Core i7
    2,2 GHz
    4 cores
    8 GB RAM
    AMD Radeon HD 6750M
    Thanks a bunch!

    Here you go:
    Adobe Photoshop Version: 14.2 (14.2 20131211.r.515 2013/12/11:23:00:00) x64
    Operating System: Mac OS 10.9.1
    System architecture: Intel CPU Family:6, Model:42, Stepping:7 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 4
    Logical processor count: 8
    Processor speed: 2200 MHz
    Built-in memory: 4096 MB
    Free memory: 2266 MB
    Memory available to Photoshop: 3136 MB
    Memory used by Photoshop: 80 %
    Image tile size: 1024K
    Image cache levels: 4
    Font Preview: Medium
    TextComposer: Latin
    The GPU Sniffer crashed on 10/01/2014 at 09:05:58
    Display: 1
    Main Display
    Display Bounds: top=0, left=0, bottom=900, right=1440
    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
    NumGPUs=1
    gpu[0].OGLVersion="2.1"
    gpu[0].MemoryMB=1024
    gpu[0].RectTextureSize=16384
    gpu[0].Renderer="AMD Radeon HD 6750M OpenGL Engine"
    gpu[0].RendererID=16915206
    gpu[0].Vendor="ATI Technologies Inc."
    gpu[0].VendorID=4098
    gpu[0].HasNPOTSupport=1
    gpu[0].CompileProgramGLSL=1
    gpu[0].TestFrameBuffer=1
    gpu[0].OCLPresent=1
    gpu[0].OCLVersion="1.2 (Aug 24 2013 21:03:27)"
    gpu[0].CUDASupported=0
    gpu[0].OCLBandwidth=1.89051e+10
    gpu[0].glGetString[GL_SHADING_LANGUAGE_VERSION]="1.20"
    gpu[0].glGetProgramivARB[GL_FRAGMENT_PROGRAM_ARB][GL_MAX_PROGRAM_INSTRUCTIONS_ARB]=[4096]
    gpu[0].glGetIntegerv[GL_MAX_TEXTURE_UNITS]=[8]
    gpu[0].glGetIntegerv[GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]=[16]
    gpu[0].glGetIntegerv[GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS]=[16]
    gpu[0].glGetIntegerv[GL_MAX_TEXTURE_IMAGE_UNITS]=[16]
    gpu[0].glGetIntegerv[GL_MAX_DRAW_BUFFERS]=[8]
    gpu[0].glGetIntegerv[GL_MAX_VERTEX_UNIFORM_COMPONENTS]=[3072]
    gpu[0].glGetIntegerv[GL_MAX_FRAGMENT_UNIFORM_COMPONENTS]=[3072]
    gpu[0].glGetIntegerv[GL_MAX_VARYING_FLOATS]=[128]
    gpu[0].glGetIntegerv[GL_MAX_VERTEX_ATTRIBS]=[16]
    gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_PROGRAM]=1
    gpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_PROGRAM]=1
    gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_SHADER]=1
    gpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_SHADER]=1
    gpu[0].extension[AIF::OGL::GL_EXT_FRAMEBUFFER_OBJECT]=1
    gpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_RECTANGLE]=1
    gpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_FLOAT]=1
    gpu[0].extension[AIF::OGL::GL_ARB_OCCLUSION_QUERY]=1
    gpu[0].extension[AIF::OGL::GL_ARB_VERTEX_BUFFER_OBJECT]=1
    gpu[0].extension[AIF::OGL::GL_ARB_SHADER_TEXTURE_LOD]=1
    License Type: Subscription
    Serial number:
    Application folder: /Applications/Adobe Photoshop CC/
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      Macintosh HD, 697.8G, 107.2G free
    Required Plug-ins folder: /Applications/Adobe Photoshop CC/Adobe Photoshop CC.app/Contents/Required/Plug-Ins/
    Primary Plug-ins folder: /Applications/Adobe Photoshop CC/Plug-Ins/
    Installed components:
       adbeape.framework   adbeape   3.4.0.29366   0.1160850
       AdbeScriptUIFlex.framework   AdbeScriptUIFlex   6.3.2.31983   79.546835
       adobe_caps.framework   adobe_caps   7.0.0.21   1.248010
       AdobeACE.framework   AdobeACE   2.20.02.31977   79.548223
       AdobeAGM.framework   AdobeAGM   4.30.29.31977   79.548223
       AdobeAXE8SharedExpat.framework   AdobeAXE8SharedExpat   3.7.101.18636   66.26830
       AdobeAXEDOMCore.framework   AdobeAXEDOMCore   3.7.101.18636   66.26830
       AdobeBIB.framework   AdobeBIB   1.2.03.31977   79.548223
       AdobeBIBUtils.framework   AdobeBIBUtils   1.1.01   79.548223
       AdobeCoolType.framework   AdobeCoolType   5.15.00.31977   79.548223
       AdobeCrashReporter.framework   AdobeCrashReporter   7.0.1  
       AdobeExtendScript.framework   AdobeExtendScript   4.5.5.31983   79.546835
       AdobeJP2K.framework   AdobeJP2K   1.2.2.31977   79.248139
       AdobeLinguistic.framework      19061  
       AdobeMPS.framework   AdobeMPS   5.8.1.31977   79.535029
       AdobeOwl.framework   AdobeOwl   5.0.24   79.547804
       AdobePDFL.framework   AdobePDFL   11.0.0.31977   79.508720
       AdobePDFSettings.framework   AdobePDFSettings   1.4  
       AdobePIP.framework   AdobePIP   7.0.0.1786  
       AdobeScCore.framework   AdobeScCore   4.5.5.31983   79.546835
       AdobeUpdater.framework   AdobeUpdater   6.0.0.1452   "52.338651"
       AdobeXMP.framework   AdobeXMPCore   79.154911   79.154911
       AdobeXMPFiles.framework   AdobeXMPFiles   79.154911   79.154911
       AdobeXMPScript.framework   AdobeXMPScript   79.154911   79.154911
       ahclient.framework   ahclient   1.8.0.31  
       aif_core.framework   AdobeAIF   5.0.00   79.534508
       aif_ocl.framework   AdobeAIF   5.0.00   79.534508
       aif_ogl.framework   AdobeAIF   5.0.00   79.534508
       AlignmentLib.framework   xcode   Copyright © 2013 Adobe Systems Incorporated  
       amtlib.framework   amtlib   7.0.0.249  
       boost_date_time.framework   boost_date_time   7.0.0.0  
       boost_signals.framework   boost_signals   7.0.0.0  
       boost_system.framework   boost_system   7.0.0.0  
       boost_threads.framework   boost_threads   7.0.0.0  
       Cg.framework   NVIDIA Cg     
       CIT.framework   CIT   2.1.6.30929   151865
       CITThreading.framework   CITThreading   2.1.6.30929   151865
       dvaaudiodevice.framework   dvaaudiodevice   7.0.0.0  
       dvacore.framework   dvacore   7.0.0.0  
       dvamarshal.framework   dvamarshal   7.0.0.0  
       dvamediatypes.framework   dvamediatypes   7.0.0.0  
       dvaplayer.framework   dvaplayer   7.0.0.0  
       dvatransport.framework   dvatransport   7.0.0.0  
       dvaunittesting.framework   dvaunittesting   7.0.0.0  
       dynamiclink.framework   dynamiclink   7.0.0.0  
       FileInfo.framework   FileInfo   79.154511   79.154511
       filter_graph.framework   AdobeAIF   5.0.00   79.534508
       ICUConverter.framework   ICUConverter   3.61   "gtlib_3.0" "." "16615"
       ICUData.framework   ICUData   3.61   "gtlib_3.0" "." "16615"
       LogSession.framework   LogSession   2.1.2.1785  
       mediacoreif.framework   mediacoreif   7.0.0.0  
       patchmatch.framework   patchmatch   1.2.00.31977   79.542390
       PlugPlugOwl.framework   PlugPlugOwl   4.2.0.36  
       UpdaterNotifications.framework   UpdaterNotifications   7.0.1.102   "7.0.1.102"
       WRServices.framework        
    Required plug-ins:
       3D Studio 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Accented Edges 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Adaptive Wide Angle 14.2, Copyright © 2014 Adobe Systems Incorporated - from the file “Adaptive Wide Angle.plugin”
       Angled Strokes 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Average 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “Average.plugin”
       Bas Relief 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       BMP 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Camera Raw 8.3 (141), Copyright © 2013 Adobe Systems Incorporated - from the file “Camera Raw.plugin”
       Camera Raw Filter 8.3 (141), Copyright © 2013 Adobe Systems Incorporated - from the file “Camera Raw.plugin”
       Chalk & Charcoal 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Charcoal 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Chrome 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Cineon 14.2 x001  ©2002-2014 Adobe Systems Incorporated - from the file “Cineon.plugin”
       Clouds 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “Clouds.plugin”
       Collada DAE 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Color Halftone 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Colored Pencil 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       CompuServe GIF 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Conté Crayon 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Craquelure 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Crop and Straighten Photos 14.2 x001  ©2003-2014 Adobe Systems Incorporated - from the file “CropPhotosAuto.plugin”
       Crop and Straighten Photos Filter 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Crosshatch 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Crystallize 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Cutout 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Dark Strokes 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       De-Interlace 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Dicom 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “dicom.plugin”
       Difference Clouds 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “Clouds.plugin”
       Diffuse Glow 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Displace 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Dry Brush 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Eazel Acquire 14.2 x001  ©1997-2014 Adobe Systems Incorporated - from the file “EazelAcquire.plugin”
       Embed Watermark NO VERSION - from the file “DigiSign.plugin”
       Entropy 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Extrude 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       FastCore Routines 14.2 x001  ©1990-2014 Adobe Systems Incorporated - from the file “FastCore.plugin”
       Fibers 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Film Grain 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Filter Gallery 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Flash 3D 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Fresco 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Glass 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Glowing Edges 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Google Earth 4 KMZ 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Grain 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Graphic Pen 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Halftone Pattern 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       HDRMergeUI 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “HDRMergeUI.plugin”
       IFF Format 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Ink Outlines 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       JPEG 2000 14.2 x001  ©2001-2014 Adobe Systems Incorporated - from the file “JPEG2000.plugin”
       Kurtosis 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Lens Blur 14.2, Copyright © 2002-2014 Adobe Systems Incorporated - from the file “Lens Blur.plugin”
       Lens Correction 14.2, Copyright © 2002-2014 Adobe Systems Incorporated - from the file “Lens Correct.plugin”
       Lens Flare 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Liquify 14.2, Copyright © 2001-2014 Adobe Systems Incorporated - from the file “Liquify.plugin”
       Matlab Operation 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “ChannelPort.plugin”
       Maximum 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Mean 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Measurement Core 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “MeasurementCore.plugin”
       Median 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Mezzotint 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Minimum 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       MMXCore Routines 14.2 x001  ©1990-2014 Adobe Systems Incorporated - from the file “MMXCore.plugin”
       Mosaic Tiles 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Multiprocessor Support 14.2 x001  ©1990-2014 Adobe Systems Incorporated - from the file “MultiProcessor Support.plugin”
       Neon Glow 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Note Paper 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       NTSC Colors 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “NTSC Colors.plugin”
       Ocean Ripple 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Oil Paint 14.2, Copyright © 2014 Adobe Systems Incorporated - from the file “Oil Paint.plugin”
       OpenEXR 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Paint Daubs 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Palette Knife 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Patchwork 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Paths to Illustrator 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       PCX 14.2 x001  ©1989-2014 Adobe Systems Incorporated - from the file “PCX.plugin”
       Photocopy 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Photoshop 3D Engine 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “Photoshop3DEngine.plugin”
       Photoshop Touch CC (14.2.0.0) ©1993-2014 Adobe Systems Incorporated - from the file “PSDX.plugin”
       Picture Package Filter 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “ChannelPort.plugin”
       Pinch 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Pixar 14.2 x001  ©1989-2014 Adobe Systems Incorporated - from the file “Pixar.plugin”
       Plaster 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Plastic Wrap 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       PNG 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Pointillize 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Polar Coordinates 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Portable Bit Map 14.2 x001  ©1989-2014 Adobe Systems Incorporated - from the file “PBM.plugin”
       Poster Edges 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Radial Blur 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Radiance 14.2 x001  ©2003-2014 Adobe Systems Incorporated - from the file “Radiance.plugin”
       Range 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Read Watermark NO VERSION - from the file “DigiRead.plugin”
       Reticulation 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Ripple 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Rough Pastels 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Save for Web 14.2, Copyright © 1999-2014 Adobe Systems Incorporated - from the file “Save for Web.plugin”
       ScriptingSupport 14.2, Copyright © 2014 Adobe Systems Incorporated - from the file “ScriptingSupport.plugin”
       Shake Reduction 14.2, Copyright © 2014 Adobe Systems Incorporated - from the file “Shake Reduction.plugin”
       Shear 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Skewness 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Smart Blur 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Smudge Stick 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Solarize 14.2 x001  ©1993-2014 Adobe Systems Incorporated - from the file “Solarize.plugin”
       Spatter 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Spherize 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Sponge 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Sprayed Strokes 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Stained Glass 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Stamp 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Standard Deviation 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       STL 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Sumi-e 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Summation 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Targa 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Texturizer 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Tiles 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Torn Edges 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Twirl 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Underpainting 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Vanishing Point 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “VanishingPoint.plugin”
       Variance 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Water Paper 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Watercolor 14.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Wave 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Wavefront|OBJ 14.2 x001  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Wind 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Wireless Bitmap 14.2 x001  ©1989-2014 Adobe Systems Incorporated - from the file “WBMP.plugin”
       ZigZag 14.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
    Optional and third party plug-ins: NONE
    Plug-ins that failed to load: NONE
    Flash:
       Mini Bridge
       Kuler
       Adobe Exchange
    Installed TWAIN devices: NONE

  • Photoshop problems with displaying white text (and glitching in general)

    Hi there,
    My Photoshop seems to be having some serious issues with displaying certain things, namely white text (which shows up as black), and a mix of other random elements. I've tried searching for symptoms that I've been having, but I can't seem to find anything relevant. Here is what is going on:
    White text shows up as black. However, sometimes if I use blending options to give it a white Color Overlay, it will become white. Sometimes it doesn't matter, it will show up as black regardless. Other colors are not affected. I have tried changing colors back and forth. the moment I switch the color back to white, it shows up as black.
    Smart objects are broken. I can still find a smart object in the Layers window, but it will just display as one of two things: nothing/transparent (but the layer inside still contains everything it used to), or the way it is supposed to look but with a huge black bar over it (or a glitch tv-error fuzz bar). I've tried taking all of the elements in the Smart Object and bringing it into the original file, but then the image looks super fuzzy-glitchy.
    I've attached a screenshot of what I mean by this fuzz-glitch thing below. This example is black and white, but it can be literally any color and/or any rainbow of colors. This is what happened when I created a new 1000px x 1000px document with a white background. Notice how it isn't ENTIRELY glitchy fuzz. Only certain parts of it are covered.
    Please help! Does anyone know how to solve this? I've tried restarting Photoshop, restarting my computer, changing the Advanced Graphics Processor Settings Drawing Mode from Normal to Basic, changing the amount of memory usage that I let Photoshop use (down AND up), and nothing gets fixed. The problem occurs in the middle of working on Photoshop
    My computer information is as follows:
    MacBook Pro (Retina, 13-inch, Early 2013) running OSX Yosemite
    3 GHz Intel Core i7
    8 GB 1600 MHz DDR3
    Intel HD Graphics 4000 1024 MB
    Thanks!

    Have you tried resetting the Type tool by right clicking here:
    Have you tried resetting Preferences?
    A logical next step would be to reset your Preferences.
    To reset Preferences:
    If Photoshop is already open on your screen, close it (Quit). Then hold down Shift+Ctrl+Alt (Win) / Shift+Command+Option (Mac) on your keyboard and start Photoshop.
    A dialog box will pop up asking if you want to delete the existing Preferences file (the "Settings"). Click Yes in the dialog box. The existing Preferences file will be scrapped and a new one will be created.

  • Plugin fails to display modal dialog with ActiveX'ed bean

    I have first posted this in the ActiveX bridge group, and have gotten no response. Since the plugin group also has posts on modal dialogs, thought this is also correct to post here. Both plugin and ActiveX'ed beans use beans.ocx for display.
    I have a bean wrapped as ActiveX with sun.beans.ole.Packager. The bean provides a method, which ultimately will pop up a modal confirm dialog (JOptionPane.showConfirmDialog(.)).
    If the method is triggered solely from within the bean, say via a click on a bean's button, all is well.
    If the method is triggered from its host (VB form), the
    - the call is done on the main thread. The confirm dialog shows, but when I click on one of its buttons, the app hangs.
    - If I try to pass the call into the event dispatch thread (SwingUtilities.invokeAndWait(.)), the confirm dialog somewhat pops up, but does not paint completely and the app hangs.
    - If I try to pass the call into the event dispatch thread with SwingUtilities.invokeLater(.) all is well, the confirm dialog pops up, I can click on its buttons, etc. but the function returns to VB too early, which is not what I want since I need the answer.
    - I have tried the following:
    entry method determines it is not on the event dispatch thread.
    Tries itself with invokeLater(.), yields the current thread and calls wait(.).
    The method invoked later will execute in the event dispatch thread, popup the confirm dialog and when finished will do a notifyAll(.).
    Unfortunately, what happens is that the entry thread (the main thread) puts the invokeLater into the event dispatch queue, yields itself and wait()'s. And waits and waits. In the meantime, the dispatch thread will get to the point where it wants to show the confirm dialog, but will then hang. If I time out the wait in the main thread, then the confirm dialog is popped up immediately after the wait finishes with the time-out.
    Sooo, this tells me that there is some strange synchronization going on which causes something like a deadlock. Is there any good approach to triggering modal dialogs from a native app hosting the ActiveX'ed bean??
    I have found many entries on probs with modal dialogs in the plug-in, which relate to applets. But no solution yet.
    Some keywords that I have came across are:
    - the event dispatch queue can be flushed and "empty events" can be posted into it. Also, the invokeAndWait(.) will register a "conditional" message pump on the event queue that seems to work until the locking condition is no longer valid. Any experience with these? Any way to manipulate (a) main thread, (b) event dispatch queue, (c) event dispatch thread to resolve the apparent deadlock?
    - There seems to be some difference in locking when the parent process is VB/COM as when it is Java. I have the impression that the main thread has some lock until the call made from VB/COM is fully completed and the call stack cleaned up. Can anyone confirm this? And/or suggest a way around it?
    Sylvia

    Sylvia - I found your posting because I have a similar problem in which a JavaBean wrapped using the Packager needs to call a Visual Basic event subroutine from a thread other than the main thread.
    This, I have discovered, is not supported in VB unless you use special thread marshalling calls (not available to the Java bean) or event queuing calls (ditto, afaik).
    My point is that this may be related to your problem. Check this Microsnot document on their public support site:
    Q196026

  • Display a MFC Modal Dialog with CListBox in TestStand

    I want to display a MFC Modal Dialog with a CListBox element, but I can't fill the listbox with data.
    Here are some commands of my program:
    SequenceContext seqContext;
    Engine engine;
    seqContext.AttachDispatch(seqContextDisp, FALSE);
    engine.AttachDispatch(seqContext.GetEngine());
    HWND parentHwnd = (HWND)engine.GetAppMainHwnd();
    CSearch_Line_Window_Dialog dlg(CWnd::FromHandle(parentHwnd));
    dlg.m_SearchLineWindow_Listbox.m_hWnd = parentHwnd;
    (without this command I get the error "Debug Assertion Failed", because of ASSERT(::IsWindow(m_hWnd)))
    dlg.m_SearchLineWindow_Listbox.AddString("Hallo");
    dlg.DoModal();
    seqContext = NULL;
    engine = NULL;
    The dialog with the emtpy listbox appears, b
    ut without any text. I tried the same by using NotifyStartOfModalDialogEx and NotifyEndOfModalDialog. The example "MFC_Modal_Dialog" opens only a dialog without elements.
    I hope you can help me to solve my problem.
    Thank you.

    I've about the same problem and tried to implement your solution but can't get it to run. I always receive an assertion failure.
    I try to fill the ComboBox in a dialog with items at runtime. (use VC++ and MFC-DLL)
    the header of my dialog:
    class DlgSelectECU : public CDialog
    public:
    DlgSelectECU(CWnd* pParent = NULL);
    BOOL OnInitDialog();
    //{{AFX_DATA(DlgSelectECU)
    enum { IDD = IDD_DLGSELECTECU_DIALOG };
    CComboBox m_ECUList;
    CStringList m_StringList;
    //}}AFX_DATA
    //{{AFX_VIRTUAL(DlgSelectECU)
    protected:
    virtual void DoDataExchange(CDataExchange*pDX);
    //}}AFX_VIRTUAL
    protected:
    DECLARE_MESSAGE_MAP()
    the implementation of my dialog:
    DlgSelectECU:lgSelectECU(CWnd* pParent /*=NULL*/)
    : CDialog(DlgSelec
    tECU::IDD, pParent)
    //{{AFX_DATA_INIT(DlgSelectECU)
    //}}AFX_DATA_INIT
    BOOL DlgSelectECU:nInitDialog()
    POSITION pos = m_StringList.GetHeadPosition();
    while (pos)
    m_ECUList.AddString(m_StringList.GetNext(pos));
    return true;
    void DlgSelectECU:oDataExchange(CDataExchange* pDX)
    CDialog:oDataExchange(pDX);
    //{{AFX_DATA_MAP(DlgSelectECU)
    DDX_Control(pDX, IDC_COMBO_ECU, m_ECUList);
    //}}AFX_DATA_MAP
    my dll function TestStand calls looks like that:
    EXPORT CALLBACK SelectECU(char ECUs[1024])
    AFX_MANAGE_STATE(AfxGetStaticModuleState());
    DlgSelectECU Dlg;
    Dlg.m_StringList.AddTail("ITEM 1");
    if (Dlg.DoModal() == IDOK)
    // do something
    Running the sequence file in TestStand and calling the dll function descriped above causes an assertion failure each time I try to add anything to the StringList. Why? And what am I doing wrong? Is there
    a documentation about how to write dlls with MFC elements
    for use with TestStand using other tools than LabWindows/CVI? Everything I found so far is rather crude.
    Thanks!

  • Display dialog w/ applescript and xcode why so different

    Hi all
    Having an issue with a dialog box in xcode
    In AS editor I have a long dialog box but xcode only shows half the message
    display dialog "line 1
    line 2
    line 3
    line 4
    line 5
    line 6
    line 7"
    For some reason applescript shows the whole message where as xcode only shows the first 2 lines and cuts off the rest.
    Why is that?
    How can I fix this?
    I need to display no less then 7 lines in the dialog

    Never mind I figured it out
    tell app "finder"
    activate
    tell app "system events" to display dialog "1
    2
    3
    4
    5
    6
    7
    end tell
    ----

  • I am having a problem with display and loading problem on my macbook pro.

    when i am trying to login into my user account on my macbook pro. it just starts loading but after that it doesnt display anything and keeps on loading for hours.Also when i logged into guest user it asked me to restart for the safari use only and after using that option i am just able to use safari with the displaying problems.please reply mw with an answer.

    Your post somehow found its way to a little-viewed forum for an obsolete Apple productivity program. I have asked the Hosts to move you to a more appropriate and active forum for your product where you can get help faster.

  • Problem with displaying BLOB images on JSP page using a servlet

    hi. I have a big problem with displaying BLOB images using JSP. I have a servlet that connects to the oracle database, gets a BLOB image , reads it, and then displays it using a BinaryStream. The problem is , this works only when i directly call that servlet, that is http://localhost:8080/ImageServlet. It doesn't work when i try to use that servlet to display my image on my JSP page (my JSP page displays only a broken-image icon ) I tried several coding approaches with my servlet (used both Blob and BLOB objects), and they work just fine as long as i display images explicitly using only the servlet.
    Here's what i use : ORACLE 10g XE , Eclipse 3.1.2, Tomcat 5.5.16 , JDK 1.5
    here is one of my image servlet's working versions (the essential part of it) :
                   BLOB blob=null;
              rset=st.executeQuery("SELECT * FROM IMAGES WHERE ID=1");
              while (rset.next())
                   blob=((OracleResultSet)rset).getBLOB(2);
              response.reset();
              response.setContentType("image/jpeg");
              response.addHeader("Content-Disposition","filename=42.jpeg");
                    ServletOutputStream ostr=response.getOutputStream();
                   InputStream istr=blob.getBinaryStream(1L);
                    int size=blob.getBufferSize();
              int len=-1;
                    byte[] buff = new byte[size];
                         while ((len=istr.read( buff ))!=-1 ) {
                   ostr.write(buff,0,len);
             response.flushBuffer();
             ostr.close(); and my JSP page code :
    <img src="/ImageServlet" border="0"  > If you could just tell me what i'm doing wrong here , or if you could show me your own solutions to that problem , i would be very greatful ,cos i'm realy stuck here , and i'm rather pressed for time too. Hope someone can help.

    I turns out that it wasn't that big of a problem after all. All i had to do was to take the above code and place it into another JSP page instead of into a servlet like i did before. Then i just used that page as a source for my IMG tag in my first JSP. It works perfectly well. Why this doesn't work for servlets i still don't know, but it's not a problem form me anymore . Ofcourse if someone knows the answer , go ahead and write. I would still appriceatte it.
    here's the magic tag : <img src="ImageJSP.jsp" border="0"  > enjoy : )

  • Problem with display of a character (value 65533)

    Hi all, sorry for my english but i don't speak it very well.
    I have a big problem with the visualization of a character.
    I have a binary text that i have to analyze with java. With my utility all works fine, but when i get the character (binary 81) and i analayze this character i obtain an int 65533 or a byte -3 , and after a casting to char i see that java doesn't display correctly this char, infact i obtain a char like this a question mark in a square. Even if a try to write this into a text file, i can see correctly all the other char, but instead of this char i see a question mark.
    Someone know why i obtain this?i have to set some specific character encoding or something like this?
    I don't know if this is usefull, but these are Hebrew char.
    Thanks,bye.

    A character value of 65533 in not in the Unicode range for Hebrew and Java characters are Unicode encoded as UTF16. See http://www.unicode.org/charts/ .
    65533 is not a byte value since bytes have a range -128 to +127 .
    0x81 is not the same as 65533 decimal.
    How are you converting the bytes of the file to characters?
    Edited by: sabre150 on Oct 9, 2008 8:51 AM

  • Problem with display of JScrollPane

    I have made a small GUI.
    It has a JFrame and four JPanels are added to the frame.
    The placement is done by program and hence layout manager is set to null.
    Two of the panels contain JScrollPane.
    One scroll pane is associated with a JList.
    Another scroll pane is associated with a JTextArea.
    I am creating panel components in their respective paintComponent() method.
    Now my problem is whenever I run the code, the behaviour of the display of the GUI is erratic. Sometimes it appears perfectly fine other times the JList contents and JTextArea along with their scroll bars don't appear. I have tried running the code on different platforms and different systems. On some systems it works perfectly fine, on some it behaves erratically.
    Moreover my experience is that it is giving problem on somewhat lower configuration systems (low RAM and CPU) and running fine on higher configuration systems.
    I ran it on my laptop with 512MB RAM and centrino duo processor. (Both on windows and ubuntu it gave the same problem, random display behavior)
    I ran it on a desktop with 1GB RAM and higher processor (Both on windows and ubuntu it displayed fine)
    Does this problem relate to insufficient painting time or something of this sort? Why is this problem is coming and what's the solution?
    Thanks in advance.
    Also if anybody has encountered similar problem please do share so that I could at least say this is not a unique one.

    The placement is done by program and hence layout manager is set to null.That is (probably) your first problem. Learn to use use LayoutMangers, they save time in the long run.
    Sometimes it appears perfectly fine other times the JList contents and JTextArea along with their scroll bars don't appearProbably because preferred sizes are not set correctly. Since you are not using a layout manager that is your responsibility. Easy solution is to use a proper combination of layout managers.
    I am creating panel components in their respective paintComponent() method.That is (probably) your second problem. paintComponent() is for doing custom painting, not creating new components dynamically.
    I suggest you start by reading the Swing tutorial for example programs.

Maybe you are looking for

  • How can you get the car stereo to play songs on nano in order?

    Hi--I just got an ipod nano and connect it to my car stereo via a usb port.  No matter what controls I try (on the car) it just plays songs in alphabetical order of the song (regardless of the album title).  How can I get it to play in the order I wa

  • Av adapter not working with ipad 2, please advice

    I bought an av adapter 2012 release, is not working with my ipad 3g att ios version 4.3.5 i tried reset, changing the widescreen button multiple times no luck no video mirroring or sound. When i plug there is a msg displayed: accessory not supported.

  • InDesign CS4 Package command not collecting all images

    OSX 10.5.6 - InDesign CS4. Packaged a magazine document which has 56 links. Destination folder only has 14 of the links. Fonts collected OK. What is going on? I redid this 3 times and it still only collects 14 of the links. Thank you.

  • Wi Fi slow down on Mac Book Pro

    I have had excellent wireless service in my home for the past year.  I recently downloaded the most recent OSX 10.95 and the connection is incredibly slow.  I had ATT come to my home and they replaced the modem and this hasn't fixed the problem.  I a

  • Why don't rotated photos appear as saved in Screensaver?

    When photos are rotated and saved by Preview to a Photo folder, the Screensaver only opens them in the unrotated format.