Whiteboard TEXT

I developed a whiteboard . To add minimum features to it I have come up on an idea of having a text tool . The tool should be in such a way that the user can type his text onto the canvas directly without disturbing its behind graphics . Is there a solution for this . I tried adding a JTextPane to a JPanel and hidden the JPanel so that the textcomponent is also hidden . when the user selects appropriate button the component becomes active . Now I made both the components transparent so that the graphics beneath it will be shown . I could'nt succeed in this . The panel component is not becoming transparent . It would be greatfull If I can have some help on the following information .

hi,
well, let me see , what you are trying to do, you are tring to create a custom white borad, well , let me suggest something, draw of the panel and repaint it, you can overload the paint and repaint methiods alse you can use a bitmap for faster drawing, well hope that answers your questions ok . you can also blit the bitmaps,
query me back if you did'nt get that,
myraid_77

Similar Messages

  • Text Whiteboard application

    Hi,
    I would like to create a very simple Swing app that emulates a text whiteboard. I know I can use a JPanel then add JLabel components with text on them to the appropriate cordinates on the screen, but this involves prompting the user using something like a textDialog.
    Ideally I would like the user to be able to clik anywhere on the JPanel, and allow them to type the text 'in situe' so it just appears on the page as they type (e.g. in somthing like Paint or Paint Shop Pro where you can just click the text tool on the page and type the text you want appear).
    If anyone has any ideas how I could o this in Swing, I would be very grateful.
    Thanks!

    Click the mouse and type
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Wboard extends JFrame 
    public Wboard ()
         super();
         setBounds(6,6,600,400);     
         addWindowListener(new WindowAdapter()
        {     public void windowClosing(WindowEvent ev)
                   dispose();     
                   System.exit(0);
         setContentPane(new myPan());
         setVisible(true);
    public class myPan extends JComponent implements MouseListener, KeyListener
         Image       image;
         Graphics    gr;
         FontMetrics fm;
         int x=-20,y=20;
         String      text = "";
    public myPan()
         super();
         addMouseListener(this);
         addKeyListener(this);
    public void paintComponent(Graphics g)     
         super.paintComponent(g);
         if (image == null || getWidth()  != image.getWidth(null)
                               || getHeight() != image.getHeight(null))
              image = createImage(getWidth(),getHeight());
              gr    = image.getGraphics();
              fm    = gr.getFontMetrics(g.getFont());
              gr.setColor(Color.white);
              gr.fillRect(0,0,getWidth(),getHeight());
         gr.setColor(Color.blue);     
         gr.drawString(text,x,y+5);
         g.drawImage(image,0,0,null);
         g.setColor(Color.black);               
         int tw = fm.stringWidth(text);
         g.fillRect(x-12+tw,y,24,1);
         g.fillRect(x+tw,y-12,1,24);
    public void mouseEntered(MouseEvent m){}
    public void mouseExited(MouseEvent m) {}
    public void mouseClicked(MouseEvent m){}
    public void mousePressed(MouseEvent m){}
    public void mouseReleased(MouseEvent m)
         x = m.getX();
         y = m.getY();
         text = "";
         grabFocus();
         repaint();
    public void keyTyped(KeyEvent e){}
    public void keyPressed(KeyEvent e)
         if (e.getKeyCode() >= KeyEvent.VK_SPACE)
              text = text+e.getKeyChar();
              repaint();
    public void keyReleased(KeyEvent e){}
    public static void main (String[] args)
         new Wboard ();  
    }       Noah

  • Text Chat Cum Whiteboard Implementation

    Could anyone give me a working code that has a GUI for text chat implementation over the Internet. It would be really helpful if a whiteboard (for drawing figures, etc.) implementation is also present.
    Thanks in Advance,
    Arlin

    http://www.bookpool.com/.x/7dianbjj0i/sm/1565922069

  • How do I change fonts in a Text field ??

    Okay I've tried to implement a JComboBox that allows the user to change fonts in the text field. So far I've tried different methods to do it but to no avail. Could somebodoy here read the programs source code for me and tell me where I went wrong?
    /* * My GUI Client */
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    import javax.swing.event.*;
    //for HTML Headers
    import javax.swing.text.StyledEditorKit.*;
    import javax.swing.text.html.HTMLEditorKit.*;
    import javax.swing.text.html.*;
    import javax.swing.event.HyperlinkListener;
    import javax.swing.event.HyperlinkEvent;
    import javax.swing.event.HyperlinkEvent.EventType;
    import javax.swing.text.html.HTMLFrameHyperlinkEvent;
    //for layout managers
    import java.awt.event.*;
    //for action and window events
    import java.io.*;
    import java.net.*;
    import java.awt.GraphicsEnvironment;
    //for font settings
    import java.lang.Integer;
    import java.util.Vector;
    import java.awt.font.*;
    import java.awt.geom.*;
    public class guiClient extends JFrame implements ActionListener {
    protected static final String textFieldString = "JTextField";
    protected static final String loadgraphicString = "LoadGraphic";
    protected static final String connectString = "Connect";
    static JEditorPane editorPane;
    static JPanel layoutPanel = new JPanel(new BorderLayout());
    static JPanel controlPanel = new JPanel(new BorderLayout());
    static JPanel buttonPanel = new JPanel(new BorderLayout());
    static JPanel fontPanel = new JPanel(new BorderLayout());
    static PrintStream out;
    static DrawPanel dPanel;
    static DrawPanel dPButton;
    static DrawPanel dFonts;
    static DrawControls dControls;
    static DrawButtons dButtons;
    static String userString;
    static String currentFont;
    String fontchoice;
    String fontlist;
    static JTextField userName = new JTextField();
    public static JMenuBar menuBar;
    private static JButton connectbutton = new JButton("Connect");
    static boolean CONNECTFLAG = false;
    //create the gui interface
    public guiClient() {
         super("My Client");
    // Create a ComboBox
    GraphicsEnvironment gEnv = GraphicsEnvironment.getLocalGraphicsEnvironment();
    String envfonts[] = gEnv.getAvailableFontFamilyNames();
    Vector vector = new Vector();
    for ( int i = 1; i < envfonts.length; i++ ) {
    vector.addElement(envfonts);
    JComboBox fontlist = new JComboBox (envfonts);
         fontlist.setSelectedIndex(0);
         fontlist.setEditable(true);
         fontlist.addActionListener(this);
         fontchoice = envfonts[0];     
    //Create a regular text field.
         JTextField textField = new JTextField(10);
         textField.setActionCommand(textFieldString);
         textField.addActionListener(this);          
    //Create an editor pane.
    editorPane = new JEditorPane();
         editorPane.setContentType("text");
         editorPane.setEditable(false);
    //set up HTML editor kit
         HTMLDocument m_doc = new HTMLDocument();
         editorPane.setDocument(m_doc);
         HTMLEditorKit hkit = new HTMLEditorKit();
         editorPane.setEditorKit( hkit );
         editorPane.addHyperlinkListener( new HyperListener());
    //Create whiteboard
    dPanel = new DrawPanel();
    dPButton = new DrawPanel();
    dFonts = new DrawPanel();
    dControls = new DrawControls(dPanel);
    dButtons = new DrawButtons(dPButton);
         //JLable fontLab = new JLabel(fontLable);
    //fontLab.setText("Fonts");
    //Font newFont = getFont().deriveFont(1);
    //fontLab.setFont(newFont);
    //fontLab.setHorizontalAlignment(JLabel.CENTER);
    JPanel whiteboard = new JPanel();
    whiteboard.setLayout(new BorderLayout());
    whiteboard.setPreferredSize(new Dimension(300,300));
    whiteboard.add("Center",dPanel);
    whiteboard.add("South",dControls);
    whiteboard.add("North",dButtons);
         JScrollPane editorScrollPane = new JScrollPane(editorPane);
         editorScrollPane.setVerticalScrollBarPolicy( JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
         editorScrollPane.setPreferredSize(new Dimension(250, 145));
         editorScrollPane.setMinimumSize(new Dimension(50, 50));
    //put everything in a panel
         JPanel contentPane = new JPanel();
         JPanel fontPane = new JPanel();
         contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.Y_AXIS));
    //add whiteboard
         contentPane.add(whiteboard);
    //add editor box
         contentPane.add(editorScrollPane);
    //add spacer
         contentPane.add(Box.createRigidArea(new Dimension(0,5)));
    //add textfield
         contentPane.add(textField);
    //set up layout pane
         //layoutPanel.add(GridLayout(2,1),fontLab);
         layoutPanel.add( BorderLayout.NORTH, fontlist);     
         layoutPanel.add(BorderLayout.WEST,new Label("Name: ")); //add a label
         layoutPanel.add(BorderLayout.CENTER, userName ); //add textfield for user names
         layoutPanel.add(BorderLayout.SOUTH, connectbutton);//add dropdown box for fonts
         //fontPane.add(BorderLayout.NORTH,fontlist);
         contentPane.add(layoutPanel);
         contentPane.add(controlPanel);
         contentPane.add(buttonPanel);
    //Create the menu bar.
    menuBar = new JMenuBar();
    setJMenuBar(menuBar);
    //Build the first menu.
         JMenu menu = new JMenu("File");
         menu.setMnemonic(KeyEvent.VK_F);
         menuBar.add(menu);
    //a group of JMenuItems
         JMenuItem menuItem = new JMenuItem("Load Graphic", KeyEvent.VK_L);
         menu.add(menuItem);
    menuItem.setActionCommand(loadgraphicString);
         menuItem.addActionListener(this);
    connectbutton.setActionCommand(connectString);
    connectbutton.addActionListener(this);
         setContentPane(contentPane);
    static private void insertTheHTML(JEditorPane editor, String html, int location) throws IOException {
         HTMLEditorKit kit = (HTMLEditorKit) editor.getEditorKit();
         Document doc = editor.getDocument();
         StringReader reader = new StringReader(html);
         try {
              kit.read(reader, doc, location);
         } catch (BadLocationException e) {}
    //listen for actions being performed and process them
    public void actionPerformed(ActionEvent e) {
    //if the action is from the textfield (e.g. user hits enter)
         if (e.getActionCommand().equals(textFieldString)) {
              JTextField fromUser = (JTextField)e.getSource();
         if (fromUser != null){
    //place user text in editor pane
    //send message to server
                   if (userName.getText() != null) {
                        userString = userName.getText().trim();
                   out.println(userString + ": " + fromUser.getText());
              fromUser.setText("");
         } else if(e.getActionCommand().equals(connectString)) {
              CONNECTFLAG = true;
    } else if (e.getActionCommand().equals(loadgraphicString) ) {
              final JFileChooser fc = new JFileChooser();
              int returnVal = fc.showOpenDialog(this);
              if (returnVal == JFileChooser.APPROVE_OPTION) {
                   File file = fc.getSelectedFile();
                   dPanel.loadImage(file.getAbsolutePath());
                   sendImage(file);
         else if (e.getActionCommand().equals(fontlist)){
         JComboBox cb = (JComboBox)e.getSource();
    String newSelection = (String)cb.getSelectedItem();
    currentFont = newSelection;
         userString = currentFont;
    return;
    /*public void itemStateChanged (ItemEvent e) {
    if ( e.getStateChange() != ItemEvent.SELECTED ) {
    return;
    if ( list == fontlist ) {
    fontchoice = (String)fontlist.getSelectedItem();
         userString.changeFont(fontchoice);
    //append text to the editor pane and put it at the bottom
    public static void appendText(String text) {
         if (text.startsWith("ID ") ) {
              userString = text.substring(3);
         } else if (text.startsWith("DRAW ") ) {
              if (text.regionMatches(5,"LINE",0,4)) {
    dPanel.processLine(text);
         }else if (text.regionMatches(5,"POINTS",0,5)) {
         dPanel.processPoint(text);
         } else if (text.startsWith("IMAGE ") ) {
    int len = (new Integer( text.substring(6, text.indexOf(",")))).intValue();
    //get x and y coordinates
         byte[] data = new byte[ (int)len ];
         int read = 0;
    try {
         while (read < len) {
         data = text.getBytes( text.substring(0, len) );
    } catch (Exception e) {}
         Image theImage = null;
         theImage = dPanel.getToolkit().createImage(data);
         dPanel.getToolkit().prepareImage(theImage, -1, -1, dPanel);
         while ((dPanel.getToolkit().checkImage(theImage, -1, -1, dPanel) & dPanel.ALLBITS) == 0) {}
              dPanel.drawPicture(0, 0, theImage);
    } else {
    //set current position in editorPane to the end
              editorPane.setCaretPosition(editorPane.getDocument().getLength());
    //put text into the editorPane
              try {
                   insertTheHTML(editorPane, text, editorPane.getDocument().getLength());
              } catch (IOException e) {}
    } //end of appendText(String)
    public void sendImage(File file) {
    //find length of file
         long len = file.length();
    //read file into byte array
         byte[] byteArray = new byte[(int)len];
         try {
              FileInputStream fstream = new FileInputStream(file);
              if (fstream.read(byteArray) < len) {
    //error could not load file
              } else {
              out.println("IMAGE " + len + ",");
                   out.write(byteArray, 0, (int)len); //write file to stream
         } catch(Exception e){}
    //run the client
    public static void main(String[] args) {
         String ipAddr=null, portNr=null;
              if (args.length != 2) {
                   System.out.println("USAGE: java guiClient IP_Address port_number");
                   System.exit(0);
              } else {
         ipAddr = args[0];
              portNr = args[1];
              JFrame frame = new guiClient();
              frame.addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e) { System.exit(0); }
              frame.pack();
              frame.setVisible(true);
              while(CONNECTFLAG == false){}
    //sames as previous client,
    //set up connection and then listen for messages from the Server
              String socketIP = ipAddr;
              int port = Integer.parseInt(portNr);
    //the IP address of the machine where the server is running
              Socket theSocket = null;
    //communication line to the server
              out = null;
    //for message sending
              BufferedReader in = null;
    //for message receiving
              try {
              theSocket = new Socket(socketIP, port );
    //try to connect
              out = new PrintStream(theSocket.getOutputStream());
                   dPanel.out = out;
    //for client to send messages
              in = new BufferedReader(new InputStreamReader(theSocket.getInputStream()));
                   BufferedReader userIn = new BufferedReader(new InputStreamReader(System.in));
                   String fromServer;
                   while ((fromServer = in.readLine()) != null) {
                   appendText(fromServer);
                   if (fromServer.equals("BYE")) {
                        appendText("Connection Closed");
                        break;
              out.close();
    //close all streams
              in.close();
              theSocket.close();
    //close the socket
         } catch (UnknownHostException e) {
    //if the socket cannot be openned
              System.err.println("Cannot find " + socketIP);
              System.exit(1);
              } catch (IOException e) { //if the socket cannot be read or written
              System.err.println("Could not make I/O connection with " + socketIP);
              System.exit(1);
    class HyperListener implements HyperlinkListener {
    public JEditorPane sourcePane;
    public void hyperlinkUpdate(HyperlinkEvent e) {
    if (e.getEventType() == HyperlinkEvent.EventType.ACTIVATED) {
    sourcePane = (JEditorPane) e.getSource();
                   if (e instanceof HTMLFrameHyperlinkEvent) {
    HTMLFrameHyperlinkEvent event = (HTMLFrameHyperlinkEvent) e;
                        System.out.println(event.getTarget());
                        HTMLDocument doc = (HTMLDocument) sourcePane.getDocument();
                        doc.processHTMLFrameHyperlinkEvent(event);
    else {
    try {}
    catch (Exception ev){
         ev.printStackTrace();
    Well sorry the source code takes up the whole forum but I need a good feedback from this.

    All right...
    public class guiClient extends JFrame implements ActionListener {
    static String userString;
    static String currentFont;
    String fontchoice;
    String fontlist;
    static JTextField userName = new JTextField();
    public guiClient() {
         super("My Client");
    public guiClient() {
         super("My Client");
    // Create a ComboBox
    GraphicsEnvironment gEnv = GraphicsEnvironment.getLocalGraphicsEnvironment();
    String envfonts[] = gEnv.getAvailableFontFamilyNames();
    Vector vector = new Vector();
    for ( int i = 1; i < envfonts.length; i++ ) {
    vector.addElement(envfonts);
    JComboBox fontlist = new JComboBox (envfonts);
         fontlist.setSelectedIndex(0);
         fontlist.setEditable(true);
         fontlist.addActionListener(this);
         fontchoice = envfonts[0];     
    //Create a regular text field.
         JTextField textField = new JTextField(10);
         textField.setActionCommand(textFieldString);
         textField.addActionListener(this);
    public void actionPerformed(ActionEvent e) {
    //if the action is from the textfield (e.g. user hits enter)
         if (e.getActionCommand().equals(textFieldString)) {
              JTextField fromUser = (JTextField)e.getSource();
         if (fromUser != null){
    //place user text in editor pane
    //send message to server
                   if (userName.getText() != null) {
                        userString = userName.getText().trim();
                   out.println(userString + ": " + fromUser.getText());
              fromUser.setText("");
         else if (e.getActionCommand().equals(fontlist)){
         JComboBox cb = (JComboBox)e.getSource();
    String newSelection = (String)cb.getSelectedItem();
    currentFont = newSelection;
         userString = currentFont;
    return;

  • Text File Database

    Hello,
    i am a student at The Open University "APEIRON" Travnik (www.out.edu.ba), i am pursuing a Masters degree in IT, we have one Exam called Java programming.
    My practical exam part is to create a program that should enable user to manipulate students grades. The app should allow these options:
    - Read students data,
    Read students data, needs to ask a user for students name and some ID (Surname etc.), and after that lists students grades and Courses.
    - Inserting of new grades,
    Inserting of new grades should have option to insert a new Course name, students name and grade for that Course.
    - Change of existing grades.
    Change of existing grades needs to ask for students name and/or ID, surname and the name of a Course and shows his present grade, Then it should have an option to change students grade for that Course.
    For this App all of validations should be done.
    All of the data (students names, Course names, Grades etc.), needs to be stored in text file database?! Now, i am a newb to Java, but i worked before with VB, and SQL, and i saw there are some similarities to acces and modify data in SQL database. But the problem is, i never worked with Flat text file databases and now i am stuck, i do not even know how to create a text database or even to connect Java to that database.
    Please, if anyone can help me i would be very grateful!?

    HaloOo wrote:
    i am pursuing a Masters degree in ITPursuing as in commencing, or pursuing as in first/second year undergraduate student. If the former then I am abit worried at your lack of prior research (or is this how you research).
    Please, if anyone can help me i would be very grateful!?You will need to invest some time in the basics of programming in Java and OOL. There are multiple tutorials available on reading/writing to text files. One thing to note: a text file is treated in the majority of cases like a wipe board. You can write a whole bunch of stuff on it, but if you decide you want to write a line in the middle, then unfortunately you need to read what is currently on the whiteboard, rewrite it, append your new message, then append the remainding text from the white board. IMHO a (RAF) is not applicable in this situation.
    Task1: Java: hello world
    Task2: Introductory tutorials
    Task3: Read a text file/write a text file/display contents of file
    You choose,
    Mel

  • Whiteboard-Voice Chat archiving

    Hi,
    I am developing an application which uses 2 applets in a single jsp page one as a whiteboard where we can draw and another a voice chat cum text chat application.
    I need to save both the drwaing and the chat content in the database and retreive and show it to user which contains the drawing and the voice chat content in sync.
    How can this be done?Please advice me.
    Thanks
    Ram

    Hi,
    Creator 2.0 does not have support to create Applet. You could use free tools like netbeans (http://www.netbeans.org) to create the applet and then import it in to Creator.
    RK.

  • Not displaying whiteboard pictures Lync 2013

    Hi!
    I've got a problem with my Lync 2013. In a meeting with a shared whiteboard, i can not see uploaded pictures. I can add a picture myself, and everyone in the meeting sees it except me. Same thing if another user is adding a picture, to me it's not visible.
    I can see text and drawings, but pictures does not work. 
    What can i do? Of course i've already tried rebooting and signing in and out numerous times.
    Kindest regards

    Hi,
    Did the issue happen internal or external?
    It may cause by the firewall of your computer, please try to disable the firewall of your computer and test again.
    you can also login Lync 2013 on other computer with your account to have a test.
    If the issue persists, please enable Lync logging on your Lync client for further troubleshooting.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • FMS / Whiteboard component troubles...

    All,
    I am following the tutorial on creating and connecting the
    Whiteboard component found at this location:
    http://www.adobe.com/devnet/flashcom/articles/whiteboard_2.html
    We've just purchased Media Server and I am tasked with
    getting the Whiteboard working...
    Light goes and stays green for successful connection, but the
    text tools do nothing at all and the line tools create only a
    temporary line while I am actively dragging, but when I release the
    mouse button there's nothing there...
    Any ideas?

    Oops again. I missed the errors thrown for the deprecated add
    operator. It
    seems to function but you get double lines in chat window.
    I went through these tutorials in the Flash MX 2004 docs and
    have since
    moved on to my own custom apps. I am surprised there is not a
    warning in the
    ReadMe.txt that was apparently updated 11/05 when you
    download the zip or
    its download page:
    http://www.macromedia.com/devnet/flashmediaserver/articles/components.html
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "Motion Maker" <[email protected]> wrote in
    message
    news:e29eco$po$[email protected]..
    I did forget to mention I used AS 1.0 for this one (oops) but
    still I
    published to Flash 8 player and it appears to work.
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "rachelhomer" <[email protected]> wrote in
    message
    news:e29dga$t6j$[email protected]..
    Thanks for the info. I actually figured this out late last
    night and forgot
    to
    post the answer.
    Like you said, if a user is not connected to the FCS server
    thru
    SimpleConnect
    or otherwise, the text field and button just do NOT show up
    on the chat
    component. So weird to me because you can see them on the
    stage and then
    you
    publish and they're gone! I was just trying to build the
    interface without
    worrying about hooking it up and I get nothing but trouble!!
    I originally thought it was an issue with software.
    Apparently the
    components
    were all built for MX and I'm on Flash 8. It turns out I also
    had to export
    using ActionScript 1 and Flash 6 just to get some of the
    components to not
    throw errors. So I wrongly assumed the disappearing had to do
    with
    component
    compatibility instead of a connectivity issue.
    Anyway, I hope this post eventually helps someone else. I
    had trouble
    finding
    info about this online!
    Thanks again for response.
    Rachel

  • Whiteboard lags on using tablet

    I bought a grafik tablet(uc-logic twh850) so that I can use whiteboard for math teaching.
    There are too many whiteboards avaliable that I can use my digital pen efficiently.
    But on Connect Pro there is a lagging problem it is very hard to write.
    I hope Adobe will fix this problem soon.

    The Object Selection / TouchUp tool does not select the whole paragraphe most of the time. So you end up with just the half equation or the an half sentence of the previous paragraphe.
    The graphic (snapshot??) way was doomed, because the result is no longer scalable probably. Maybe, there is something we do wrong.
    PDF editor:
    Well, it depends on how you look at it. He generates the PDFs, normally uses the PDFs himself and even to prepare just a new Latex document for each thing he want to copy from the PDF is quite too much work, one one hand in subjective view ==> because the text is "right there" and his Latex file can be big and complicated. Also, he sometimes cannot prepare a new document, because the focus shifts to a topic, which is not foreseen.
    I didn't expected the way Acrobat works in this respect myself, too.

  • Text options

    Hi all,
    i had a question regarding when writing something with the text option in photoshop, you then have the option of making it smooth, strong, sharp, crisp.
    What do these options do to the text? i cant really notice the difference, is there a recommended option for print or web that i should be using?

    Depends on a number of factors:
    how you want the type to look
    resolution
    file format (eg: gif or jpeg)
    Font attributes: weight, serif thickness, webfont
    so the answer would be very long. But thismakes an important differecne for low resoltuon digital graphics, and not so much for print.
    None - Applies no anti-aliasing
    Sharp - Type appears at its sharpest
    Crisp - Type appears somewhat sharp
    Strong - Type appears heavier
    Smooth - Type appears smoother

  • How Open And Print Proc C Genrated Text File Based Report ON Browser

    Dear Sir
    I have my old 6i forms from which i runs some Pro*c programmers with the help of HOST() command ,and then that generates a normal text file as a resultant report like file name "kha10"
    which i can easily open with any text client ,,,
    now what i want is that, to open this file on browser like web Report on my forms 10g like report builder 10g
    can anyone help me as it will be a gr8 help otherwise i would have to develop approx 100 reports.....
    any solution or any technique plzz help me

    bro my work is almost done apart from this virtual directory , how to make a virtual directory so that is dosent comes under
    http://........../form/
    i mean where to put my
    <virtual-directory virtual-path="/procrepo" real-path="c:\" />
    as my original file looks like bellow
    <?xml version="1.0"?>
    <!DOCTYPE orion-web-app PUBLIC "-//ORACLE//DTD OC4J Web Application 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-web-9_04.dtd">
    <orion-web-app
         deployment-version="10.1.2.0.2"
         jsp-cache-directory="./persistence"
         temporary-directory="./temp"
         servlet-webdir="/servlet/"
    >
    <context-param-mapping name="configFileName">D:\DevSuiteHome_1/forms/server/formsweb.cfg</context-param-mapping>
         <virtual-directory virtual-path="/html" real-path="D:\DevSuiteHome_1/tools/web/html" />
         <virtual-directory virtual-path="/java" real-path="D:\DevSuiteHome_1/forms/java" />
         <virtual-directory virtual-path="/webutil" real-path="D:\DevSuiteHome_1/forms/webutil" />
         <virtual-directory virtual-path="/jinitiator" real-path="D:\DevSuiteHome_1/jinit" />
         <session-tracking cookies="disabled" />
    <!-- Uncomment this element to control web application class loader behavior.
    <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
    -->
    <security-role-mapping name="administrators">
    </security-role-mapping>
    </orion-web-app>
    plzzzzzzzzzzz help

  • Automatic PO creation of free text PR

    Hi!
    We have all our PRs in free text since we are not yet using material master. One of our purchase organization will only order from one vendor and they will enter that vendor and price in the PR. Is it possible to create a PO automatically from that PR without a material or source list?
    Sincerely
    Anders

    Hi
    Thank you very much. Is it possible to restrict the automatic creation to a certain purchase organization?
    If I understand you right:
    1) Create PR with item category D Service
    2) Activate automatic PO creation in ML91
    That will create POs for all PRs created as a service?
    Sincerely
    Anders

  • IF Condition in RTF Help text

    Hi,
    I have RTF template which contains the field to display the column name. Below are my help text.
    COLUMN1 is my XML tag and displaying AQUA color in my excel output.
    <?COLUMN1?><xsl:attribute xdofo:ctx="block" name="background-color">Aqua</xsl:attribute>From above scenario, i need to add one more condition if there is no value in my XML tag then don't display the field in my excel output. For example. I have COLUMN1 and COLUMN2 XML Tag. Only COLUMN1 contains the value but COLUMN2 not. In my excel output the COLUMN2 value should not display.
    Thanks

    Please see if (How to make condition using XML tags to check NULL values in XML Publisher templates? [ID 414022.1]) helps.
    Also, see XML Publisher Guide which can be accessed via http://www.oracle.com/technetwork/documentation/applications-167706.html
    Thanks,
    Hussein

  • Text value is not getting displayed in Query designer !!

    Dear experts..,
    i have created a new query in query designer using my info provider and then selected one field in default value and then trying to restrict that particular field while selecting the restriction in query designer am getting the exact text value but after generating the report instead of text value , key value is getting displayed....so how can i get text instead of key value??
    please help me friends....
    i have posted in OSS mesage also...i got a reply like...even i didnt understand his reply too...what he is trying to say?
    whether can i get text display or not???
    can any one help me in this regard???
    SAP Reply----
    Hello kumar,
    After another analysis I have to inform you about general concept of
    "compounded characteristics".
    A compounded characteristic bounds two characteristics. The technical
    name is generated by both technical names of the two characteristics
    combined by two underlines "__".
    An individual text is only available for one single combination of both
    characteristics.
    Example:
    =======
    Compounded characteristic "Famous family name" is a combination of
    characteristic "COUNTRY" & "ETHNIC". Technical name: COUNTRY__ETHNIC
    Values for Country: USA, Australia
    Values for Ethnic: Asian, Latino
    Possible value combinations with individual text:
    USA & Asian; text: "Ling"
    USA & Latino; text: "Sanchez"
    Australia & Asian; text: "Chu"
    Australia & Latino; text: "Garcia"
    (Keep in mind the individual text only valid for the specific
    combination.)
    In analogy to the issue that you reported, you want to restrict this
    compounded characteristic. In the window where you select the restrictedvalue (called Selector) you'll see on the left hand side all available
    combinations of the characters with an individual text.
    You select family name "Chu" and drag'n'drop it to the right side.
    Actually you can only restrict the right compounded characteristic. In
    our example you would restrict on characteristic "ETHNIC" with value
    "Asian". (When you switch on technical names this comes more clear). Thetext "Chu" is displayed in the context of Selector because you selected
    value combination Australia & Asian. But in the end it's just a
    placeholder(!) for any combination of characteristic "ETHNIC" and value
    #Asian#; in our example it could be USA & Asian "Ling" or Australia &
    Asian "Chu").
    By leaving the Selector the individual text is gone because now the
    context is lost between the two characteristics. You have just a
    restriction on characteristic "ETHNIC" with value "Asian". An individualtext can't be displayed because the compounded characteristic is not
    specified for this restriction.
    You're right, it is confusing when "loosing" the text of a restriction.
    But accoring to the concepts of the compounded characteristics it
    is a correct behavior.

    Hi anandkumar,
    I belive this issue can be resolved by changing the  Query proprties for the perticular field.
    Kindly check the Field proerties in query designer and ensure that Text is enabled ather than Key.
    __Field property check up:__Go to query designer->click onn the field-> Right hand side in properties click on display tab-> select Text in drop down menu of Display as tab.
    FURTHER CHECK UP: check the master data avaiulability for the perticular info object, if masterdata is not available, do the text data for txt data availability in report level.
    Hope this helps you!!
    Best Regards,
    Maruthi

  • Which is best app to convert voice memos to text?

    There must be a way to import iPhone 5s voice memos, some 20 minutes long into editable text. Recommendations would be appreciated.

    SORRY! WHAT I MEANT TO ASK WAS "I WANT TO EXPORT  YOUTUBE & FACEBOOK VIDEOS TO ITUNES. WHAT IS THE BEST APP. TO USE TO CONVERT THESE VIDEOS INTO A FORMAT THAT IS ACCEPTABLE TO ITUNES. WHAT IS THE BEST FORMAT TO USE. THANK YOU

Maybe you are looking for

  • How do I install programs and files from my backup hard drive?

    I had my computer reset to original settings after I backed it up to an external hard drive and now I'm not sure how to reinstall everything from there.

  • Security of online payments

    Can I key in amounts from an on-screen keyboard when paying bills online to make the payment more secure? If so how, please? Janet

  • Windows Partition Problem.....

    As I am sure you all have seen this many times before....I've tried looking at other discussion threads to help solve my problem but they either didnt have the exact same problem or I couldnt fully understand the answers.  Myself, Im rather inexperie

  • Need a driver for HP DeskJet 812C to work with Mac OS X 10.8.5

    Our Mac (desktop) has OS X 10.8.5 - we would like to use a perfectly fine older printer (yes, it IS older - but cannot afford to replace it at this time).  I got so far with a download only to discover that it "no longer works with a Power PC" - isn'

  • B1160W Internal Error Code

    Every time I try to print something on the printer it prints a page that says this: INTERNAL ERROR - Including Corrupted Data POSITION: 0X3991  (14737) SYSTEM: h6fw_5.51/xl_image LINE: 380 VERSION: SPL 5.51 03-28-2011 I have uninstalled and reinstall