New Markup using JVue applet with default colors that override .ini setting

Goal: To load the JVue applet initially populated with a given document(drawing) and if there are no markups at all:
•     Give the user a markup with a custom filename
•     Configure the applet so that all markups:
o     Have a specific custom outline color that overrides setting in allusers.ini
o     Have a specific custom fill color that overrides setting in allusers.ini
Problem: The following code achieves everything except setting the custom colors via the method configureMarkups().
•     If configureMarkups() is called, the applet will not save a valid Markup file (it is zero bytes).
•     If configureMarkups() is simply not called, the applet will save a valid Markup file (but the markups are not the desired color)
•     See the text following this code for a more detailed process flow:
package com.kpe.esd.applets;
import java.awt.Color;
import com.cimmetry.core.Property;
import com.cimmetry.markupbean.Markup;
import com.cimmetry.markupbean.MarkupBean;
import com.cimmetry.markupbean.MarkupEntitySpec;
import com.cimmetry.vuebean.event.VueEvent;
import com.cimmetry.vuebean.event.VueFileListener;
import com.cimmetry.vuebean.event.VueMarkupListener;
import com.cimmetry.vuebean.event.VueModelEvent;
import com.cimmetry.vuebean.event.VueModelListener;
public class JVueKPE extends com.cimmetry.jvue.JVue
implements VueMarkupListener, VueModelListener, VueFileListener {
/** serialVersionUID */
private static final long serialVersionUID = 1L;
public void onInitDone() {
super.onInitDone();
System.out.println("***KPE*** JVue extension (Build 20120219-i) has been initialized.");
* @param markupBean
* @param filename
* @param author
public void createUserMarkup(MarkupBean markupBean, String filename, String author) {
System.out.println("***KPE*** createUserMarkup()");
System.out.println(" filename: " + filename);
System.out.println(" author: " + author);
final boolean first = markupBean.getActiveMarkup().getName().contains("ntitled");
final Markup newmarkup = first
? markupBean.getActiveMarkup() : markupBean.createMarkup(true);
newmarkup.setName(filename);
// Create a Properties class and instantiate the object
final Property root = new Property("Markup", "KPE User Markup");
root.addChildProperty("CSI_DocID", "<<dms:newmarkup>>"+filename);
root.addChildProperty("CSI_DocName", filename);
root.addChildProperty("CSI_DocReadOnly", "false");
root.addChildProperty("CSI_DocAuthor", author != null ? author : "mickeymouse");
root.addChildProperty("author", author != null ? author : "minniemouse");
root.addChildProperty("Read-Only", "false");
root.addChildProperty("CSI_MarkupType", "normal");
newmarkup.setProperty(root);
this.getActiveVueBean().getVueEventBroadcaster().addMarkupListener(this);
this.getActiveVueBean().getVueEventBroadcaster().addModelListener(this);
this.getActiveVueBean().getVueEventBroadcaster().addFileListener(this);
// Make sure this is the last line of the method!!!
if (!first) markupBean.setActiveMarkup(newmarkup); // This has no effect on enabling markup entity buttons
public void createUserMarkup_tested_works(MarkupBean markupBean, String filename, String author) {
System.out.println("***KPE*** createUserMarkup()");
System.out.println(" filename: " + filename);
System.out.println(" author: " + author);
final Markup newmarkup = markupBean.createMarkup(true);
newmarkup.setName(filename);
// Create a Properties class and instantiate the object
final Property root = new Property("Markup", "KPE User Markup");
root.addChildProperty("CSI_DocID", "<<dms:newmarkup>>"+filename);
root.addChildProperty("CSI_DocName", filename);
root.addChildProperty("CSI_DocReadOnly", "false");
root.addChildProperty("CSI_DocAuthor", author != null ? author : "mickeymouse");
root.addChildProperty("author", author != null ? author : "minniemouse");
root.addChildProperty("Read-Only", "false");
root.addChildProperty("CSI_MarkupType", "normal");
newmarkup.setProperty(root);
this.getActiveVueBean().getVueEventBroadcaster().addMarkupListener(this);
this.getActiveVueBean().getVueEventBroadcaster().addModelListener(this);
this.getActiveVueBean().getVueEventBroadcaster().addFileListener(this);
// Always search for, and delete, "untitled" markups
final Markup[] allmarkups = markupBean.getMarkups();
for (Markup thismarkup : allmarkups) {
System.out.print("***KPE*** Markup Name: " + thismarkup.getName());
if (thismarkup.getName().contains("ntitled")) {
markupBean.deleteMarkup(thismarkup);
System.out.println(" <<< removed.");
} else {
System.out.println(" <<< kept.");
// Make sure this is the last line of the method!!!
markupBean.setActiveMarkup(newmarkup); // This has no effect on enabling markup entity buttons
public void configureMarkups(boolean isGreenMarks) {
System.out.println("***KPE*** configureMarkups()");
System.out.println(" isGreenMarks: " + isGreenMarks);
final MarkupBean mbean = this.getActiveVueBean().getMarkupBean();
final Markup active = mbean.getActiveMarkup();
MarkupEntitySpec spec = active.getMarkupSettings();
if (spec == null) {
System.out.println("***KPE*** Why is spec null?");
spec = new MarkupEntitySpec(mbean);
spec.setColor(isGreenMarks ? Color.GREEN : Color.RED);
spec.setFillColor(Color.YELLOW);
mbean.selectionSetSpec(spec);
@Override
public void onMarkupEvent(VueEvent evt) {
System.out.println("***KPE*** markup event = " + evt.getEventName());
switch (evt.getType()) {
case VueEvent.ONENTERMARKUPMODE:
break;
@Override
public void onModelEvent(VueModelEvent evt) {
System.out.println("***KPE*** model event = " + evt.getType());
@Override
public void onFileEvent(VueEvent evt) {
System.out.println("***KPE*** markup event = " + evt.getEventName());
Process Flow
APPLET IN HTML
<object id = "JVue" name = "JVue by Oracle"
classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase = "${viewer.codebase}"
width = "100%" height = "50%" >
<param name="code" value="com.kpe.esd.applets.JVueKPE" />
<param name="codebase" value="${viewer.codebase}" />
<param name="cache_archive" value="jvue.jar,jogl.jar,gluegen-rt.jar" />
<param name="cache_version" value="cache_version" />
<param name="type" value="application/x-java-applet;version=1.6" />
<param name="mayscript" value="true" />
<param name="scriptable" value="true" />
<param name="EMBEDDED" value="TRUE">
<param name="HEAVYWEIGHT" value="FALSE">
<param name="VERBOSE" value="DEBUG">
<param name="JVUESERVER" value="${viewer.autoVueServlet}">
<param name="DMS" value="${viewer.autoVueDMS}">
<param name="DMSARGS" value="USERNAME;DMS_PRESERVE_COOKIES;">
<param name="USERNAME" value="anonymous">
<param name="DMS_PRESERVE_COOKIES" value="TRUE">
<param name="ONINIT" value="onJVueInit();">
<param name="GUIFILE" value="${viewer.autoVueGUI}">
</object>
JAVASCRIPT: ONJVUEINIT()
function onJVueInit() {
var applet = getJVue();
if (applet) {
applet.setFile('${viewer.autoVueFilename}'); // [B1]
applet.waitForLastMethod();
AVOpenMarkupFile();
AVConfigureMarkups();
} else {
alarm('!! Cannot find AutoVue applet !!!');
}; // end onJVueInit()
JAVASCRIPT: AVOPENMARKUPFILE()
function AVOpenMarkupFile() {
var applet = getJVue();
if (true) {                   
applet.openMarkup('*'); // [2]
} else {
waitForMarkupsToBeLoaded(applet); // This statement is VERY important.
var vuebean = applet.getActiveVueBean();
applet.waitForLastMethod();
alarm("VueBean: " + vuebean);
var mbean = vuebean.getMarkupBean();
applet.waitForLastMethod();
alarm("MarkupBean: " + mbean);
alarm("Markups Count: " + mbean.getMarkupsCount());
var found = -1;
var untitled = false;
var allmarkups = mbean.getMarkups();
if ( false ) { // mbean.getMarkupsCount() == 1
if (allmarkups[0].getName().slice(0,8) == 'Untitled') {
allmarkups[0].setName(pg_userMarkupFilename);
} else {
alarm(allmarkups[0].getName().slice(0,8));
} else {
for (var index = 0, len = allmarkups.length; index < len; ++index) {
var item = allmarkups[index];
// Your code working on item here...
alarm("Markup Name: " + item.getName());
alarm("Markup Property: " + displayProperty(item.getProperty(), 0, 0, 1));
if (pm_isHistory) { item.setReadOnly(true); }
if (item.getName().slice(0,8) == 'Untitled') {
found = index;
untitled = true;
// Untitled Markups get removed later by custom applet
} else {
if (item.getName().indexOf(pg_userMarkupFilename) > -1) {
found = index;
} else {
if (!pm_isHistory && pm_isLead) { item.setReadOnly(false); }
var information = item.getMarkupInformation();
if (information != null) {
for (var j = 0, len2 = information.length; j < len2; ++j) {
var info = information[j];
// Your code working on item here...
alarm("Markup Information: " + info );
if (untitled || (found == -1)) createMarkup(mbean, 'mickey mouse');
JAVASCRIPT: CREATEMARKUP()
function createMarkup(mbean, author) {
getJVue().createUserMarkup(mbean, pg_userMarkupFilename, author);
Note: Both versions of createUserMarkup() seem to work and allow successful saving of the markup file if configureMarkups() is not subsequently called.
JAVASCRIPT: AVCONFIGUREMARKUPS()
function AVConfigureMarkups() {
var applet = getJVue();
applet.configureMarkups(pm_isGreen);
};

Please try this, let me know if it doesn't work.
public void configureMarkups(boolean isGreenMarks) {
System.out.println("***KPE*** configureMarkups()");
System.out.println(" isGreenMarks: " + isGreenMarks);
final MarkupBean mbean = this.getActiveVueBean().getMarkupBean();
MarkupEntitySpec spec = mbean.getMarkupEntitySpec();
if (spec == null) {
System.out.println("***KPE*** Why is spec null?");
spec = new MarkupEntitySpec(mbean);
spec.setColor(isGreenMarks ? Color.GREEN : Color.RED);
spec.setFillColor(Color.YELLOW);
mbean.setMarkupEntitySpec(spec);
For the future: please try limiting code snippets to only minimum relevant lines, otherwise it's very hard to come up with quick suggestions...

Similar Messages

  • Hi, Im using apple 5s with gold color , I want  to replace it with space grey  color .Is it possible in apple store?

    Hi, Im using apple 5s with gold color , I want to replace it with space grey color .Is it possible in apple store?

    If you are within the return period policy of the retail where you purchased the
    iPhone, return it and buy a new one. If outside the return period, sell the current
    iPhone privately and use the money received toward a new iPhone. Or buy a
    case in your preferred color for your current iPhone.
    If purchased from Apple US, return period is 14 days. I believe it is the same elsewhere,
    but check with your local Apple store. Be advised, that even if you are within the return
    period, returns are accepted only in the country of original purchase (EU is one country
    for this purpose).

  • How to use an Applet with multiple-jars

    Hi everybody,
    I would like to use an applet with multiple-jars.
    ex:
    <applet codebase="." archive="main.jar,Addon1.jar,Addon2.jar" code="Appl.class" id="MyTest" width="600" height="30">
         <param name = "MyParam" value = "1;2">
    </applet>
    An applet with :
    -> 1 Main JAR
    -> X Addon JARs (X : a parameter "PRM")
    My main part knows the parameter "PRM" -> knows which addon to use
    My question is, how do I use classes from addons, inside the main part (and vise-versa if possible) ?
    Thanks in advance
    Best regards

    I try what you say :
    === HTML ===
    <applet codebase="." archive="Main.jar,Addon1.jar" code="Test.Appli.class" id="MyTest"  width="600" height="30">
         <param name = "myPrm1" value = "1;2">
    </applet>=== MAIN JAR ===
    package retest;
    interface InterfAddOn1 {
        public void AfficheTest1(String sStrTest);
    public class Ctest {
        public Ctest() {}
        public void unTest(String sClassNameR) {
          String sClassName = "PackTestAddon.TestClass1";
          try {
              Object oObj = Class.forName(sClassName).newInstance();
              ((InterfAddOn1) oObj).AfficheTest1(" Hello World ");
          } catch (ClassNotFoundException ex1) {
              System.out.println("ERR Class not found");
          } catch (IllegalAccessException ex1) {
              System.out.println("ERR Illegal Access");
          } catch (InstantiationException ex1) {
              System.out.println("ERR Instantiation Exception");
    }=== ADDON JAR ===
    package PackTestAddon;
    public interface InterfAddOn1 {
        public void AfficheTest1(String sStrTest);
    package PackTestAddon;
    public class TestClass1 implements InterfAddOn1 {
        public TestClass1() {}
        public void AfficheTest1(String sStrTest) {
          System.out.println("Test :"+sStrTest);
    }I have this error :
    Exception in thread "AWT-EventQueue-2" java.lang.ClassCastException: PackTestAddon.TestClass1
         at retest.Ctest.unTest(Ctest.java:58)
         at retest.Appli.actionPerformed(Appli.java:442)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    I don't really know why ... =;o(
    Helppppp ... Thanks in advance.

  • My itunes on windows7 pc does not recognize new ipad. using same cable and usb port that works for my ipod. what to do?

    My itunes on windows7 pc does not recognize new ipad. using same cable and usb port that works for my ipod. what to do?
    Thanks

    Have you updated iTunes with the absolute latest software?  If you have not in a long time, your iPad won't be recognized.

  • How can i use iTunes 10 with my ipad that has ios7

    how can i use iTunes 10 with my ipad that has ios7

    jpbblues wrote:
    how can i use iTunes 10 with my ipad that has ios7
    You cannot. You need iTunes version 11 for iOS 7.
    iTunes free download from www.itunes.com/download

  • Website is now in centre of page, built new site using "cc" but with some problems

    Hello everyone I said I would come back with the new site, and just as well as I'm having one or two small problems, starting with!
    New Website, rollover buttons not holding colour in place when clicked
    And someone has told me that it is a great site, but the images in the box with the yellow frame dont show up unless I tilt the screen at an odd angle, I think he means the hero image! and is sounds
    like he is using a tablet
    I have built this new site using the tutorial by David Powers http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt1.htm l sent to me by by Hans-Günter
    I might have made one or two mistakes when building this site, I take my hat off to you Web Designers, this has taken me a week to build you could have dune it in about two hours lol
    Please can someone have a look, and help me out with the problems that need a fix 
    Thank you so much for your time
    This was the old website
    This is the new website
    The Website Address is  http://www.lawrenceg.com
    This is the code from the Index.html page
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Home Page</title>
    <link href="styles/main.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    body,td,th {
    color: #999999;
    </style>
    <!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.-->
    <script src="jQueryAssets/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script>
    var __adobewebfontsappname__="dreamweaver"
    function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
    </script>
    <script src="http://use.edgefonts.net/source-sans-pro:n6,n2:default.js" type="text/javascript"></script>
    <!--[if lte IE 7]>
    <script type="text/javascript" src="js/html5shiv.js"></script>
    <![endif]-->
    </head>
    <body>
    <div id="wrapper">
      <header id="top">
        <h1><img src="images/contact_page-image_47.png" width="43" height="47" alt=""/> My Studio</h1>
        <nav id="mainnav">
          <ul>
            <li><a href="index.html" class="thispage">Home </a></li>
            <li><a href="About Me.html">About Me</a></li>
            <li><a href="Studio Work.html">Studio Work</a></li>
            <li><a href="The Gallery.html">The Gallery</a></li>
            <li><a href="Contact Us.html">Contact Us</a></li>
          </ul>
        </nav>
      </header>
      <div id="hero">
        <article>
          <h2> </h2>
          <h2> Welcome  to my Studio!</h2>
          <p>My name  is Lawrence; I'm a Photographer &amp; Photographic Artist</p>
          <p>        I have  kept this website simple and to the point with no unwanted useless stuff, we  have a full navigation system for your covenants at the top so you don't have  to keep coming back to the home page each time, check us out on  <a href="#" onClick="MM_openBrWindow('https://www.facebook.com/LawrencesPhotoStudio','Facebook','location=yes,scrollbars=yes,wid th=1200,height=600')">Facebook</a> <a href="#" onClick="MM_openBrWindow('https://twitter.com/Lawrencegtraing','Twitter','location=yes,scrollbars=yes,width=1200,hei ght=600')">Twitter</a> <a href="#" onClick="MM_openBrWindow('http://www.flickr.com/photos/lawrenceg/','Flickr','location=yes,scrollbars=yes,width=1200, height=600')">Flickr</a> </p>
        </article>
      <img src="home_page-image.jpg" alt="Home page image the the studio"/>  </div>
      <article id="main">
        <h2>This site works best in internet explorer!</h2>
        <p>You can still use google chrome and firefox if you wish, this website just looks slightly better when viewing in internet explorer.</p>
        <p>If you decide to purchase any of our  prints, framed prints or canvas! </p>
        <p>Everything  comes with 30 day money back guarantee, and is sold through our secure payment  site <a href="#" onClick="MM_openBrWindow('http://lawrence-graves.artistwebsites.com/','FineArtAmerica','location=yes,scrollbars=yes, width=1000,height=600')">Fine Art America! </a></p>
        <p>      So how  can we help you, are you looking for something a bit special to hang on your  wall, maybe you have a family gathering coming up a <a href="#" onClick="MM_openBrWindow('http://weddindimages.blogspot.co.uk/','','location=yes,scrollbars=yes,width=1000,height=80 0')">wedding or an important  celebration</a> like a new addition to the family?</p>
        <p>      Maybe  you're thinking about that <a href="#" onClick="MM_openBrWindow('http://childrensphotography2013.blogspot.co.uk/','portraits','location=yes,scrollbars=yes, width=1000,height=800')">special portrait of the children</a>, to capture a  moment in time can be priceless and don't forget about your baby's first  portrait</p>
        <p>      <a href="#" onClick="MM_openBrWindow('http://petsimages2013.blogspot.co.uk/','pets','location=yes,scrollbars=yes,width=1000,heig ht=800')">What  about our pets</a> after all they are part of the family too!</p>
        <p>      Sometimes  we need a photographer to capture a very special moment, but to capture  excellence you need a photographic artist that can produce the results you're  looking for</p>
        <h2>Working with Photoshop! </h2>
        <p>Sometimes your standard photographer in not right for some assignments, and you need professional services when it comes to image editing, check out these  examples below </p>
        <p>
          <aside class="floatleft"><a href="#"><img src="images/The_art_of_alteringan_image_SMALL.jpg" alt="working in photoshop" width="200" height="140" onClick="MM_openBrWindow('images/The_art_of_alteringan_image.jpg','photoshop1','location= yes,scrollbars=yes,width=1040,height=740')"/></a></aside>
        </p>
        <p>Side by side view, take a look at this image! this was photographed on a apartment rooftop on the Island of Kos in Greece, when the sun was high at around 14:00 on a very hot day. As you can see there are some things that need changing in the image on the left, we only made one or two small changes! to turn this drad looking image into a good looking photo!</p>
        <p> </p>
        <h2>Digital Backgrounds with cover up layer</h2>
        <p>How  about a new layered digital background for that special image that needs a full makeover!</p>
        <p>
      <aside class="floatleft"><a href="#"><img src="images/pets_small1.jpg" alt="Pet Photography" width="200" height="140" onClick="MM_openBrWindow('images/pets_large1.jpg','PetPhotography','location=yes,scrollba rs=yes,width=1060,height=720')"/></a><br>
      </aside>
        </p>
        <p>Check this one out! this one was made up from one of our pet photography photo shoots we did in 2011 for one of our clients, they wanted both dogs in the same portrait but some dogs just don't want to play. So we photographed then separately at the angle we wanted, so they would fit nicely into  the new digital background! </p>
        <p> </p>
        <p>These are just some of the adjustment and improvements we can do,  you can find more examples of our editing work inside the studio work page!</p>
        <p> </p>
        <p> </p>
      </article>
      <aside id="sidebar">
        <h2>Check out our Gallery!
        </h2>
        <p>You can view  some of our work in the gallery,  love Animals then check out some of our wildlife images black and whites, portraits, and pet photography</p>
        <h2>Free reviews and tutorials!</h2>
        <p>You can find some  camera, and lens reviews, plus Photoshop and photography tutorials on  Facebook and Twitter pages </p>
        <h2>Visit our shop! </h2>
        <p>      Love   Art then check out  <a href="#" onClick="MM_openBrWindow('http://lawrence-graves.artistwebsites.com/','','location=yes,scrollbars=yes,width=1000,hei ght=600')">Fine Art America</a></p>
        <p>Every purchase  includes a money-back guarantee!</p>
        <div class="floatleft" id="figcaption"><a href="#"><img src="images/What_you_looking_at_small.jpg" alt="Birds of prey" width="200" height="136" onClick="MM_openBrWindow('images/What_you_looking_at.jpg','BirdOfPrey','location=yes,scro llbars=yes,width=1060,height=730')"/></a></div>
        <p align="left">This is just one of  many images we have for sale, you can choose from prints,  framed print or a canvas we also sell metal print, acrylic print,  greeting cards iphone and galaxy phone cases too! </p>
        <h2 align="left">Photo restoration work!</h2>
        <p align="left">We also  do some digital photo restoration work; restore them old black and whites! Remove unwanted elements from your photos and more!</p>
        <h2>New digital background sets! </h2>
        <p>      Our  Digital Background Sets will come complete with a full cover up layer, set of frames and more  </p>
        <p>Each set will come complete with a  video tutorial showing you how to use these fabulous sets  with your own  images</p>
        <p>Sets due to be launched in 2014 </p>
        <p>Or if you  prefer you can simply send us your images and let us do the work for you </p>
        <p>We  only charge a small fee for this service!</p>
        <p> </p>
      </aside>
      <footer>
        <p>&copy; Copyright 2013 my studio at lawrenceg.com</p>
      </footer>
    </div>
    </body>
    </html>

    Lawrence g photos 2010 wrote:
    New Website, rollover buttons not holding colour in place when clicked
    On each of your pages you need to add the class="thispage" to your anchor tags.
    So the 'About Me' page link looks like below:
    <li><a href="About Me.html" class="thispage">About Me</a></li>
    'The Gallery' link on the 'Gallery' page looks like this:
    <li><a href="The Gallery.html" class="thispage">The Gallery</a></li>
    Do the same for the 'Studio Work' and 'Contact Us' pages.
    Lawrence g photos 2010 wrote:
    And someone has told me that it is a great site, but the images in the box with the yellow frame dont show up unless I tilt the screen at an odd angle, I think he means the hero image! and is sounds
    like he is using a tablet
    They are all quite a subtle grey tone but the one I cannot see is on the 'About Me' page. You just need to bring the grey tone up a few stops.

  • Can I transfer system from old macbook to new macbook using same OS with time machine?

    I have a MacBook running snow Leopard.  Thinking of getting a new Pro but want to just transfer my entire desktop and system to new MacBook using Time Machine restore.  Is this possible?  If not what are my other options so I do not have to rebuild desktop?
    Thanks!

    You can do it either directly from the older MacBook or from Time Machine. Your new MBP is unlikely to boot to the system on the MB as the newer Pro will have a later OS build and different hardware drivers among other things.
    Just use Setup Assistant. When you boot the new MBP, after the welcome video you'll be taken into Setup Assistant; you'll be asked if you want to transfer your Applications, Home Folder and prefences from another source. Choose either 'from another Mac' or 'from a TM backup' as appropriate, and connect the Mac (by firewire) or the TM drive when prompted and let it do it's thing.
    That will ensure you get one account with no permissions errors and all your stuff should work just as it did on the MB.

  • GDI object leak using an applet with Java Plugin 1.4.2_02

    We have an application where we use an applet to draw some graphs. The applet has an interface to update the graphical data using Javascripts. Now duing every graphical update of the graph there a leak of the GDI objects. Over time the display on the machine gets frozen due to lack of resources.
    This problem is happening with IE 6.0 using Sun Java Plug-in 1.4.2_02.
    Has anybody else seen this problem. Is there any work aorund for this issue.

    The code is not leaking. This has been verified.
    The problem has been fixed in 1.5.0 (5.0) Beta 2 version but I don't know then final release of this is going to be. Also using a beta version now is not an option.
    The 1.4.2_04 did not fix the GDI leak that I am seeing, I was hoping it would.

  • New tab uses babylon website as default ,how can I remove it?

    Whenever I want to open a new tab, babylon search is by default my homepage just for the tab. It is a unknown website to me and I can seem to find a way to remove it . I uninstalled the tool bar that came with it but the website remains even after I restart the computer.

    Go to Add-ons - move to extension and then remove babylon. I hate them too.

  • Can i use my iphone with any carrier that is on the network selection

    if i find wind and mobilicity on my network selction does that mean i can use my phone with those carriers?

    Hi(Bonjour)!
    Yes, but according tou the user licence you have to unsintall the copy on your G5 prior to use it on intel Mac.
    Michel Boissonneault

  • How can I get Flex to create a new email using the client's default that pre-fills a field?

    Assume that I have a String with some emails in it. When a user clicks on "Send Email to these People" I want their default email client (like Outlook or Thunderbird) to open up a window with new email ready to be composed. All I want is for the String's data to appear in the BCC (or Send To:) field of the email. Is there a mailing function (like the equivalent of PHP's mail()) that I can use for this? Thanks for any insight and help!

    Yeah, sorry about that. I remembered after I had already submitted this thread. I've just been so stressed out, little things like this didn't cross my mind. You can delete the other one if you are the admin here.

  • How to update the Notes Field with default information that will be added to each new VM created?

    How do I add default information to the Notes section of each new vm created: Basically want these 3 questions answered in the notes after the VM is created.   Owner:  Application:  Prod/Dev:    Can this be done in the GUI/Console?  If so, how?Ho

    So you just want the labels to be there, not the actual values.
    Then you could use the Notes parameter on the New-VM cmdlet, something like this:
    New-VM -Name TestVM -VMHost $esx -Datastore $ds -Notes "Field1: dummy`nField2: dummy`nField3: dummy"
    The <back-tick>-n in the string is a new-line

  • DCTDecode filter used for image with Indexed color space?

    I've seen examples of images in PDF that have BitsPerComponent=8, with an Indexed Color Space, but the filter is DCTDecode.  This doesn't seem intuitive to me, as JPG supports 24-bit RGB and 8-bit gray.  I haven't heard of 8-bit color JPG so I'm just wondering how this is done?
    I'm just trying to understand how this works if someone could please indulge me with a technical explanation it would be most appreciated.  I understand how the image is represented using the colorspace, I just don't understand how this filter is applicable to 8-bit data.
    Please note, I understand that it's not an actual JPG file, that the data is only using the compression scheme.

    DCTDecode is entirely legal for 1-component (greyscale) samples as you've noted. There is no problem there.
    Remember, that applying a filter (and later decoding it) is entirely separate from the meaning of the data. So it's possible to use filters that just don't map correctly to the data. For example, greyscale DCTDecode could be used to encode samples which were, on decoding, to be treated as RGB. It wouldn't compress well, but the meaning isn't affected.
    But DCTDecode for an Indexed colour space is very unusual. Don't look for special treatment, it would be enconding the image data, which would be offsets into the colour table. And of course DCTDecode is lossy, so decompressed data should be close, but is not always equal, to the original.
    In most cases of Indexed colour, this would lead to random and useless changes to colours. But it is entirely possible to have colours which map into a linear and smooth set of shades of the same colour - such as 256 shades of pink. An image using such an Indexed colour space is a candidate for using DCTDecode.
    In using filters, it is best to forget what you think you know about the data, and just follow the precise rules of the filter.

  • New mac user needs help with default display

    hi, i am a new mac user and i accidentally changed the default display. I want to change it back to the default display but it doesnt seem like any of the options in "system preferences" - "display" change it back to the default out of the box display. please point me in the right direction. thank you!

    im talking about the screen resolution. I went under "system preferences" then clicked on "display" and somehow the mouse clicked on another resolution which stretched everything out. so I went threw all of the difference resolutions and nothing seems to be like the default one. am i missing something? thanks

  • New at using Premiere - Issue with timeline.

    I cannot drag anything into my time lime. It is locked for i dunno what reason, it is mentioned:timeline (no sequences). How to unlock this please?

    Hi habibullah,
    Welcome to the forum!
    Sorry you're having trouble. You need to create a new sequence before dragging a clip there. Watch this video for complete instructions: https://www.video2brain.com/en/lessons/how-do-i-choose-the-right-sequence-settings
    The interface is a little different as it's from an earlier version of Premiere Pro, but the process is exactly the same for creating a proper sequence.
    Thanks,
    Kevin

Maybe you are looking for