How to embed SWT to swings

I have found information regarding how to embed Swings in SWT.
But i have to embed Swt browser in swings
Please see the links for examples:
http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/Bringupabrowser.htm
http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/EmbedSwingandAWTinSWT.htm
I have to show two browsers in same window which i have partially done by embeding swings in swt. but need the otherway.
Here is that code:
import java.awt.Color;
import java.awt.Frame;
import java.awt.Panel;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JSeparator;
import org.eclipse.swt.SWT;
import org.eclipse.swt.awt.SWT_AWT;
import org.eclipse.swt.browser.Browser;
import org.eclipse.swt.browser.LocationEvent;
import org.eclipse.swt.browser.LocationListener;
import org.eclipse.swt.browser.ProgressEvent;
import org.eclipse.swt.browser.ProgressListener;
import org.eclipse.swt.browser.StatusTextEvent;
import org.eclipse.swt.browser.StatusTextListener;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Listener;
import org.eclipse.swt.widgets.ProgressBar;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.widgets.ToolBar;
import org.eclipse.swt.widgets.ToolItem;
import com.jgoodies.forms.layout.CellConstraints;
import com.jgoodies.forms.layout.FormLayout;
public class BringUpBrowser {
public static void main(String[] args) {
     BringUpBrowser browser= new BringUpBrowser();
     browser.showBrowser();
public void showBrowser(){
Display display = new Display();
final Shell shell = new Shell(display);
GridLayout gridLayout = new GridLayout();
gridLayout.numColumns = 3;
shell.setLayout(gridLayout);
shell.setMaximized(true);
final Browser browser1 = new Browser(shell, SWT.NONE);
GridData data1 = new GridData();
data1.horizontalAlignment = GridData.FILL;
data1.verticalAlignment = GridData.FILL;
data1.horizontalSpan = 3;
data1.grabExcessHorizontalSpace = true;
data1.grabExcessVerticalSpace = true;
browser1.setLayoutData(data1);
browser1.setUrl("www.indussoftware.com");
ToolBar toolbar = new ToolBar(shell, SWT.NONE);
ToolItem itemBack = new ToolItem(toolbar, SWT.PUSH);
itemBack.setText("Back");
ToolItem itemForward = new ToolItem(toolbar, SWT.PUSH);
itemForward.setText("Forward");
ToolItem itemStop = new ToolItem(toolbar, SWT.PUSH);
itemStop.setText("Stop");
ToolItem itemRefresh = new ToolItem(toolbar, SWT.PUSH);
itemRefresh.setText("Refresh");
ToolItem itemGo = new ToolItem(toolbar, SWT.PUSH);
itemGo.setText("Go");
GridData data = new GridData();
data.horizontalSpan = 3;
toolbar.setLayoutData(data);
Label labelAddress = new Label(shell, SWT.NONE);
labelAddress.setText("Address");
final Text location = new Text(shell, SWT.BORDER);
data = new GridData();
data.horizontalAlignment = GridData.FILL;
data.horizontalSpan = 2;
data.grabExcessHorizontalSpace = true;
location.setLayoutData(data);
final Browser browser = new Browser(shell, SWT.NONE);
data = new GridData();
data.horizontalAlignment = GridData.FILL;
data.verticalAlignment = GridData.FILL;
data.horizontalSpan = 3;
data.grabExcessHorizontalSpace = true;
data.grabExcessVerticalSpace = true;
browser.setLayoutData(data);
final Label status = new Label(shell, SWT.NONE);
data = new GridData(GridData.FILL_HORIZONTAL);
data.horizontalSpan = 2;
status.setLayoutData(data);
final ProgressBar progressBar = new ProgressBar(shell, SWT.NONE);
data = new GridData();
data.horizontalAlignment = GridData.END;
progressBar.setLayoutData(data);
Composite composite = new Composite(shell, SWT.EMBEDDED);
data = new GridData();
data.horizontalAlignment = GridData.FILL;
data.verticalAlignment = GridData.CENTER;
data.horizontalSpan = 3;
composite.setLayoutData(data);
Frame frame = SWT_AWT.new_Frame(composite);
JPanel panel = new JPanel();
panel.setLayout(new FormLayout("0:grow(0.4),0:grow(0.2),0:grow(0.4)","5dlu,5dlu,16dlu"));
frame.add(panel);
CellConstraints cc = new CellConstraints();
JButton button = new JButton("Close");
panel.add(new JSeparator(),cc.xyw(1, 1, 3));
panel.add(button,cc.xy(2, 3));
button.addActionListener(new ActionListener(){
          public void actionPerformed(ActionEvent e) {
               //this = null;
//end of chakri
/* event handling */
Listener listener = new Listener() {
public void handleEvent(Event event) {
ToolItem item = (ToolItem) event.widget;
String string = item.getText();
if (string.equals("Back"))
browser.back();
else if (string.equals("Forward"))
browser.forward();
else if (string.equals("Stop"))
browser.stop();
else if (string.equals("Refresh"))
browser.refresh();
else if (string.equals("Go"))
browser.setUrl(location.getText());
browser.addProgressListener(new ProgressListener() {
public void changed(ProgressEvent event) {
if (event.total == 0)
return;
int ratio = event.current * 100 / event.total;
progressBar.setSelection(ratio);
public void completed(ProgressEvent event) {
progressBar.setSelection(0);
browser.addStatusTextListener(new StatusTextListener() {
public void changed(StatusTextEvent event) {
status.setText(event.text);
browser.addLocationListener(new LocationListener() {
public void changed(LocationEvent event) {
if (event.top)
location.setText(event.location);
public void changing(LocationEvent event) {
itemBack.addListener(SWT.Selection, listener);
itemForward.addListener(SWT.Selection, listener);
itemStop.addListener(SWT.Selection, listener);
itemRefresh.addListener(SWT.Selection, listener);
itemGo.addListener(SWT.Selection, listener);
location.addListener(SWT.DefaultSelection, new Listener() {
public void handleEvent(Event e) {
browser.setUrl(location.getText());
shell.open();
browser.setUrl("http://google.co.in");
while (!shell.isDisposed()) {
if (!display.readAndDispatch())
display.sleep();
display.dispose();
Here Iam facing problems while adding Listeners.
Can u help me in this?

GANGINENI wrote:
hi i developed a program for timer in applet, i want to include it in to jFrame, can some one help me,i am developing program in netbeansYes.
1) ....
h1. Edit:
in light of camickr's note, I am deleting my post. The original poster is now on my DNH list and will remain there until his behavior changes.
Edited by: Encephalopathic on Oct 31, 2008 2:20 PM

Similar Messages

  • How to embed applet in swings

    hi i developed a program for timer in applet, i want to include it in to jFrame,can some one help me,i am developing program in netbeans

    GANGINENI wrote:
    hi i developed a program for timer in applet, i want to include it in to jFrame, can some one help me,i am developing program in netbeansYes.
    1) ....
    h1. Edit:
    in light of camickr's note, I am deleting my post. The original poster is now on my DNH list and will remain there until his behavior changes.
    Edited by: Encephalopathic on Oct 31, 2008 2:20 PM

  • How to embed/perform a Java Swing form into webased Swing form

    How to embed/perform a Java Swing form into webased Swing form or any alternative.
    Suppose i have 2 or more swing forms which are desktop applications but i want those forms to be now webbased..so how can i do this.Will i need to change the swing coding or will have to keep the swing design same.what can be the best Solution.

    You can launch your existing desktop app via the web using [Java Web Start|http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp]

  • How to embed html-file into swing

    hello,
    can anybody help me how to embed a html-file into a swing application??
    I try to write a swing-application, that connects to a Internetpage via Sockets.
    The problem is, that I can only see the sourcecode of the InternetPage in my JTextArea, but I want to see the whole Page just like in a browser.
    I hope anybody can help me to solve this problem, thanx mina

    u will need to use the JEditorPane component instead of Jtextarea.here is a url to help u get started
    http://java.sun.com/docs/books/tutorial/uiswing/components/simpletext.html#editorpane

  • How to Converting SWT application  to Swing jdialog?

    How hard is to convert an exising dialog writen in Eclipse SWT to Swing
    import java.io.*;
    import java.util.Enumeration;
    import java.util.Hashtable;
    import javax.swing.*;
    import java.awt.*;
    import my.base.Action;
    import my.base.ActionQueue;
    import my.base.Location;
    import my.base.Task;
    import my.base.TaskTree;
    import my.buffer.BlockBuffer;
    import my.fs.File;
    import my.impl.FillBufferActionQueue;
    //import org.apache.log4j.Logger;
    import org.eclipse.swt.SWT;
    import org.eclipse.swt.events.MouseAdapter;
    import org.eclipse.swt.events.MouseEvent;
    import org.eclipse.swt.events.SelectionAdapter;
    import org.eclipse.swt.events.SelectionEvent;
    import org.eclipse.swt.events.SelectionListener;
    import org.eclipse.swt.graphics.GC;
    import org.eclipse.swt.graphics.Image;
    import org.eclipse.swt.graphics.ImageData;
    import org.eclipse.swt.graphics.PaletteData;
    import org.eclipse.swt.graphics.RGB;
    import org.eclipse.swt.graphics.Rectangle;
    import org.eclipse.swt.layout.GridData;
    import org.eclipse.swt.layout.GridLayout;
    import org.eclipse.swt.widgets.Button;
    import org.eclipse.swt.widgets.Composite;
    import org.eclipse.swt.widgets.Display;
    import org.eclipse.swt.widgets.Menu;
    import org.eclipse.swt.widgets.MenuItem;
    import org.eclipse.swt.widgets.Shell;
    import org.eclipse.swt.widgets.Table;
    import org.eclipse.swt.widgets.TableColumn;
    import org.eclipse.swt.widgets.TableItem;
    public class SynchLogWindow extends org.eclipse.swt.widgets.Composite {
    private Button buttonGo;
    private TableColumn tableColumn1;
    private TableColumn tableColumnDestination;
    private TableColumn tableColumnAction;
    private TableColumn tableColumnSource;
    private TableColumn tableColumnExplanation;
    private Table tableLogLines;
    private Hashtable actionImages;
    private Image locationSource;
    private Image locationDestination;
    private Image locationBoth;
    private Image nodeFile;
    private Image nodeDirectory;
    private TaskTree taskTree;
    public SynchLogWindow(Composite parent, int style)
    super(parent, style);
    initGUI();
    initializeImages();
    * Initializes the GUI.
    * Auto-generated code - any changes you make will disappear.
    public void initGUI(){
    try {
    preInitGUI();
    tableLogLines = new Table(this,SWT.FULL_SELECTION);
    tableColumn1 = new TableColumn(tableLogLines,SWT.NULL);
    tableColumnExplanation = new TableColumn(tableLogLines,SWT.NULL);
    tableColumnSource = new TableColumn(tableLogLines,SWT.NULL);
    tableColumnAction = new TableColumn(tableLogLines,SWT.NULL);
    tableColumnDestination = new TableColumn(tableLogLines,SWT.NULL);
    buttonGo = new Button(this,SWT.PUSH| SWT.CENTER);
    this.setSize(new org.eclipse.swt.graphics.Point(711,225));
    GridData tableLogLinesLData = new GridData();
    tableLogLinesLData.verticalAlignment = GridData.FILL;
    tableLogLinesLData.horizontalAlignment = GridData.FILL;
    tableLogLinesLData.widthHint = -1;
    tableLogLinesLData.heightHint = -1;
    tableLogLinesLData.horizontalIndent = 0;
    tableLogLinesLData.horizontalSpan = 1;
    tableLogLinesLData.verticalSpan = 1;
    tableLogLinesLData.grabExcessHorizontalSpace = true;
    tableLogLinesLData.grabExcessVerticalSpace = true;
    tableLogLines.setLayoutData(tableLogLinesLData);
    tableLogLines.setHeaderVisible(true);
    tableLogLines.setLinesVisible(true);
    tableLogLines.setSize(new org.eclipse.swt.graphics.Point(690,179));
    tableLogLines.addMouseListener( new MouseAdapter() {
    public void mouseUp(MouseEvent evt) {
    tableLogLinesMouseUp(evt);
    tableColumn1.setResizable(false);
    tableColumn1.setText("tableColumn1");
    tableColumnExplanation.setText("Explanation");
    tableColumnExplanation.setWidth(150);
    tableColumnSource.setText("Source");
    tableColumnSource.setWidth(220);
    tableColumnAction.setResizable(false);
    tableColumnAction.setText("Action");
    tableColumnAction.setWidth(50);
    tableColumnDestination.setText("Destination");
    tableColumnDestination.setWidth(220);
    GridData buttonGoLData = new GridData();
    buttonGoLData.verticalAlignment = GridData.CENTER;
    buttonGoLData.horizontalAlignment = GridData.END;
    buttonGoLData.widthHint = -1;
    buttonGoLData.heightHint = -1;
    buttonGoLData.horizontalIndent = 0;
    buttonGoLData.horizontalSpan = 1;
    buttonGoLData.verticalSpan = 1;
    buttonGoLData.grabExcessHorizontalSpace = false;
    buttonGoLData.grabExcessVerticalSpace = false;
    buttonGo.setLayoutData(buttonGoLData);
    buttonGo.setText("Go");
    buttonGo.addSelectionListener( new SelectionAdapter() {
    public void widgetSelected(SelectionEvent evt) {
    buttonGoWidgetSelected(evt);
    GridLayout thisLayout = new GridLayout(1, true);
    this.setLayout(thisLayout);
    thisLayout.marginWidth = 2;
    thisLayout.marginHeight = 2;
    thisLayout.numColumns = 1;
    thisLayout.makeColumnsEqualWidth = false;
    thisLayout.horizontalSpacing = 2;
    thisLayout.verticalSpacing = 2;
    this.layout();
    postInitGUI();
    } catch (Exception e) {
    e.printStackTrace();
    /** Add your pre-init code in here      */
    public void preInitGUI(){
    /** Add your post-init code in here      */
    public void postInitGUI(){
    public static void show( final TaskTree task )
    final Display display = Display.getDefault();
    display.syncExec( new Runnable() {
    public void run()
    try {
    Shell shell = new Shell(display);
    SynchLogWindow inst = new SynchLogWindow(shell, SWT.NULL);
    inst.setTaskTree( task );
    inst.rebuildActionList();
    shell.setLayout(new org.eclipse.swt.layout.FillLayout());
    Rectangle shellBounds = shell.computeTrim(0,0,663,225);
    shell.setSize(shellBounds.width, shellBounds.height);
    shell.setText( "Synchronization Actions" );
    shell.setImage( new Image( null, "images/Location_Both.gif" ) );
    shell.open();
    } catch( Exception ex ) {
    ex.printStackTrace();
    public void setTaskTree( TaskTree task )
    this.taskTree = task;
    public static Image loadImage( String filename )
    try {
    //System.out.println("crrent path:"+System.getProperty("user.dir"));
    return new Image( null, new FileInputStream( "images/"+filename) );
    } catch( FileNotFoundException e ) {
    e.printStackTrace();
    return null;
    public void initializeImages()
    nodeFile = loadImage( "Node_File.gif" );
    nodeDirectory = loadImage( "Node_Directory.gif" );
    locationSource = loadImage( "Location_Source.gif" );
    locationDestination = loadImage( "Location_Destination.gif" );
    locationBoth = loadImage( "Location_Both.gif" );
    actionImages = new Hashtable();
    for( int i = 0; i < Action.names.length; i++ )
    actionImages.put( new Integer( i ), loadImage( "Action_"+Action.names[i]+".gif" ) );
    for( int i = 0; i < Action.errorNames.length; i++ )
    actionImages.put( new Integer( i+10 ), loadImage( "Action_"+Action.errorNames[i]+".gif" ) );
    protected void drawSide( GC g, Task t, Action a, int location )
    File n = location==Location.Source?t.getSource():t.getDestination();
    int x = location==Location.Source?2:2*16+2;
    if( n.exists() )
    if( n.isDirectory() )
    g.drawImage( nodeDirectory, x, 0 );
    else g.drawImage( nodeFile, x, 0 );
    // TODO draw some not-existing image ?
    if( (a.getLocation() & location) > 0 )
    Image actionImage = (Image)actionImages.get( new Integer( a.getType() ) );
    if( actionImage != null )
    g.drawImage( actionImage, x, 0 );
    if( location == Location.Source )
    g.drawImage( locationSource, x+16, 0 );
    else g.drawImage( locationDestination, x-16, 0 );
    protected void drawLocation( GC g, Action a )
    switch( a.getLocation() )
    case Location.Source:
    g.drawImage( locationSource, 16+2, 0 );
    break;
    case Location.Destination:
    g.drawImage( locationDestination, 16+2, 0 );
    break;
    case Location.Both:
    g.drawImage( locationBoth, 16+2, 0 );
    break;
    protected Image buildTaskImage( Task t, Action a )
    ImageData data = new ImageData( 16*3+2, 16, 8, new PaletteData( 0, 0, 0 ) );
    data.transparentPixel = data.palette.getPixel( new RGB( 0, 0, 0 ) );
    Image image = new Image( null, data );
    GC g = new GC(image);
    drawSide( g, t, a, Location.Source );
    drawSide( g, t, a, Location.Destination );
    drawLocation( g, a );
    g.dispose();
    return image;
    protected Image buildTaskImage( Task t )
    return buildTaskImage( t, t.getCurrentAction() );
    protected void addTaskChildren( Task t )
    for( Enumeration e = t.getChildren(); e.hasMoreElements(); )
    addTask( (Task)e.nextElement() );
    protected void addTask( Task t )
    if( !t.getCurrentAction().isBeforeRecursion() )
    addTaskChildren( t );
    Image image = buildTaskImage( t );
    TableItem item = new TableItem( tableLogLines, SWT.NULL );
    item.setImage( 3, image );
    item.setText( new String[] {
    t.getCurrentAction().getExplanation(),
    t.getSource().getPath(),
    t.getDestination().getPath()
    item.setData( t );
    if( t.getCurrentAction().isBeforeRecursion() )
    addTaskChildren( t );
    public void rebuildActionList()
    tableLogLines.clearAll();
    tableLogLines.setItemCount(0);
    addTaskChildren( taskTree.getRoot() );
    //tableLogLines.redraw();
    protected void showPopup( int x, int y )
    System.out.println( "Contextmenu at: "+x+", "+y );
    SelectionListener selListener = new SelectionAdapter() {
    public void widgetSelected( SelectionEvent e )
    Integer i = (Integer)e.widget.getData();
    TableItem item = tableLogLines.getSelection()[0];
    ((Task)item.getData()).setCurrentAction( i.intValue() );
    item.setImage( 3, image );
    item.setText( 1, action.getExplanation() );
    item.setData( action );
    tableLogLines.redraw();
    int top = tableLogLines.getTopIndex();
    rebuildActionList();
    tableLogLines.setTopIndex( top );
    TableItem[] items = tableLogLines.getSelection();
    if( items.length == 0 )
    return;
    Task t = (Task)items[0].getData();
    Menu m = new Menu( this );
    MenuItem mi;
    int curr = t.getCurrentActionIndex();
    Action[] actions = t.getActions();
    for( int i = 0; i < actions.length; i++ )
    if( i == curr )
    continue;
    Action al = actions;
    Image image = buildTaskImage( t, al );
    mi = new MenuItem( m, SWT.NULL );
    mi.setImage( image );
    mi.setText( Action.toString( al.getType() )+" - "+al.getExplanation() );
    mi.setData( new Integer( i ) );
    mi.addSelectionListener( selListener );
    Action al = new Action( Action.Nothing, Location.None, "Ignore" );
    Image image = buildTaskImage( t, al );
    mi = new MenuItem( m, SWT.NULL );
    mi.setImage( image );
    mi.setText( "Ignore" );
    mi.setData( al );
    mi.addSelectionListener( selListener );
    m.setLocation( toDisplay( x, y ) );
    m.setVisible( true );
    protected void performActions()
    try {
    //Logger logger = Logger.getRootLogger();
    //logger.addAppender( new FileAppender( new PatternLayout( "%d{ISO8601} [%p] %c %x - %m%n" ), "log/log.txt" ) );
    // Logger logger = Logger.getLogger( "FullSync" );
    // logger.info( "Synchronizing "+taskTree.getSource().getUri().toString()+" and "+taskTree.getDestination().getUri().toString() );
    // BlockBuffer buffer = new BlockBuffer( logger );
    // buffer.load();
    // ActionQueue queue = new FillBufferActionQueue(buffer);
    TableItem[] items = tableLogLines.getItems();
    for( int i = 0; i < items.length; i++ )
    Task t = (Task)items[i].getData();
    // queue.enqueue( t.getCurrentAction(), t.getSource(), t.getDestination() );
    // queue.flush();
    // buffer.unload();
    taskTree.getSource().flush();
    taskTree.getDestination().flush();
    taskTree.getSource().close();
    taskTree.getDestination().close();
    // logger.info( "finished synchronization" );
    } catch( IOException e ) {
    e.printStackTrace();
    /** Auto-generated event handler method */
    protected void tableLogLinesMouseUp(MouseEvent evt)
    if( evt.button == 3 )
    showPopup( evt.x, evt.y );
    /** Auto-generated event handler method */
    protected void buttonGoWidgetSelected(SelectionEvent evt)
    performActions();
    getShell().dispose();

    Give it a try and let us know.

  • Should I compare SWT to Swing or AWT?

    I am currently doing my dissertation on ways to speed up a Java GUI. Obviously I am comparing the SWT (Eclipse project) to Swing and not really focusing on the AWT (Sun dont seem to be?!). I am interested in looking at how you could create a Swing interface that could compete with the speed of the SWT? I am also looking at the feature set of each and hopefully going to conclude, which is the better widget toolkit, for a highly performant GUI with respect to speed and features?
    Any facts (& opinions :-) would be more than welcome!
    - Simon

    I tried the "panel.paint(Canvas.getGraphics());". However, I still don't have anything printed. My code is as follows.
    JFrame frame = new JFrame("FrameDemo");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setPreferredSize(new Dimension(300, 200));
    jp = new JPanel();
    jp.setPreferredSize(new Dimension(300, 200));
    gpc = MyPlotCanvas.createPlotCanvas();
    Canvas c = gpc.getGraphicsCanvas();
    jp.paint( c.getGraphics() );
    frame.add(jp);
    frame.setSize(600, 500);
    frame.show();

  • How to embed fonts in a textbox in adobe acrobat 9

    Hi all,
    The forms has beed designed in adobe acrobat 9.It has the text in the textboxes with a fontstyle of DejaVu Sans Mono.The client or the user generates the form by clicking on the appropriate link and the textboxes are populated accordingly.The problem is they dont have the fontstyle used in the textbox installed on their system.So whenever they generate the pdf the font in the textbox doesn't print in properly.Is there anyway we could force it to use the font which we have originally set up.Thanks in advance

    Bernd Alheit wrote:
    Read this:
    http://www.ehow.com/how_6566713_embed-fonts-pdf.html
    I have the somthing like the following in Ctrl-D Fonts. They can not be embedded using the method above. I guess it is because the fonts in the original pdf are not available in the system. But how to embed the substitutes in the pdf file.
    Helvetica
        Type: Type 1
        Encoding: Custom
        Actual Font: Helvetica
        Actual Font Type: TrueType

  • How to embed audio to my website using quicktime when I get "file not found

    hi,
    i've been trying to embed audio into my website all night and I get a file not found message even though I;ve checked 100 times and all files are where links say they should be..
    but even just linking to audio (mp4) files won't work...
    everything is o.k. with non-audio links on my website - only the mp4 audio can't be found.
    can anyone help me? or post the correct code?
    I've tried using these formats..
    <EMBED SRC="anymovie.mov" HEIGHT=176 WIDTH=136>
    <embed
    src="http://www.crossandthrone.com/.samples/qt/sample-reference2.mov"
    width="242" height="199" autoplay="false" loop="false"
    controller="true" bgcolor="#666666"
    pluginspage="http://www.apple.com/quicktime/"></embed>
    the pages that should play audio just have a quicktime file with a question mark on them
    help would be much appreciated!

    Start here:
    http://www.mediacollege.com/video/streaming/
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "subdued2u" <[email protected]> wrote in
    message
    news:gbg2th$r13$[email protected]..
    > Hello ,guys, i have a website,, and i would like to add
    upload vidoes on
    my
    > website i have tried but did not work can anyone please
    tell me how to
    embed my
    > videos in my website using dreamwever ?
    > thank so much
    >

  • How to embed the needed fonts in a pdf file

    Dear Sir/Mam,
    We had purchased licenced version of adobe acrobat x pro
    We are facing issues while embedding the font in the pdf file
    Please find the below mentioned requirement
    Requirement:
    We have a pdf file (template) with some static images and static text in it
    We need to populate dynamic data in the pdf file for this we may use text boxes
    We need to set the font name for the text box and embed that font in the pdf template (Eg:Font to be used in textboxes is "RotisSansSerif-Bold")
    Queries
    Please let us know how to embed the needed fonts in the pdf file?
    Once user exports the pdf file, even if user doesnot have the fonts installed in his system the text need to be displayed in the same fonts,how to acheive this?Eg:if we define "RotisSansSerif-Bold" as font in the textboxes,after exporting the data the text need to be in the same font.
    Note:
    Fonts will only installed in the application server and not in the client system
    The mentioned requirement need to work on below mentioned specifications
    OS:Windiows-XP,  Browser:IE
    OS:Mac osx, Browser:Safari
    Regards,
    S.N.Prasad

    There is a similar post just a few away from yours. I will suggest what I would try. Open your job settings file (press or print preferred to get all fonts) and then select the properties and the font tab. At your font to the always embed list and you will likely need to uncheck the subset box. Then save your job settings (give it a name that is meaningful to you, you can not use the settings file you started with as they are read only and I do not recommend changing that). Maybe that will do the job. Of course that is for the creation of the PDF, I forgot you were talking about a form. You might check the form field properties, but I suspect you have already tried that. Guess I don't play with forms enough. Others may be by to answer.

  • How to embed email opt-in form in image

    How to embed email opt-in form in image

    You cannot delete the email field. It is required for the form to work. One thing you can do that is a bit more work is to use Adobe Forms. I believe it is at Quickly & Easily Create Online Forms and Surveys | Adobe FormsCentral and create the form you want there and then you can copy the embed code from it and use the insert HTML to embed the form in your page.

  • Ical calendar how to embed into webpage

    Using iWeb I successfully published my iCal calendar to my website. However suddenly my embedded calendar stopped showing any entries. I understand this is due to the changes in the mobileme calendar. Can I restore the previous very useful facility? Or do I have to switch to Google calendar? It a resource that I found very useful for clients wanting to see when I was available and I am sure many other users use a facility like this.  must say that Apple have annoyed me over this. It was not easy finding how to embed the calendar in the first place and now they seem to have downgraded the mobileme calendar. I thought the general trend was to improve applications not the reverse.
    Any help would be much appreciated

    I don't believe you can restore that capability. 
    You can add a Google calendar to a web page (it's scaleable whereas the iCal calendar was not) and then sync your iCal calendar to the Google calendar with Google Sync Services.  An example is shown on this demo page: Google Calendar.
    OT

  • How to embed image in email, not as an attachment?

    I need to know how to embed an image into Mail without making it an attachment. Any ideas?
    Thanks in advance.
    Hana

    drag the image to the email. that's all. how it will show on the other end depends on the email client configuration of your email recipients, not on you.

  • How to embed JavaScript in a DynPro View?

    Hello,
    I hava a standard DynPro application.
    I would like to add a link UI which by pressing it will activate a JavaScript function. Can someone please show me how to do it and ingeneral how to embed JavaScpript in a DynPro View?

    This (protocol javascript:) probably works in current releases but in future releases it will be disabled by default for security reasons.
    The set of allowed URL protocols will then be configurable in the J2EE server.
    Armin
    Message was edited by: Armin Reichert

  • How to embed views dynamically in a view container ?

    Hi ,
        Can you please guide me how to embed a view dynamically in a view container ?
    Thanks & Regards
    Gaurav Jain

    Hello,
    Please read this [/people/rajagopal.vemuri/blog/2006/09/19/web-dynpro-for-abap-creating-dynamic-ui-elements-and-context-step-by-step].
    Regards.

  • How to Embed Fonts and make Grayscale in Acrobat Pro 9 PDF

    I supplied my printer with a PDF but he says that I need to "Embed The Fonts" in the PDF.
    I made the original document in MS WORD and then I created the PDF in Acrobat Pro 9 but nowhere
    along the way did I see anything that asked me to Embed The Fonts.
    He also says that the type is in RGB but it needs to be in Grayscale.
    When I created the PDF I didn't see any option along the way that gave me a choice between
    RGB and Grayscale.
    Any ideas how to achieve these two effects while going from an MS WORD document to a PDF using
    Acrobat Pro 9 please?
    Any help would be much appreciated.

    Sorry to bother you with my problem but I wondered if you could explain a little bit more about things I didn't understand.
    1 - you said > On a Mac there is no advantage to using the Word plug-in.
    Do you mean that I can type directly into Acrobat?
    I thought that a document needed to be created in a word processor first before I could turn it into a PDF.
    Is that incorrect then?
    2 - > Create the pdf file a print file menu gives you greater control.
    I do apologize but I did not understand this statement either, could you please expand on it a little (to a non-techie.)
    3 - > If you use the Press job option setting, the fonts will be embedded.
    I can't find Press job option setting anywhere - I am using Acrobat pro 9 but there doesn't seem to be a menu with Press
    anywhere, could you please expand on this a little bit too please.
    4 - > If the pdf file has already been created it can be converted to greyscale using the Preflight or Convert Colors
    under Advanced -> Print Production.
    I understood this part and I executed it according to your instructions so thank you for that.
    Unfortunately I couldn't find out how to embed my fonts and my printer charged me $75 to do that
    so I was pretty upset about not being able to understand that part of your explanation.
    Since the printer was able to embed the fonts in a document that was already a PDF then it must be possible
    to embed fonts after a PDF has been created, is that correct?
    If that is correct then i don't know how I could not find how to do it because I looked everywhere for that
    ability but I could not find how to do it.
    I'd be very grateful for any further help you could give, thank you.

Maybe you are looking for

  • User can't print from Reader, tried multiple troubleshooting steps

    Working with a client who can no longer print from Reader (v11.0.10). Windows 7 Pro x86 machine.  Tried printing after each of the following steps: Rebooted PC Restarted Print Spooler service Uninstalled/Reinstalled Reader v11 (from fresh download) S

  • Need help in displaying multiple attachments in a OAF Page

    Hi, I need to display attachemts of requisition line in a OAF Page(Notification Detials Page)and the attachments can be more than one.My custom VO returns it as a single string like url1, url2.. etc. I need to show them as seperate links. I tried usi

  • Change the look of site element on sharepoint

    I want to change the look of "more options" button, which looks ass thre bricks "..." as the picture below link to the picture, More cleare http://s29.postimg.org/f29je10h3/Namnl_sq.png I have tried to find it in CSS and masterpage files but couldnt

  • Hibernate generated SQL produces ORA-00904

    I am using Hibernate to do the O/R-mapping in my application. One of my HQL queries is translated into a SQL query which produces an ORA-00904. I have tracked down the problem to a simple SQL example: create table a (b integer, c integer); create tab

  • Cannot Sync iPhoto Subscriptions to Apple TV - why?

    Hello I have subscribed to few other people's .Mac Galleries where the photos now appear in my iPhoto gallery under Subscriptions. They automatically update when they add new photos or make changes. However they don't appear to be syncing to my Apple