IMPORTANT!! JLabel+HTML

Hello.
i use some JLabel to display HTML text. but, how can i justify a text in a JLabel with HTML????
i tried "<html><p align="justify">test test test</p></html>" "<html><p style="text-align=justify>test test</p></html>" and many over possibility (with or without quote mark...), and no one works!:-/
help me pleaze. thanks.
PS : sorry for my bad english.!:-/

Hiii,
Just try with the following code
Change align=left or right as u need to note the difference
import javax.swing.*;
import java.awt.*;
class TestScreen1 extends JFrame
     JLabel llog;
     Container c;
     public TestScreen1()
          super("Entry Screen");
          c=getContentPane();
          c.setLayout(null);
          llog = new JLabel("<html><p align=\"right\">test <br> temp rigt<br> test</p></html>");
          llog.setBounds(10,10,250,90);
          c.add(llog);
          setBounds(240,190,310,250);
          setVisible(true);
     public static void main(String args[])
          final JFrame f=new TestScreen1();
          f.addWindowListener(new WindowAdapter()
          public void windowClosing(WindowEvent e)
               System.exit(0);
Karthik

Similar Messages

  • JLabel/html question

    how do you make a tab in html within a JLabel text.
    also how do you get rid of the bold that seems to be on every J label?

    Thanks Kel, I'm not using metal, but maybe that third line should do what I want?
    and Quack, I do whole heartedly agree with you, but this is something that I HAVE to finish by tomorrow. Considering I had quite a good bit more to do, and the way that I have done it seems to work just fine, I decided to leave it as is. If I finish with enough time, I will likely go back and implement that cardLayout like you suggested.
    Although I am curious, what is wrong specifically with how I have done it? (As for how the GUI components are changed)
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.text.*;
    import java.util.*;
    public class Holder extends JFrame implements ActionListener
        static Scanner scan;
        static int returnFileVal;
        static int index;
        static int totalEmployees;
        static double grossPayCalc;
        static double totalGross;
        static double totalFICA;
        static double totalFED;
        static double totalInsur;
        static double totalNet;
        static String data;
        static String totals;
        static File file;
        static ArrayList TermCode = new ArrayList();
        static ArrayList EmpID = new ArrayList();
        static ArrayList FName = new ArrayList();
        static ArrayList MName = new ArrayList();
        static ArrayList LName = new ArrayList();
        static ArrayList Suffix = new ArrayList();
        static ArrayList HourRT = new ArrayList();
        static ArrayList HourWK = new ArrayList();
        static ArrayList Dep = new ArrayList();
        static ArrayList Insur = new ArrayList();
        static ArrayList YTDGR = new ArrayList();
        static ArrayList YTDFICA = new ArrayList();
        static ArrayList YTDFED = new ArrayList();
        static ArrayList grossPay = new ArrayList();
        static ArrayList FICA = new ArrayList();
        static ArrayList FED = new ArrayList();
        static ArrayList netPay = new ArrayList();
        static ArrayList dataList = new ArrayList();
        static Holder f;
        static Container c;
        static JPanel homePanel = new JPanel();
        static JPanel firstRow = new JPanel();
        static JPanel secondRow = new JPanel();
        static JPanel thirdRow = new JPanel();
        static JPanel fourthRow = new JPanel();
        static JPanel fifthRow = new JPanel();
        static JPanel sixthRow = new JPanel();
        static JPanel seventhRow = new JPanel();
        static JPanel eighthRow = new JPanel();
        static JPanel ninthRow = new JPanel();
        static JLabel hoursWorkedLabel = new JLabel("Default hours worked:");
        static JTextField hoursWorkedField = new JTextField("40",2);
        static JButton processButton = new JButton ("Process payroll for all non-terminated employees");  
        static JButton closeButton = new JButton ("End Program");
        static JLabel chooseFileLabel = new JLabel("Select the payroll file");
        static JFileChooser fc = new JFileChooser();
        static JPanel filePanel = new JPanel();
        static JTextField fileChooseField = new JTextField(25);
        static JButton fileChooseButton = new JButton("Find");
        static JButton fileOKButton = new JButton("Process");
        static JButton fileBackButton = new JButton ("Back");
        static JPanel processPanel = new JPanel();
        static JLabel pleaseSelectLabel = new JLabel("Please select an option.");
        static JButton payrollJournalButton = new JButton("View the payroll journal");
        static JButton checkButton = new JButton ("View the checks");
        static JButton checkStubButton = new JButton ("View the check stubs");
        static JLabel payrollJournalTitle = new JLabel("<html><b><u>Payroll Journal</u></b></html>");
        static JButton payrollBack = new JButton("Back");
        static JPanel payrollPanel = new JPanel();
        static JList payrollList = new JList();
        static JLabel payrollEmployeeData = new JLabel();
        static JLabel payrollSubtitles = new JLabel ("EmpID\t\tName\t\tGross Pay\t\tFICA\t\tFED\t\tInsur\t\tNet Pay");
        static JLabel payrollTotals = new JLabel();
        static JScrollPane payrollScroll = new JScrollPane();
        public static void main(String[] args)
            f = new Holder();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setSize(450,300);
            f.setTitle("Payroll");
            f.setResizable(false);
            f.setLocation(200,200);
            f.setVisible(true);
            createHome();
        public Holder()
            c = getContentPane();
        public void actionPerformed(ActionEvent e)
        public static void createHome()
            firstRow.removeAll();
            secondRow.removeAll();
            thirdRow.removeAll();
            homePanel.removeAll();
            homePanel.setLayout(new GridLayout(3,1));
            FlowLayout rowSetup = new FlowLayout(FlowLayout.CENTER);
                firstRow.setLayout(rowSetup);
                secondRow.setLayout(rowSetup);
                thirdRow.setLayout(rowSetup);
            firstRow.add(hoursWorkedLabel);
            firstRow.add(hoursWorkedField);
            secondRow.add(processButton);
            thirdRow.add(closeButton);
            homePanel.add(firstRow);
            homePanel.add(secondRow);
            homePanel.add(thirdRow);
            closeButton.addActionListener(new endProgram());
            processButton.addActionListener(new processPayroll());
            c.remove(filePanel);
            c.add(homePanel);
            c.validate();
            c.repaint();
        public static void createPayroll()
            filePanel.removeAll();
            filePanel.setLayout(new GridLayout(3,1));
            FlowLayout rowSetup = new FlowLayout(FlowLayout.CENTER);
                firstRow.setLayout(rowSetup);
                secondRow.setLayout(rowSetup);
            firstRow.removeAll();
            secondRow.removeAll();
            thirdRow.removeAll();
            fileChooseButton.addActionListener(new fileChooser());
            fileBackButton.addActionListener(new fileBack());
            fileOKButton.addActionListener(new processFinal());
            firstRow.add(chooseFileLabel);
            secondRow.add(fileChooseField);
            secondRow.add(fileChooseButton);
            thirdRow.add(fileBackButton);
            thirdRow.add(fileOKButton);
            filePanel.add(firstRow);
            filePanel.add(secondRow);
            filePanel.add(thirdRow);
            c.remove(homePanel);
            c.add(filePanel);
            c.validate();
            c.repaint();
        public static void processFinal()
            try
                scan = new Scanner(new BufferedReader(new FileReader(file)));
            catch(IOException io)
                System.out.println("The file cannot be opened");
            scan.useDelimiter(",");
            index = 1;
            totalEmployees = 0;
           while (scan.hasNext())
               int type = index%13;
               switch (type)
                    case 1: TermCode.add(scan.next());
                            totalEmployees++;
                            break;
                    case 2: EmpID.add(new Integer(scan.next()));
                            break;
                    case 3: FName.add(scan.next());
                            break;
                    case 4: MName.add(scan.next());
                            break;
                    case 5: LName.add(scan.next());
                            break;
                    case 6: Suffix.add(scan.next());
                            break;
                    case 7: HourRT.add(new Double(scan.next()));
                            break;
                    case 8: HourWK.add(new Integer(scan.next()));
                            break;
                    case 9: Dep.add(new Integer(scan.next()));
                            break;
                    case 10:Insur.add(new Double(scan.next()));
                            break;
                    case 11:YTDGR.add(new Double(scan.next()));
                            break;
                    case 12:YTDFICA.add(new Double(scan.next()));
                            break;
                    case 0: YTDFED.add(new Double(scan.next()));
                            break;
                index++;
            for (index = 0; index < totalEmployees; index++)
                if ((Integer)HourWK.get(index) > 40)
                    grossPayCalc = (((Integer)HourWK.get(index)-40)*(Double)HourRT.get(index)*1.5);
                    grossPayCalc += (40*(Double)HourRT.get(index));
                else
                    grossPayCalc = ((Integer)HourWK.get(index)*(Double)HourRT.get(index));
                grossPay.add(grossPayCalc);
                FICA.add((Double)grossPay.get(index)*.0765);
                FED.add((290-65*(Integer)Dep.get(index))*.15);
                netPay.add((Double)grossPay.get(index)-((Double)FICA.get(index)+(Double)FED.get(index)+(Double)Insur.get(index)));
            firstRow.removeAll();
            secondRow.removeAll();
            thirdRow.removeAll();
            c.remove(filePanel);
            processPanel.setLayout(new GridLayout(4,1));
            FlowLayout rowSetup = new FlowLayout(FlowLayout.CENTER);
                firstRow.setLayout(rowSetup);
                secondRow.setLayout(rowSetup);
                thirdRow.setLayout(rowSetup);
                fourthRow.setLayout(rowSetup);
            firstRow.add(pleaseSelectLabel);
            secondRow.add(payrollJournalButton);
            thirdRow.add(checkButton);
            fourthRow.add(checkStubButton);
            payrollJournalButton.addActionListener(new viewJournal());
            processPanel.add(firstRow);
            processPanel.add(secondRow);
            processPanel.add(thirdRow);
            processPanel.add(fourthRow);
            c.add(processPanel);
            c.validate();
            c.repaint();
        public static void createFileChooser    ()
            returnFileVal = fc.showOpenDialog(filePanel);
            if (returnFileVal == JFileChooser.APPROVE_OPTION)
                file = fc.getSelectedFile();
            fileChooseField.setText(file.toString());
        public static void createJournal()
            f.setSize(700,500);
            firstRow.removeAll();
            secondRow.removeAll();
            thirdRow.removeAll();
            fourthRow.removeAll();
            c.remove(processPanel);
            payrollPanel.setLayout(new GridLayout(9,1));
            FlowLayout rowSetup = new FlowLayout(FlowLayout.CENTER);
                firstRow.setLayout(rowSetup);
                secondRow.setLayout(rowSetup);
                thirdRow.setLayout(rowSetup);
                fourthRow.setLayout(rowSetup);
                fifthRow.setLayout(rowSetup);
                sixthRow.setLayout(rowSetup);
                seventhRow.setLayout(rowSetup);
                eighthRow.setLayout(rowSetup);
                ninthRow.setLayout(rowSetup);
           data = new String("<html>");
           for (index = 0; index < totalEmployees; index++)
               data += (Integer)EmpID.get(index);
               data += "\t\t";
               data += ((String)FName.get(index) + " ");
               if (((String)MName.get(index)).equals(" ")==false)
                   data += ((String)MName.get(index) + ". ");
               data += ((String)LName.get(index) + " ");
               data += (String)Suffix.get(index);
               data += "\t\t";
               data += (Double)grossPay.get(index);
               data += "\t\t";
               data += (Double)FICA.get(index);
               data += "\t\t";
               data += (Double)FED.get(index);
               data += "\t\t";
               data += (Double)Insur.get(index);
               data += "\t\t";
               data += (Double)netPay.get(index);
               data += "</br>";
           data += "</html>";
           for (index = 0; index < totalEmployees; index++)
               totalGross += (Double)grossPay.get(index);
               totalFICA += (Double)FICA.get(index);
               totalFED += (Double)FED.get(index);
               totalInsur += (Double)Insur.get(index);
               totalNet += (Double)netPay.get(index);
           totals = new String ("Final Totals\t\t\t\t" + totalGross + "\t\t" + totalFICA + "\t\t" + totalFED + "\t\t" + totalInsur + "\t\t" + totalNet);
           payrollTotals.setText(totals);
           payrollEmployeeData.setText(data);
           firstRow.add(payrollBack);
           payrollBack.addActionListener(new processPayroll());
           secondRow.add(payrollJournalTitle);
           fourthRow.add(payrollSubtitles);
           fifthRow.add(payrollEmployeeData);
           eighthRow.add(payrollTotals);
           payrollPanel.add(firstRow);
           payrollPanel.add(secondRow);
           payrollPanel.add(thirdRow);
           payrollPanel.add(fourthRow);
           payrollPanel.add(fifthRow);
           payrollPanel.add(sixthRow);
           payrollPanel.add(seventhRow);
           payrollPanel.add(eighthRow);
           payrollPanel.add(ninthRow);
            c.add(payrollPanel);
            c.validate();
            c.repaint();
    class endProgram implements ActionListener
        public endProgram()
        public void actionPerformed(ActionEvent e)
            int answer = JOptionPane.showConfirmDialog(null,"Are you sure you want to end the program","f",JOptionPane.YES_NO_OPTION);
            if (answer == JOptionPane.YES_OPTION)
            System.exit(0);
    class processPayroll implements ActionListener
        public processPayroll()
        public void actionPerformed(ActionEvent e)
            Holder.createPayroll();
    class fileChooser implements ActionListener
        public fileChooser()
        public void actionPerformed(ActionEvent e)
            Holder.createFileChooser();
    class fileBack implements ActionListener
        public fileBack()
        public void actionPerformed(ActionEvent e)
            Holder.createHome();
    class processFinal implements ActionListener
        public processFinal()
        public void actionPerformed(ActionEvent e)
            Holder.processFinal();
    class viewJournal implements ActionListener
        public viewJournal()
        public void actionPerformed(ActionEvent e)
            Holder.createJournal();

  • [JLabel] HTML + Font

    Hi,
    I have a JLabel in which I use HTML to color my text (the color is not the same for all the text)?
    ex :
    JLabel label = new JLabel("<html><body>font color='blue'>hi</font> to <font color='red'>you</font></body></html>);
    Then, I set a customized font that I load dynamically:
    InputStream inputFont = this.getClass().getResourceAsStream("my_font.ttf");
    Font font = Font.createFont(Font.TRUETYPE_FONT, inputFont);
    MY_FONT = font.deriveFont(24f);
    label.setFont(MY_FONT);
    *My problem is:*
    When I do that, the font is not applied (problably because of HTML font tags). I just see for a moment my font with the HTML tags, and when the HTML is parsed, the default font comes back. I've tried to change <font> by <span>, it does just the same)
    When I remove HTML tags from my JLabel, like new JLabel("plop") and apply my customized font, I have no problem and my font is applied (but I don't have the colors that I want).
    Problem is I want both of it! My customized font AND colors.
    Do you know how to do that?
    I hope I made myself clear,
    Thanks :)

    I've been playing with this a bit more with very peculiar results.
    Run the code. Without resizing the window, scroll down. Many fonts (Symbol, Wingdings ...) are rendered as square boxes in the right (non-html) list but the font names are readable in the left (html) list.
    Now maximize the window and look again. What's going on here?import java.awt.*;
    import javax.swing.*;
    public class FontHtmlProblem {
       public static void main(String[] args) {
          SwingUtilities.invokeLater(new Runnable() {
             @Override
             public void run() {
                new FontHtmlProblem().makeUI();
       public void makeUI() {
          GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
          Font[] fonts = ge.getAllFonts();
          JList listHtml = new JList(fonts);
          listHtml.setCellRenderer(new DefaultListCellRenderer() {
             @Override
             public Component getListCellRendererComponent(JList list,
                   Object value, int index,
                   boolean isSelected, boolean cellHasFocus) {
                Font thisFont = (Font) value;
                setFont(thisFont.deriveFont(16f));
                setText("<html><body>" + thisFont.getName() + "</body></html>");
                return this;
          JScrollPane scrollHtml = new JScrollPane(listHtml);
          scrollHtml.setColumnHeaderView(new JLabel("HTML"));
          JList listPlain = new JList(fonts);
          listPlain.setCellRenderer(new DefaultListCellRenderer() {
             @Override
             public Component getListCellRendererComponent(JList list,
                   Object value, int index,
                   boolean isSelected, boolean cellHasFocus) {
                Font thisFont = (Font) value;
                setFont(thisFont.deriveFont(16f));
                setText(thisFont.getName());
                return this;
          JScrollPane scrollPlain = new JScrollPane(listPlain,
                JScrollPane.VERTICAL_SCROLLBAR_NEVER,
                JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
          scrollPlain.setColumnHeaderView(new JLabel("Plain"));
          scrollPlain.getVerticalScrollBar().
                setModel(scrollHtml.getVerticalScrollBar().getModel());
          scrollPlain.removeMouseWheelListener(
                scrollPlain.getMouseWheelListeners()[0]);
          scrollPlain.addMouseWheelListener(
                scrollHtml.getMouseWheelListeners()[0]);
          JFrame frame = new JFrame();
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.setLayout(new GridLayout(1, 2));
          frame.add(scrollHtml);
          frame.add(scrollPlain);
          frame.pack();
          frame.setLocationRelativeTo(null);
          frame.setVisible(true);
    }db

  • My imported backup html files from another computer do not show up after import

    I am currently transferring files from my macbook pro to a pc netbook. I already exported my firefox bookmarks via an external drive and accessed the html file on my new netbook. After importing the html on firefox on my new netbook, the bookmarks do not show up on my bookmark list.

    Please see this article on how to move your bookmarks and settings from one computer to another: [[Moving your Firefox bookmarks and settings]].
    Caution: Restoring bookmarks from a backup will overwrite your current set of bookmarks with the ones in the backup file.

  • Can't import/open HTML files in Fireworks CS4

    I'm trying to import/open HTML files into Fireworks CS4 to do some redesigning. I inherited the job of redoing my companies website and we believe the person who created our website created the site using Dreamweaver 8. Unfortunatley that person moved on to a new job across the country and we can't ask him exactly how he created our website.
    When I try to open some of the HTML files in FW I get the message: "Could not open the file....Fireworks could not find an HTML table in this file". Next I tried creating a new, very simple HTML page in Dreamweaver CS4 that contains just a few lines of text and 1graphic (we just bought the CS4 web suite). Again, I get the same error.
    Other files give me a slightly different error message when trying to open them in FW, "The HTML document contains one or more images with absolute web addresses for the source. Fireworks cannot handle these images. --click OK-- (next error message) Could not open the file. Fireworks has encountered a problem with the HTML in this table. Verify that the HTML is valid"... and then it closes and nothing loads into FW. Bummer.
    I've searched on these forums and can't find any solutions to this problem although I found a few people experiencing the same problem.
    Do I need to do something to the Dreamweaver created HTML's to get them to open in FW? Any help would be appreciated.

    Fireworks is a graphics editor that can export code; it is not an HTML/code editor.
    If you have exported HTML from Fireworks, you ought to be able to re-import that, but I would think most people who use Fireworks exported code would just modify their Fireworks document and re-export. (Fireworks' code is not robust and it is only intended for mockups and prototypes. Fireworks is not intended for developing and maintaining live Web sites; Dreamweaver is.)
    If your developer used Dreamweaver, then I really don't expect that Fireworks would be able to import that, nor any code that isn't in exactly the format that it can export. If you know your developer used Fireworks, then you need to look for .png files. Fireworks uses an enhanced version of the PNG format for its native document format.
    If you are making small adjustments to your site, then you might be better off working in Dreamweaver. If you're doing a site re-design, then Fireworks is an excellent tool for laying out your design and producing your graphics, but you will, at some point, need to move over to Dreamweaver for coding.

  • Upgrading to V4 has lost all of my Bookmarks, I still have the restore files in my profile data but they will not load, I have tried importing the html backup file too but it didn't work either. How can I get them back?

    Upgrading to V4 has lost all of my Bookmarks, I still have the restore files in my profile data but they will not load, I have tried importing the html backup file too but it didn't work either. How can I get them back?

    Ok this is bizzare!
    Thank you for your response, I went throught each and every step without any luck, even got the recovery programme, and painstakingly tried to sift through all that mumbojumbo to find what i needed. finally found the bookmark bit, but it had been fully overwritten :(, so on reading about previous ff versions, found the sqlite thingys, and they were relatively unscathed(partly written over, but saveable apparently TG), saved them to adiff drive, amongst other possibly good folders. Then looked up how to install them, and it said to close FF, and install to profile folder.
    So i tried to close FF, and the original problem from a few days ago, where it asked me if 'i was sure i wanted to close this window as it has X tabs open', popped up again. This is where 'open blank page' selection was set, over 'open previous tabs'. Wanting to save that info on how to sort out these friggin files, I reset the Option to 'open previous tabs', and closed FF. After unsucessfully searching for the profile folder on my laptop, i opened FF intending to search online for where i could find said folder.
    AND BANG, surprise surprise, the FF I had just closed with only tabs open about finding out what the heck to do, had disappeared, and instead my original saved tabs were up, and my bookmarks are there..... I am gobsmacked! what the heck just happened there???
    I have made 3 back up in different folders now, of those friggin bookmarks. I am weary now tho of shutting it all down.... what if its back to the other pages I had with no bookmarks, tomorrow :(

  • How setup browser laces import Bookmarks HTML security disable button open Device Manager security warni vewing mixed

    how to alter these settings?
    1.browser laces import Bookmarks HTML?
    2.security disable button open Device Manager?
    3.security warni vewing mixed?

    We didn't get a reply from you.  I just wanted to try and follow up before I close this out. 
    I'd like to know if the issue went away, and/or if you could confirm whether it's Firefox specific or happening in all browsers.

  • Firefox 4 has no "Organize Bookmarks" option to import Chrome html bookmarks. How?

    Can't import Chrome html bookmarks because the
    "bookmark menu at the top" has no "Organize Bookmarks"
    option. How can I import the Chrome bookmarks?

    the-edmeister: How on earth can "Organize Bookmarks" be misleading! When that is the main reason any one clicked on that button? If I wanted to "organize" my bookmarks, I chose "Organize Bookmarks" went in there and organized them and then closed the window. How can "Show All Bookmarks be more correct?
    If you think "Show all Bookmarks" is more correct, then what is the purpose of showing all the bookmarks, what do you do once you can see them? Scroll through and check out what bookmarks you have? The main reason to go in there is to organize your bookmarks! That's why once you are in there you have the menu buttons like "organize", "Import and Export" "sort" etc.
    "Show All Bookmarks" is just simply dumb. Why don't they change "Options" to "Show lots of stuff", that would be just as meaningless and unhelpful.

  • Error at import oracle.html.*

    i have installed oas,and am able to create PL/SQL applications.but when ti comes to jweb cartridge i am unable to compile as i get an error of import oracle.html.*.
    kindly help how do i write program for creating jweb application .
    pl. help
    thankyou

    Hello Venkat,
    After running  Report SMIGR_CREATE_DDL you have to  copy the results in either install dir of your target server or in case of oracle it should be copied to export_dump/DB/ORA.
    Make sure you have done this.
    It is also recommended that you should run this report just before starting the export.
    First it looks for .SQL files (generated by the report), if it doesnt find then it takes from the standard .tsk file.
    Probable reasons:-
    1)  Report not run before export
    2) Did not put the files generated in the location mentioned by me.
    Thanks,
    Vishal

  • Issues "Importing Fireworks HTML"...

    Howdy!
    I am creating a website in Dreamweaver CS3, and I am currently having some issues importing Fireworks HTML.
    Here's some background information with my project...
    I began with creating an HTML template in dreamweaver. I then created a Fireworks project with an Image Swap and a drop down menu. I then exported the Fireworks project into HTML (which I used the "Use CSS for Popup Menus" option in the export options). After I use the "Import Fireworks HTML" on my Dreamweaver template in Dreamweaver CS3, the popup menus from the fireworks HTML is placed in very odd positions on the template.
    Here are a few pictures to show you what I mean:
    This is the exported Fireworks HTML all by itself, in the correct positioning...
    This is what it looks like after I use the "Import Fireworks HTML" option in Dreamweaver...
    Anyway, in the second picture you can see that I have multiple icons, and these icons also have Fireworks-created popup menus. When I import these separate Fireworks-HTML-created icons individually, it is a non-issue.
    Is there a workaround for this issue? Or is this the first time anybody has seen this??
    Any answers would be greatly appreciated!
    Thanks all!!

    Which FW? Which DW?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "tommytheduke22" <[email protected]> wrote
    in message
    news:e190ft$j4c$[email protected]..
    > When I'm trying to import my Fireworks image/html into
    Dreamweaver I'm
    > getting
    > an erroro code (The correct file os not the correct
    format. Please select
    > an
    > HTML file which was exported from Fireworks).
    >
    > The problem is I AM exporting it from Fireworks. I
    created a Nav Bar in
    > fireworks, then exported the HTML and Images. Then in
    Dreamweaver I
    > clicked on
    > the insert fireworks HTML. The selected the file!
    >
    > WHAT IS UP!!!
    >

  • Any way to trim off .url from bookmark name import from html?

    just import bookmark.html from IE, and notice that all bookmark show as XXXXX.url?
    why? checked bookmark.html from IE, no .url there.
    any way to trim off '.url'?
    please advise.

    I don't know why that happened, but you could try the workaround in this earlier thread: [https://support.mozilla.org/en-US/questions/934874?esab=a&s=bookmarks+import+%22.url%22&r=0&as=s bookmark names have ".url" character string appended to all names].

  • How does one import an html template into Adobe Muse?

    I have downloaded several templates advertised as Muse templates but they all appear to be html5 templates. Can one import them into Adobe Muse?

    You can't import an HTML template. You need the original .muse file. If they are Muse templates you would have gotten them as a .muse file.

  • Import external HTML contents to JSP

    Hi,
    Anybody knows if the WLW has a JSP tag that can be used to import external HTML
    contents to my current JSPs? Something similar to JSTL import.
    Thanks
    Qiu

    Qiu--
    WLW doesn't have one specifically.
    You can certainly use that tag from the Jakarta standard tags 1.0 implementation of JSTL -- this
    version does not require JSP 2.0 and can run on a 2.3 Servlet container.
    Hope that helps...
    Eddie
    Shiye Qiu wrote:
    Hi,
    Anybody knows if the WLW has a JSP tag that can be used to import external HTML
    contents to my current JSPs? Something similar to JSTL import.
    Thanks
    Qiu

  • Importing/adding html files with bookmarks to project/TOC

    Overview:
    I've been importing some old html files that have a massive number of bookmarks/anchors in them (few hundred html 'pages' some of them mini help document libraries) in an effort to move the manuals into RH format. Using RH11
    Problem:
    when I import them all the bookmarks are showing up under each topic page. Second, when I add a folder into the TOC or auto generate a TOC it pulls each bookmark as a page (see screen shot). Any way I can get around this issue? I can manually add (drag/drop) the 'updates' page here into the TOC and it doesn't pull the bookmarks as pages. However i'm interested in knowing if I can simply not import the bookmarks or exclude them from populating as pages in the TOC. This seems to be new to RH11 (i've used RH9 without this issue in the past, on a similar project).
    System;
    RH11
    Office 2013
    SharePoint 2010
    Thanks

    Hi there
    Note that when you choose to auto-generate a TOC, you have a choice as to whether to create links to bookmarks. Look at the dialog below:
    My guess is that in the older version this option wasn't enabled when you auto created a TOC and you really didn't pay attention to the way it was set in the new version.
    Cheers... Rick

  • How can I import bookmark HTML records directly into pre-defined (but empty) Folders?

    Firefox is my default browser. I am in the process of replacing an old computer with a new one. I've converted into HTML files the Bookmark content of all of the Folders appearing within the Bookmarks section of Firefox on my old computer. I then uploaded this into the cloud, and downloaded it to my new computer. I've loaded Firefox afresh on the new computer. Now . . .
    Ideally, I would like to be able to import these saved/HTML bookmarks (now on my new computer) directly into the new Firefox, keeping the Folder structure maintained in saving them from the old computer; less ideally, but still acceptable, would be to simply re-create as empty Folders each Folder from the old computer's Firefox setup and then do a 'Select All' copy/paste from each of these Folders as saved in my downloaded HTML bookmarks into these initially empty Folders created in the new computer's Firefox Bookmarks section. Is either of these currently possible? In short, this is a quite distinct scenario from importing bookmarks from other browsers on the same computer.
    I have tried, but it seems that neither of these functions is currently viable. As common as replacing one computer with another is, I find this a pretty significant oversight which will require a very time consuming conversion process if such functions are not currently available; i.e., I'll have to open each saved HTML Folder and manually activate each individual html bookmark, go to that website, and individually re-bookmark each of these one by one within the Bookmarks section of Firefox on my new computer as if I were bookmarking this site for the very first time. With hundreds and hundreds of bookmarks segregated into about 30 Folders, I think you can see what a productivity drain this will be.
    While there appear to be some quite interesting and potentially useful FireFox Addons - e.g., Categorize - none of these seems to address/resolve this problem. Can you advise? Thank you.

    To start out with, Firefox hasn't used the HTML format for storing bookmarks for a few years now; you can still import and export bookmarks in HTML format, as you can with just about any other browser out there as an interchange format. Firefox 3.0+ versions use an SQLite database for storing bookmarks and browsing history in the place.sqlite file. Firefox 3.0+ versions do automatic backups of your bookmarks in the JSON format; that file includes "Tags" data but not the web site Favicon data. Restoring a backup from an old PC to the new PC is how Mozilla handles replacing an old computer - or you can "backup" the entire old Profile and transfer that data to the new PC manually. A user could also use Firefox Sync to "sync" their personal data onto the new PC. IMO, you're over-thinking this using dated information (talking about HTML files) without knowing about what options you currently have with Firefox and Mozilla.
    Is that a genuine Netscape-1 bookmarks.html file? ''Look at the first line of code in that HTML file to see.'' <br />
    Or is it a standard HTML file?
    If you have a genuine bookmarks.html file, you can '''Import''' that file thru Organize Bookmarks > Import and Backup > Import HTML... > From an HTML file.
    Doing it that way you will be appending the bookmarks & folders that are in the '''Bookmarks Menu''' folder right now. The ordering of the folders and bookmarks in the "imported" file is identical, the "imported" data is added below the existing data. That said, the '''''Bookmarks Toolbar''''' folder and the '''''Unsorted Bookmarks''''' folder from the "imported" data will be in the Bookmarks Menu folder at the bottom; you'll have to move the bookmarks that are in that folder to their respective folders, above and below the Bookmarks Menu folder.

Maybe you are looking for

  • Cant Delete Jar in Apache Jserv? Why???

    Hi all Can any one tell me why i cant delete my jar file in Apache Jserv, servlets folder. It says access denied. I stopped apache server and then tried to delete it. But no use. Help me in this matter. One more problem i am getting is my jar file is

  • OAM - Authorization based on the authentication method

    We are using OAM 10g for a customer to protect a large number of web application. In order to access those applications a user can chose from several authentication methods (e.g. client certificate, SecureId and mobile TAN). All applications use the

  • Question on creating users and icloud

    I have noticed that my Macbook Pro will create its own user.  I immediately deleted this user since I didn't create it and thought it was taken care of.  Well, I turned on my computer again today and the user was created again, without my consent.  M

  • Looking for a PDF printing macro

    I'm looking to make adobe automatically print a file then shut itself off when ever a pdf is opened. has anyone ever scripted a macro like this?

  • Transparency image causing fuzzy/dark text

    When sometimes adding a .png or .gif image with transparency to a page, my text in the PDF becomes darker - almost like it's doubling up. Delete the image, and all is well. The odd thing is that this is only happening on certain pages.  If I remove s