How to embed an applet in a JPanel

Hi All,
I am in need of serious help as I have not been able to figure this out for days!!!
All I want to do is to display a runnable applet in a JPanel.
The applet is shown below. Its a ball bouncing around. All I need to do is to embed this in a Jpanel with buttons which will control the movement of the ball in the applet which should be on a Panel. For the life of me I havent figured it out!
Can someone help a brother out!
import java.awt.*;
import javax.swing.*;
import java.applet.Applet;
import java.awt.*;
import javax.swing.JOptionPane;
import javax.swing.*;
import java.awt.event.*;
//Animation Class
class Animation extends Thread {
private Applet appl;
private Color color;
private int increment, vincrement;
private int which;
private int position = 0;
private int vposition = 0;
public int xCenter, yCenter;
private int pause;
private int width, height, speed;
private double distance;
private Dimension[] rotations;
private int currentRotation ;
Animation(Applet a, Color c, int p, int wid, int hei ,int theSpeed, int Start) {
color = c;
appl = a;
pause = p;
width = wid;
height = hei;
speed = theSpeed;
rotations = new Dimension[8];
rotations[0] = new Dimension(1,0);
rotations[1] = new Dimension(1,-1);
rotations[2] = new Dimension(0,-1);
rotations[3] = new Dimension(-1 , -1);
rotations[4] = new Dimension(-1,0);
rotations[5] = new Dimension(-1,1);
rotations[6] = new Dimension(1,0);
rotations[7] = new Dimension(1,1);
currentRotation = Start;
increment = (int)rotations[Start].getWidth();
vincrement = (int)rotations[Start].getHeight();
setSpeed();
public void setSpeed()
{  increment = increment*speed;
vincrement = vincrement * speed;
public void changeRotation(int run, int rise){
increment = run;
vincrement = rise;
setSpeed();
public void rotate(){
currentRotation++;
if (currentRotation == 8)
currentRotation = 0;
changeRotation((int)rotations[currentRotation].getWidth(), (int)rotations[currentRotation].getHeight() );
public void bounce(){
increment = -increment;
public void vBounce(){
vincrement = -vincrement;
public void setColor(Color n)
color = n;
public void run() {
while (true) {
try {
Thread.sleep(pause);
} catch (InterruptedException e) {}
position += increment;
if (position > width - 30 || position <= 0)
{ increment = -increment;
vposition += vincrement;
if (vposition > height - 30 || vposition <= 0)
{ vincrement= -vincrement;
appl.repaint();
public void draw(Graphics g) {
g.setColor(color);
g.fillOval(0 + position, 0 + vposition,30, 30);
setCentre();
public void setCentre(){
xCenter = position - 30/2;
yCenter = vposition -30/2;
public boolean didCollide(Animation x){
distance = Math.sqrt( Math.pow( (xCenter- x.xCenter) ,2) + Math.pow((yCenter-x.yCenter) , 2) );
if (distance <= 31){
return true;
}else return false;
}

I took the liberty to make few changes:
the applet:
import java.awt.*;
public class AnimA extends java.applet.Applet
     Animation anim;
     int p   = 70;
     int wid = 400;
     int hei = 300;
    int theSpeed = 2;
     int start    = 7;
public void init()
     setLayout(new BorderLayout());
     anim = new Animation(Color.green,p,wid,hei,theSpeed,start);     
     add("Center",anim);
     Panel panel = new Panel();
     panel.setBackground(Color.lightGray);
     panel.add(new Button("Button 1"));
     panel.add(new Button("Button 1"));
     add("South",panel);
     Thread th = new Thread(anim);
     th.start();
the animation
import java.awt.*;
import java.awt.event.*;
//Animation Class
class Animation extends Panel implements Runnable
//     private Applet      appl;
     private Color       color;
     private int         increment, vincrement;
     private int         which;
     private int         position = 0;
     private int         vposition = 0;
     public  int         xCenter, yCenter;
     private int         pause;
     private int         width, height, speed;
     private double      distance;
     private Dimension[] rotations;
     private int         currentRotation ;
Animation(Color c, int p, int wid, int hei ,int theSpeed, int Start)
     color  = c;
//     appl   = a;
     pause  = p;
     width  = wid;
     height = hei;
     speed  = theSpeed;
     rotations = new Dimension[8];
     rotations[0] = new Dimension(1,0);
     rotations[1] = new Dimension(1,-1);
     rotations[2] = new Dimension(0,-1);
     rotations[3] = new Dimension(-1 , -1);
     rotations[4] = new Dimension(-1,0);
     rotations[5] = new Dimension(-1,1);
     rotations[6] = new Dimension(1,0);
     rotations[7] = new Dimension(1,1);
     currentRotation = Start;
     increment  = (int)rotations[Start].getWidth();
     vincrement = (int)rotations[Start].getHeight();
     setSpeed();
public void setSpeed()
     increment  = increment  * speed;
     vincrement = vincrement * speed;
public void changeRotation(int run, int rise){
     increment  = run;
     vincrement = rise;
     setSpeed();
public void rotate()
     currentRotation++;
     if (currentRotation == 8) currentRotation = 0;
     changeRotation((int)rotations[currentRotation].getWidth(), (int)rotations[currentRotation].getHeight() );
public void bounce()
     increment  = -increment;
public void vBounce()
     vincrement = -vincrement;
public void setColor(Color n)
     color = n;
public void run()
     while (true)
          try
               Thread.sleep(pause);
           catch (InterruptedException e) {}
          repaint(position,vposition,31,31);
          position  += increment;
          if (position > width - 30 || position <= 0) bounce();
          vposition += vincrement;
          if (vposition >= height - 30 || vposition <= 0) vBounce();
          repaint(position,vposition,31,31);
public void update(Graphics g)
     this.paint(g);
public void paint(Graphics g)
     width  = getWidth();
     height = getHeight()-4;
     Rectangle cl = g.getClipBounds();
     g.setColor(Color.pink);
     g.fillRect(cl.x,cl.y,cl.width,cl.height);
     g.setColor(color);
     g.fillOval(position,vposition,30,30);
     setCentre();
public void setCentre()
     xCenter = position - 30/2;
     yCenter = vposition -30/2;
public boolean didCollide(Animation x)
     distance = Math.sqrt( Math.pow( (xCenter- x.xCenter) ,2) + Math.pow((yCenter-x.yCenter) , 2) );
     if (distance <= 31) return true;
          else            return false;
} Noah

Similar Messages

  • How to embed an Applet into html

    Hi, I've an applet called IDrive written in Eclispe which works perfect there, I've been trying to paste the IDrive class file into my html folder and embed my applet by trying e.g.
    <applet code="../css/IDrive.class" width="300" Height="400">
    </applet>css is a folder outside the folder which contains the html file in which im trying to embed my Applet
    but no matter what I do i keep getting class not found error's, and as im totally new to applets I hope someone could please help me....
    Thanks

    I suggest you look at the applets under the demo directory and how they are done.
    Here are also some tutorials.
    [http://www.google.co.uk/search?q=applet+html+tutorial]

  • How to embed an Applet in a win32 application ?

    Hi,
    I want to write a win32 application and embed in it applet, just like IE or Netscape ...
    does anyone know how to do that ?
    could-you also cc code sample here: [email protected]
    thanks...

    I think the easiest way to do this (though probably not the most efficient) is just to embed the Microsoft browser component in your application. It's pretty easy to do in (dare I say it) VB, but I'm sure it can be done in Win32/MFC as well, since the Microsoft Web Browser comonent is just an ActiveX control. I can't say that I've ever tried to do it for the purpose of viewing an applet though, and I don't know how you'd communicate with the applet, if you needed to.
    VC++ 6.0 can generate the code for it. In the UI builder, right-click and select 'Insert ActiveX control', and select the 'Microsoft Browser Component'. Let it chug for a bit, and use class wizard to create a class/variable for it. Once you have the browser in place, just create a simple local html file that loads the applet in the right position / size and point the browser to the HTML file. While this should meet the basic requirements that you described, I don't know that it'll really meet your needs, or even how well it will work, but it should work in theory
    - Ben K
    I'm gonna move to theory, everything works in theory.

  • How to embed an applet on a tab canvas of a form

    Hi, I am using JDeveloper 10.1.2.3 and 10 g DB. I have a requirement where I have to allow users to digitally sign or authorize an application in oracle forms. We use Topaz systems to sign all our documents in java. Now users want this facility in their oracle forms applications as well. I have written a bean that allows users to sign. I called this java bean from forms on click of a button and an applet pops up where in user sign and on clicking save button the signature is sent back to the form. However, what i was hoping for was to have this applet embedded within a tabbed canvas of the form, so that it appears that the user is signing on the form. This will also be useful when I have to load the signature back to the form. I don't think a separate hanging applet will look good.
    Can anyone help me please.

    as you already have a bean, try to show the frame of the java-applet inside the bean-area. Maybe there is also a class in your java-program yo can call directly without having to work with the apllet itself. it would also be helpful if you could post the code for your java-bean.

  • Any one know how to embed a Applet or JApplet into a JFrame?

    Thanks

    No because you put the frame inside the applet.
    Why would someone need to put an applet inside a frame?

  • Embed an applet into jpanel

    I have a unique problem. I have an application built on swing f/w with xml used for design and maven used for build.
    I have an applet that is independent of this application. Now i dont have a clue how to embed that applet into a jpanel or into that application. Anything of that will help me immensely. Please suggest if anybody has a clue.
    Thanks in advance.
    Regards,
    Ashish

    >
    I have a unique problem. >Big claim since..
    >
    ..I have an application built on swing f/w with xml used for design and maven used for build.
    I have an applet that is independent of this application. Now i dont have a clue how to embed that applet into a jpanel or into that application. >..the AppletViewer has been Swing based since around 1.3 or before. ;-)
    In any case, if you control the source of the applet, or can recreate it, the best solution has already been given on the first reply.
    If not, and it actually makes sense to embed an Applet or JApplet in a Swing JPanel(/JFrame), then it becomes more complicated.
    Here is one of the most simplistic [examples of embedding an applet in a JFrame|http://forums.sun.com/thread.jspa?messageID=10259860#10259860]. If it becomes necessary to pass parameters to the applet, allow it to share input streams, or implment the showStatus() showDocument() methods as I did in Appleteer, it becomes more complex again. So far I have found no practical way to mimic Applet/JavaScript interaction.
    Edit 1:
    And noting you are yet another multi-poster. No that is not unique, just very irritating, and a great disincentive for others to help.
    Edited by: AndrewThompson64 on Jul 1, 2009 1:40 AM

  • How to embed applet in html?

    how do you embed an applet (made using the GUI builder/drag and drop builder) of netbeans correctly?
    I tried it manually but it doesn't work (put the filename.class with the html file and embed it to the html code) but it says that applet failed.
    I also tried running the one netbeans automatically created located at \build folder of the project folder, but it also says applet failed.
    Can someone tell what seems to be the problem? or are there any suggestions or better way to embed an applet to a html file?

    Answers to "How to do something in NetBeans" (or any other IDE) are only going to be available at the IDE site. See here:
    http://www.netbeans.org/kb/50/tutorial-applets.html
    These forums are for Java language topics, not IDE support.

  • 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

  • How to pass first applet value to second applet

    please help ,
    can anyone knows how to send first applet parameter to second applet,
    here is the code
    //<applet code="firstapplet.class" height="200" width="300"></applet>
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class firstapplet extends JApplet
    JPanel pn;JTextField txt;JButton btn;
    public void init()
    pn = new JPanel();
    getContentPane().add(pn);
    txt = new JTextField(20);
    pn.add(txt);
    btn = new JButton("submit");
    pn.add(btn);
    on the click of button i want to pass the textfield value to second applet

    I don't know what exactly you mean by "sending first
    parameter", but using Applet.getContext() you can
    gain access to the other applets on that page, if
    that's what you need. Refer to the API docs for more
    info.thanks for the reply,
    but i want to get the first applet textfield value and show on second applet
    can you help me on this

  • How do I insert applets in DW CS6 for Mac?

    I am a student and my textbook lesson is asking me to insert an applet using insert, media menu but I do not have that option on the Mac version. I have an applet file and I've tried inserting it in as a plugin but when viewing it in the browser it has "pluging missing" in stead of the applet. How do I insert an applet in DW CS6 for Mac?

    Thanks for the reply Nancy, your help is much appreciated.
    I did have a problem with Java on my iMac but not on my Macbook Pro. My IMac Java hasn't worked correctly since Apple quit updating Java and turned the updates over to Oracle and the console application was removed from system settings.  I installed the Java JDK on my iMac (it was already installed on my Macbook Pro). The consol application is now in my system settings and when I go to the Java site, the JRE is running properly on my iMac where it wasn't before.
    I opened the page on both computers and it still says the same thing, "Missing Plugin". When I click on the words "Missing Plugin" it says "This page contains content that can't be shown because it's type is unspecified."
    I checked to see if Java was enabled and it was.
    I also updated the Java plugin before and after trying the page several times with the same result.
    I'm thinking that it's an error in the code because the code doesn't look quite right in my novice opinion.
    Below is the code I have in my webpage for the applet (formatting ans spacing may not display correctly on the forum page):
    <embed src="Applets/Fader.class" width="500" id="textScroll" height="90"      name="textScroll" delay="20" stop="4000" fontsize="16" fontstyle="1"      fontname="Arial" text0="Click each panel to view our portfolio."      text1="Experience a phorography session centered around you." text2="Let us      capture cherished family moments." text3="Contact us today to schedule your      session.">
    </embed>
    I've done a little javascript and php but this looks to be a java application class file which was provided by the textbook via web resource files.
    Thanks again!

  • How to use java applets inside visual basic

    hi everyone,
    i am new to programming specially java so please bear with me.
    having said that i am looking for a way to embed java applets in visual basic. so
    1) is it possibele?
    2) if yes(which i believe) then how?
    we are supposed to use VB but i hate it so looking for this way .
    any suggestions and help is whole-heartedly welcome.
    kindly help me.
    you can post ur replies here or mail me directly at my e-mail id
    [email protected]

    thanx
    i have 2 more queries.
    1) is this IE ACTIVE-X CONTROL present by default in VB or do i have to download some add-ons?
    2) how do i write a concurrent server in java . i mean is there any thing equivalent to the UNIX system's FORK()?what if i have to implement this in an applet?
    thanx again.

  • How to embed javafx program in JSP?

    How to embed javafx program in JSP?

    This is hardly related to the original question, a separate thread would have been better...
    Anyway, you can look at [A Better Applet Experience, Part 1: a custom loading screen|http://weblogs.java.net/blog/joshy/archive/2008/08/a_better_applet.html] article for some hints.

  • 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.

Maybe you are looking for

  • Using a library in an external hard drive

    Hi! I've got an iMac an a PC; and I want to use my iTunes Library (it's in an external hard drive) with both OS X and Win 7 without copying it in the hard drives. How can I do? I've tried to select the iTunes Media folder in WIndows, but the library

  • Report showing Total Stock of individual materials and not specific to Sloc

    Our requirement is to display the current Stock of every individual material with its description and not Storage location specific.. We dont want the Stock specific to Storage Locations.We need the overall Stock of individual materials. Pls dont sug

  • Error while issuing subcon material (WM and HUM managed)

    Hi All, We have activated Warehouse Mgmt and Handling Unit Mgmt for one storage location. For Subcontracting process, while issuing material from this storage location to subcontractor through mvt. type 541, we are getting Error message VL 295 " Dlv.

  • Is it possible to download a program purchased in 2011 (past the 3 year mark)?

    I purchased Adobe Flash cs5.5 for my school in 2011.  This summer the school updated Windows and Flash was deleted off of my computer.  I was trying to redownload Flash but am not seeing how.  I read somewhere that there is a 3 year download cut off.

  • Installing anc configuring Mysql 4.0.x or 4.1.x

    Hi ive got Solaris 10 installed and configured however im having major dramas with the installation of Mysql 4.0.21 which i downloaded from sunfreeware, ive installed using pkgadd and all seems well, but when i try to start the mysql service or mysql