Barcode resizing

Hi experts ,
I have used standard barcode ARTNR in my form chnaging the width and hieght of it to get right size . It looks good when done printing test via se71->utilities->printing test .but when printed its still too big . I have never worked with barcode earlier , Any input will be great .
Thanks
Vinay

Hi Neil ,
I dint want the readable font below the barcode , I used a different system barcode which does not print readable font , with the resizing I The the functional team was okay with size . actually to change we have to go SPAD and chnage the prefix setting for the Device type in use .
Thanks A lot for you help
Just of curiosity,
Did you ever work for FMC AUS . I have seen same the name in thier programs .
Vinay

Similar Messages

  • SAP Script BARCODE resize

    Hi ,
    I am using the standard BArcode BC_EANH (EAN128) in an SAP script.
    am converting a string of 25 charaters to this format. But the printed barcode is too wide around 10.4 cm.
    Is there any way to reduce the width of the printed Barcode.? i.e to resize the width.
    I have tried the SE73 -> System barcodes option and reduced the width.. but still its the same.
    Regards,
    Mid.

    Hi
    Check this and also the Barcode printer
    Set the character format for that field that u have to print as barcode.
    for that create a new smartstyle and in that create a character format as barcode.
    SM73 ->system bar code ->Create new bar code format
    then go to smartstyles and use this barcode format for the character format.
    check this link for more info
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    <b><REMOVED BY MODERATOR></b>
    regards
    Anji
    Message was edited by:
            Alvaro Tejada Galindo

  • How do I implement barcode recognition or how is it done?

    Hi
    Having just posted this message in the cryptography forums, I thought this might be more appropriate here and I might get a few more repsonces. However, I do appologise if I have posted this in the wrong forum, as I am a little unsure where this really belongs.
    I am currently working on a software decoder that will be able to take images similar to barcodes and decode them. I already have the encoder working and I am able to create the encrypted image, but am struggling to create a reliable decoder that can analyse the image and decode it.
    The decoder I have at present works fine if the image being decoded is EXACTLY the same image produced from the encoder (i.e. image has not been altered e.g. stretched or resized), since my decoder knows where to find pixels, but if one pixel is off by so much as one pixel location then the program will fail to decode. As you can guess this method is far from elegant, so I really want to know if anyone has any ideas or experience on algorithms or anything I should be looking at to improve my decoder. I have searched the net and found a couple of programs that does image recognition, and can pick out barcode etc and decode them. The third link below is particularly good, as it shows the program is capable of decoding a photo of a barcode - it is able to pick out the barcode and then decode it.
    Here are screenshots from 2 applications.
    http://www.pdf417kit.com/screenshot.jpg
    http://www.intelcom.ru/img/example/prngrow2.bmp
    http://www.snapfish.co.uk/slideshow/AlbumID=19811658/PictureID=430558628/t_=20428522
    Here is an image of some encoded data generated by my encoder:
    http://www.snapfish.co.uk/slideshow/AlbumID=19811658/PictureID=430558627/t_=20428522
    Anyone have any tips as to how I can make my decoder more flexible?
    I don�t know much about the Java advanced imaging stuff, so some good online tutorials as to what I should need to know to do what I want to do would be good.
    Again sorry if I am not very clear with my problem, I will try to answer any questions you may have.
    Thanks

    Did you notice the difference between your image and theirs. Their image has a coordinate grid. This coordinate grid can be used to determine size, location of pixels, etc...
    If you add a grid, when you process the image, find the grid, then find the coordinate markings, then find the pixels in relation to these coordinate marking creating an internal buffer of the image.
    ie: have 0=white 1=black 2=grid 3=coordinate marking and make an internall representation of your image
    011002300000
    001002201000
    011102300010
    323232232323
    222222222222
    001002310000
    000102200100
    010002301000
    Just an idea, but look into the coordinate grid it may be the key to why they can process their image.
    DeltaCoder

  • Barcode in Reports 10g

    Hello!
    I use IDAutomationHC39M.ttf font to show barcode.
    Then i generate the rtf file in server and open it i see numbers instead of barcode.
    What can be a problem?

    Hello Dsegard,
    thanks again for your tip.
    I have managed to perform embeding.
    In the meanwhile i have also followed the paper in OTN, and create a java bean that displays image with the barcode.
    Both ways, i have one huge problem... i have 3 barcode readers (one is really good, other two are common ones), which DO not read the barcodes generated in my PDFs. Maybe i'm doing wrong (resizing font, picture that displays font etc.)?
    Can you please advise me regarding this issue?
    Thank you once again,
    Michael

  • Using Barcode in reports 10g

    Thank U for the .zip, I generated the barcode successfully. My code has 60 characters and the barcode reader doesn´t recognize it. I reduced the length of the it and the reader recognize it.
    I´m using BAR_CODE_128, I already tried with the rest of them, but they don´t work out.
    Please help!!!!

    Hello Dsegard,
    thanks again for your tip.
    I have managed to perform embeding.
    In the meanwhile i have also followed the paper in OTN, and create a java bean that displays image with the barcode.
    Both ways, i have one huge problem... i have 3 barcode readers (one is really good, other two are common ones), which DO not read the barcodes generated in my PDFs. Maybe i'm doing wrong (resizing font, picture that displays font etc.)?
    Can you please advise me regarding this issue?
    Thank you once again,
    Michael

  • Barcode 3 of 9 size

    I did a search on this, but need some more detail. I know there's no real way to resize these, but is there a way to overlay a label or something over top of the barcode to cut it in half (shorten the height)?
    Thanks in advance!

    I'm not sure I understand what you are objecting to because there are 4 different sizes available (large, medium, small, compressed). At least there is in version 5.6 of the software. The large is just under 5/8 inch high, medium is just over 3/8 inch, small is 5/16 inch and compressed is 1/4 inch. At least that is what my HP printer produces.
    Even though I don't understand the problem, I see two possibilities:
    1) Create a blank graphic and overlay the barcode. Whoops. I just tested this and the software puts the graphic behind the barcode. This results in not wiping out any of the barcode. That leaves you with one possibility.
    2) There are a number of "barcode.*" & "barcodex.*" files in the 'config' folder. They appear to correspond with the various presentment target printer types. These can all be editted with a text editor such as Notepad. If you locate the one for your printer you will find a "BarcodeHeight" parameter for the various barcodes. The values appear to be in 1/1000th of an inch (.250). Reducing the value should reduce the height. Once you have modified the barcode from the "standard" you need to check that whatever scanner is going to read it, can do so.

  • JDeveloper Team - How to print Barcodes from java application

    We are developing an Inventory based application in JDeveloper 3.2.2/Oracle 8i/Netscape Enterprice web server on Windows NT platform. The application is developed in swing technology.
    We have to print Barcodes on Intermec 3400/4100 or Zeebra Z4000 (connected to COM1/COM2) from our java application from one of our screens.
    Can you please point me to right place or get me sample source how to achieve this. We are working on a timebound deadline and we are really counting on your sincere response ASAP. Thanks in advance.
    VR
    null

    Try creating a page called launcher.html (for example). That does this:
    <html>
    <head>
    <script language="javascript">
    windowHandle=window.open("http://www.javasoft.com", "", "height=700,width=1000,status=no,scrollbars=yes,resizable=yes,toolbar=no,menubar=no,location=no,top=5,left=5");
    </script>
    </head>
    </html>Now you launch IE (or whatever) with this page using the Runtime class. After x seconds (after the second window has been launched) try killing the process. Hopefully it will kill the original window you opened and not the window you popup (the one without toolbars etc)
    It might kill both windows but I can't be bothered to test it. If it does you'll have to try and find a workaround.

  • How do I re-size and print a barcode in Adobe Illustrator?

    I know this is a very, very simple thing to do, however I have no experience in AI.  My barcode vendor generated barcode files that were in AI, so I have no choice but to work from them (I think.  I can choose from several file types but I chose jpeg and it generated the images in AI)  I need to re-size the barcode to fit a very small label: 1/2" X 3/4"- Avery 5418. 
    Please help.   Thanks

    Jane,
    You need to create vector artwork to create and adapt/resize/edit barcodes properly.
    You may have a look at the Illustrator forum where we have quite a few threads about different aspects of the subject.
    Illustrator
    You may type in barcode in the box called Type to filter by text and wait for the relevant ones to turn up. I have done it here:
    Illustrator
    This should show a number of threads, such as this one;
    I am having trouble with scaling strokes in Illustrator CC 2014.
    if you need help, I believe it is best to start a new one there.

  • Resizing using layout managers

    Hi,
    I have have a box layout and in the CENTER i have a card layout purely with buttons. The frame also has a menu bar.
    However, when i resize the window, the buttons do resize but the menu is now shown across the buttons and also in the correct place. When the window is resized, the text of the buttons looks all over the place.
    I don't have a repaint method. Do i need it to resolve this issue?

    I tried the repaint method. I noticed that when the window is fully resized, if i hover over the buttons, the menu bar is also shown inside the button text.
        public mainMenu() {
            try {
                jbInit();
                procAddActionListeners();
                this.show();
            } catch (Exception e) {
                e.printStackTrace();
        private void jbInit() throws Exception {
            this.getContentPane().setLayout(borderLayout2);
            this.setSize(new Dimension(700, 500));
            this.setTitle("Main Menu");
            this.setJMenuBar(mnuMain);
            lblTitle.setText("Please Select Your Option");
            lblTitle.setFont(new Font("Arial", 1, 20));
            lblTitle.setHorizontalAlignment(SwingConstants.CENTER);
            jLabel1.setSize(new Dimension(60, 448));
            jLabel1.setText("              ");
            jLabel2.setText("              ");
            mainPanel.setLayout(new GridLayout(6,1,20,20));
            lblTop = new JLabel();
            lblBottom = new JLabel();
            lblTop.setText("  ");
            lblBottom.setText("  ");
            mnuFile.setText("File");
            mnuEdit.setText("Edit");
            mnuView.setText("View");
            mnuMenu.setText("Menu");
            mnuSearch.setText("Search");
            mnuFileNew.setText("New");
            mnuFileSave.setText("Save");
            mnuFileSave.setToolTipText("null");
            mnuFileExport.setText("Export");
            mnuFilePrint.setText("Print");
            mnuFilePrintPreview.setText("Print Preview");
            mnuFileClose.setText("Close");
            mnuFileExit.setText("Exit");
            mnuEditUndo.setText("Undo");
            mnuEditRedo.setText("Redo");
            mnuEditCut.setText("Cut");
            mnuEditCopy.setText("Copy");
            mnuEditPaste.setText("Paste");
            mnuEditDelete.setText("Delete");
            mnuInsert.setText("Insert");
            mnuTools.setText("Tools");
            mnuToolsOptions.setText("Options");
            mnuSpecial.setText("Special");
            mnuHelp.setText("Help");
            mnuSearchMembership.setText("Membership");
            mnuSearchMember.setText("Member");
            mnuSearchStaff.setText("Staff");
            mnuSearchBarcode.setText("Barcode");
            mnuInsertNonpayer.setText("Non-Payer");
            mnuInsertRating.setText("Rating");
            mnuSpecialWebcam.setText("Webcam");
            mnuHelpAbout.setText("About");
            mnuHelpHelp.setText("Help");
            mnuViewToolbarChk.setText("Toolbar");
            mnuViewStatusbarChk.setText("Statusbar");
            btnMembership.setText("Memberships");
            btnMembers.setText("Members");
            btnEquipment.setText("Equipment");
            btnStaff.setText("Staff");
            mainPanel.add(lblTop);
            mainPanel.add(btnMembership);
            mainPanel.add(btnMembers);
            mainPanel.add(btnEquipment);
            mainPanel.add(btnStaff);
            mainPanel.add(lblBottom);
            this.getContentPane().add(lblTitle, BorderLayout.NORTH);
            this.getContentPane().add(mainPanel, BorderLayout.CENTER);
            this.getContentPane().add(jLabel1, BorderLayout.WEST);
            this.getContentPane().add(jLabel2, BorderLayout.EAST);
            mnuFile.add(mnuFileNew);
            mnuFile.addSeparator();
            mnuFile.add(mnuFileSave);
            mnuFile.addSeparator();
            mnuFile.add(mnuFileExport);
            mnuFile.addSeparator();
            mnuFile.add(mnuFilePrint);
            mnuFile.add(mnuFilePrintPreview);
            mnuFile.addSeparator();
            mnuFile.add(mnuFileClose);
            mnuFile.add(mnuFileExit);
            mnuMain.add(mnuFile);
            mnuEdit.add(mnuEditUndo);
            mnuEdit.add(mnuEditRedo);
            mnuEdit.addSeparator();
            mnuEdit.add(mnuEditCut);
            mnuEdit.add(mnuEditCopy);
            mnuEdit.add(mnuEditPaste);
            mnuEdit.addSeparator();
            mnuEdit.add(mnuEditDelete);
            mnuMain.add(mnuEdit);
            mnuView.add(mnuViewToolbarChk);
            mnuView.add(mnuViewStatusbarChk);
            mnuMain.add(mnuView);
            mnuMain.add(mnuMenu);
            mnuSearch.add(mnuSearchMembership);
            mnuSearch.add(mnuSearchMember);
            mnuSearch.addSeparator();
            mnuSearch.add(mnuSearchStaff);
            mnuSearch.addSeparator();
            mnuSearch.add(mnuSearchBarcode);
            mnuMain.add(mnuSearch);
            mnuInsert.add(mnuInsertNonpayer);
            mnuInsert.addSeparator();
            mnuInsert.add(mnuInsertRating);
            mnuMain.add(mnuInsert);
            mnuTools.add(mnuToolsOptions);
            mnuMain.add(mnuTools);
            mnuSpecial.add(mnuSpecialWebcam);
            mnuMain.add(mnuSpecial);
            mnuHelp.add(mnuHelpAbout);
            mnuHelp.addSeparator();
            mnuHelp.add(mnuHelpHelp);
            mnuMain.add(mnuHelp);
        private void procAddActionListeners(){
          //  this.addWindowListener();
            btnMembership.addActionListener(this);
            btnMembers.addActionListener(this);
            btnEquipment.addActionListener(this);
            btnStaff.addActionListener(this);
        public void actionPerformed (ActionEvent e){
            String s = e.getActionCommand();
       public static void main(String [] args) {
            JFrame mainMenu = new mainMenu();
        public void repaint(){
            try {
                jbInit();
            } catch (Exception e) {
                e.printStackTrace();
    Any ideas?

  • How is barcode recognition done?

    Hi
    Sorry if I have posted this in the wrong forum, as I am a little unsure where this really belongs.
    I am currently working on a software decoder that will be able to take images similar to barcodes and decode them. I already have the encoder working and I am able to create the encrypted image, but am strugling to create a reliable decoder that can analyse an the image and decode it.
    The decoder I have at present works fine if the image being decoded is EXACTLY the same image produced from the encoder (i.e. image has not been altered e.g. stretched or resized), since my decoder knows where to find pixels, but if one pixel is off by so much as one pixel location then the program will fail to decode. As you can gess this method is far from elegant, so I am really wanting to know if anyone has any ideas or experience on algorithms or anything I should be looking at to improve my decoder. I have searched the net and found a couple of programs that does image recognition, and can pick out barcode etc and decode them. The third link below is particularly good, as it shows the program is capable of decoding a photo of a barcode - it is able to pick out the barcode and then decode it.
    Here are screenshots from 2 applications.
    http://www.pdf417kit.com/screenshot.jpg
    http://www.intelcom.ru/img/example/prngrow2.bmp
    http://www.snapfish.co.uk/slideshow/AlbumID=19811658/PictureID=430558628/t_=20428522
    Here is an image of some encoded data generated by my encoder:
    http://www.snapfish.co.uk/slideshow/AlbumID=19811658/PictureID=430558627/t_=20428522
    Anyone have any tips as to how I can make my decoder more flexible?
    I dont know much about the Java advanced imaging stuff, so some good online tutorials as to what I should need to know to do what I want to do would be good.
    again sorry if I am not very clear with my problem, I will try to answer any questions you may have.
    thanks

    What's a bar code? It's a rectangular striped area. So you can defocus your picture, locate a small rectangular, gray area, and you have located the bar code.
    You can try finding the small rectangle, correct scale and orientation, make its contrast better (to have a image in white and black) and draw some lines in the bar code (like a laser scanner) trying to find a pattern with stripes.
    When you find a rectangular striped area, you can try interpreting the stripes using all algorithms that your program is able to handle. When you read something that makes sense (for instance, several of the bar codes have error detection and correction codes), you have the correct bar code.

  • Barcode C128 is not getting displayed in Sapscript

    HI,
    I need to print the barcode in the Sapscript.
    The barcode is not getting displayed even in the preview also, when I give the Barcode C128.
    But when I give other Barcodes, it is getting displayed in the preview.
    Can anyone let me know the solution to print the barcode for C128, as others are not that much fit to print.
    Thanks
    Rakesh

    Hi Dieter,
    No. I haven't.
    Is this the reason for that?
    let me know the procedure.
    thanks
    Rakesh

  • Resized animated gif ImageIcon not working properly with JButton etc.

    The problem is that when I resize an ImageIcon representing an animated gif and place it on a Jbutton, JToggelButton or JLabel, in some cases the image does not show or does not animate. More precicely, depending on the specific image file, the image shows always, most of the time or sometimes. Images which are susceptible to not showing often do not animate when showing. Moving over or clicking with the mouse on the AbstractButton instance while the frame is supposed to updated causes the image to disappear (even when viewing the non-animating image that sometimes appears). No errors are thrown.
    Here some example code: (compiled with Java 6.0 compliance)
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Test
         public static void main(String[] args)
              new Test();
         static final int  IMAGES        = 3;
         JButton[]           buttons       = new JButton[IMAGES];
         JButton             toggleButton  = new JButton("Toggle scaling");
         boolean            doScale       = true;
         public Test()
              JFrame f = new JFrame();
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JPanel p = new JPanel(new GridLayout(1, IMAGES));
              for (int i = 0; i < IMAGES; i++)
                   p.add(this.buttons[i] = new JButton());
              f.add(p, BorderLayout.CENTER);
              f.add(this.toggleButton, BorderLayout.SOUTH);
              this.toggleButton.addActionListener(new ActionListener() {
                   @Override
                   public void actionPerformed(ActionEvent e)
                        Test.this.refresh();
              f.setSize(600, 300);
              f.setVisible(true);
              this.refresh();
         public void refresh()
              this.doScale = !this.doScale;
              for (int i = 0; i < IMAGES; i++)
                   ImageIcon image = new ImageIcon(i + ".gif");
                   if (this.doScale)
                        image = new ImageIcon(image.getImage().getScaledInstance(180, 180, Image.SCALE_AREA_AVERAGING));
                   image.setImageObserver(this.buttons);
                   this.buttons[i].setIcon(image);
                   this.buttons[i].setSelectedIcon(image);
                   this.buttons[i].setDisabledIcon(image);
                   this.buttons[i].setDisabledSelectedIcon(image);
                   this.buttons[i].setRolloverIcon(image);
                   this.buttons[i].setRolloverSelectedIcon(image);
                   this.buttons[i].setPressedIcon(image);
    Download the gif images here:
    http://djmadz.com/zombie/0.gif
    http://djmadz.com/zombie/1.gif
    http://djmadz.com/zombie/2.gif
    When you press the "Toggle scaling"button it switches between unresized (properly working) and resized instances of three of my gif images. Notice that the left image almost never appears, the middle image always, and the right image most of the time. The right image seems to (almost) never animate. When you click on the left image (when visble) it disappears only when the backend is updating the animation (between those two frames with a long delay)
    Why are the original ImageIcon and the resized ImageIcon behaving differently? Are they differently organized internally?
    Is there any chance my way of resizing might be wrong?

    It does work, however I refuse to use SCALE_REPLICATE for my application because resizing images is butt ugly, whether scaling up or down. Could there be a clue in the rescaling implementations, which I can override?
    Maybe is there a way that I can check if an image is a multi-frame animation and set the scaling algorithm accordingly?
    Message was edited by:
    Zom-B

  • Barcode report is not working in linux

    hi,
    i am running the report using the barcode, which is running perfectly in the windows server - i meant in the report builder.
    but when i try run the same report in linux server through application, i am getting the below mentioned error:
    Terminated with error:
    REP-1401: 'beforereport': Fatal PL/SQL error occurred. ORA-39565: Message 39565 not found; product=RDBMS; facility=ORA
    below mentioned is the code written in beforereport trigger:
    globals.barcode_to_use := BarCodeConstants.BAR_CODE_128;
    globals.bcobj := barcodemaker.new();
    i have include the jar file path /ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar both in class path and report_path, but still its not working.
    any one had solve this issue?...pls help me out
    for you info:
    CLASSPATH=/ora/u01/oracle/v101/ds1/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/ora/u01/oracle/v101/ds1/jlib/repository.jar:/ora/u01/oracle/v101/ds1/jlib/ldapjclnt10.jar:/ora/u01/oracle/v101/ds1/jlib/debugger.jar:/ora/u01/oracle/v101/ds1/jlib/ewt3.jar:/ora/u01/oracle/v101/ds1/jlib/share.jar:/ora/u01/oracle/v101/ds1/jlib/utj.jar:/ora/u01/oracle/v101/ds1/jlib/zrclient.jar:/ora/u01/oracle/v101/ds1/reports/jlib/rwrun.jar:/ora/u01/oracle/v101/ds1/forms/java/frmwebutil.jar:/ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar
    RW=$ORACLE_HOME/reports; export RW
    REPORTS_PATH=$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo:$ORACLE_HOME/reports/integ:$ORACLE_HOME/reports/printers:${REPORTS_PATH}; export REPORTS_PATH
    REPORTS_TMP=/tmp; export REPORTS_TMP
    REPORTS_NO_DUMMY_PRINTER=TRUE; export REPORTS_NO_DUMMY_PRINTER
    REPORTS_TAGLIB_URI=/WEB-INF/lib/reports_tld.jar; export REPORTS_TAGLIB_URI
    REPORTS_CLASSPATH=$ORACLE_HOME/reports/jlib/rwbuilder.jar:$ORACLE_HOME/reports/jlib/rwrun.jar:$ORACLE_HOME/jlib/zrclient.jar:$ORACLE_HOME/j2ee/home/oc4j.jar:$ORACLE_HOME/j2ee/home/lib/ojsp.jar:$ORACLE_HOME/reports/jlib/oraclebarcode.jar; export REPORTS_CLASSPATH
    repserver.conf file setting:
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000" jvmOptions="-Xms512m -Xmx512m" classPath="/ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar">
    <property name="sourceDir" value="/ora/u02/oraadmin/config/as2/app_qits_run"/>
    <property name="tempDir" value="/ora/u02/oraadmin/config/as2/app_qits_tmp"/>
    </engine>
    <engine id="rwURLEng" class="oracle.reports.urlengine.URLEngineImpl" initEngine="1" maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="60000" classPath="/ora/u01/oracle/v101/ds1/reports/jlib/oraclebarcode.jar"/>
    thanks
    renjish

    Hello,
    The first step if to find the PL/SQL line causing the error in 'cf_1formula':
    create a procedure Trace in your Reports : (modify the line trace_file := Text_IO.Fopen('d:\temp\rep_trace.txt', 'A'); to adapt the filename to your system)
    PROCEDURE Trace (trace_string in varchar2) IS
    trace_file Text_IO.File_Type;
    BEGIN
    trace_file := Text_IO.Fopen('d:\temp\rep_trace.txt', 'A');
    Text_IO.Put_Line(trace_file, trace_string);
    Text_IO.Fclose (trace_file);
    END;
    Then, add some calls to this procedure in the program unit 'cf_1formula'
    trace('Before line 1';
    <PL/SQL code of line 1>
    trace('Before line 2';
    <PL/SQL code of line 2>
    trace('Before line 3';
    <PL/SQL code of line 3>
    Excecute the Reports and find in the file 'd:\temp\rep_trace.txt' the last line executed.
    Regards

  • How can I get just the text to resize, rather than the entire web page?

    I used to be able to re-size just text on a webpage by typing Ctrl + +. Today, the entire webpage re-sizes, and when I move to another page it reverts. (I see this mostly in Facebook.). Why did this change, and can I go back to having just the text re-size?

    ''How can I get just the text to resize -- zoom text only''
    steps
    #"Alt" if no menu bar, then
    # View > Zoom > Zoom Text Only
    Zoom text of web pages - MozillaZine Knowledge Base
    :http://kb.mozillazine.org/Zoom_text_of_web_pages
    <br><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small>

  • How can I implement a status bar at the bottom of a resizable application?

    Hello all,
    I am a JavaFx newbie and I am implementing an application (a Sokoban game), with a menu at the top of the frame and a gaming area covering the rest of the frame. To support the game, I have to load images at certain positions in the gaming area.
    The game also includes a level editor with another menubar and where images are set to other positions.
    I implemented this in another view, swiching from the game mode to the level editor mode and vice versa is just done by setting the other view visible. Up to now this works, here the important statements building these details:
    Group root = new Group();
    gameView = new Group(); // for gaming mode
    le_view = new Group()   // for level editor mode
    MenuBar gameMenubar = new MenuBar();
    Menu menuGame = new Menu(bundle.getString("MenuGame"));
    ... building the menu items and menues ...
    gameView.getChildren().add(gameMenubar);
    ImageView buildingView[][] = new ImageView[22][22];
    for (nCol = 0; nCol < 22; nCol++) {
        for (nRow = 0; nRow < 22; nRow++) {
            buildingView[nCol][nRow] = new ImageView();
            buildingView[nCol][nRow].setX(nCol * 26 + 5);
            buildingView[nCol][nRow].setY(nRow * 26 + 40);
            gameView.getChildren().add(buildingView[nCol][nRow]);
    gameView.setVisible(true);
    root.getChildren().add(gameView);
    ... same stuff to build the le_view ...
    le_View.setVisible(false);
    root.getChildren().add(le_View);
    Scene scene = new Scene(root, 800, 600, Color.CORNSILK); Now I want to introduce a status bar at the bottom of the frame, which of course has to follow the bottom of the frame, if it is resized. And of course the menu and the status bar should not grow vertically, if the height of the frame is increased.
    The implementation seems to be easy with StackPane for the frame and one BorderPane for each mode.
    For the first step I only tried implementing the game mode with only one BorderPane (just setting the menu, the gaming area and the status bar each into a HBox and setting these three HBoxes at the top, into the center and at the bottom). I also tried this via GridPane and via VBox; I always get any erroneous behaviour:
    Either the menubar is visible, but the menus do not pop up the menu items, or the anchor point of the menu and of gaming area are set 100 pixels left of the left frame border and move into the frame when the frame width is increased, or the menu is set 20 pixels below the top of the frame, or HBox with the menu grows when the frame height is increased, so that the anchor point of the gaming area moves down.
    Can you describe me a correct construction of such a frame? Thanks in advance.
    Best regards
    Gerhard

    Hello Gerhard,
    Glad the code helped, thanks for a fun layout exercise.
    For the draft code I just pulled an icon off the internet over a http connection.
    If you haven't done so already place any icons and graphics you need local to your project, so that resource lookups like:
    Image img = new Image("http://www.julepstudios.com/images/close-icon.png");become
    Image img = new Image("close-icon.png");then performance may improve.
    Another possible reason for your performance problem could be that when you use a vbox, the vbox content can overflow the area of the borderpane center and might be sitting on top of the menu pane, making you unable to click the menu (which is what happens to me when I try that with the draft program with the vbox wrapping mod, then resize the scene to make it smaller). This was a trick which caught me and the reason that I used a Group originally rather than a vbox. I found a vbox still works but you need to tweak things a bit. The trick I saw was that the order in which you add stuff to the borderpane is important. The borderpane acts like a stack where the last thing added floats over the top of everything else if you size the scene small enough. For your project you want the menu on top always, so it always needs to be the last thing added to the borderpane, but when you swap in the level pane for the game pane, then back out again, the game pane can end up on top of the menu which makes the menu seem like you can't click it (only when the scene is sized small enough). It was quite a subtle bug which took me a little while to work out what was happening. For me the solution was to add just one vbox to the center of the border, and then swap the game pane and the level editor in and out of the vbox, that way the center of the layout always stayed behind the menu bar and the status bar.
    I added some revisions to reflect the comments above and placed some comments in the code to note what was changed and why.
    public class SampleGameLayoutRevised extends Application {
      public static void main(String[] args) { Application.launch(args); }
      public void start(Stage stage) throws Exception {
        final BorderPane gameLayout = new BorderPane();
        final Group gameView = new Group();
        final MenuBar gameMenubar = new MenuBar();
        final Menu gameMenu = new Menu("Mode");
        final VBox centerView = new VBox();
        centerView.setStyle("-fx-background-color: darkgreen");  // we set a background color on the center view to check if it overwrites the game menu.
        MenuItem playGameMenu = new MenuItem("Play Game");
        MenuItem levelEditMenu = new MenuItem("Edit Levels");
        gameMenu.getItems().add(playGameMenu);
        gameMenu.getItems().add(levelEditMenu);
        gameMenubar.getMenus().add(gameMenu);
        final StackPane levelEditView = new StackPane();
        levelEditView.getChildren().add(new Text("Level Editor"));
        ImageView buildingView[][] = new ImageView[22][22];
        Image img = new Image("http://www.julepstudios.com/images/close-icon.png");  // use of http here is just for example, instead use an image resource from your project files.
        for (int nCol = 0; nCol < 22; nCol++) {
          for (int nRow = 0; nRow < 22; nRow++) {
            ImageView imgView = new ImageView(img);
            imgView.setScaleX(0.5);
            imgView.setScaleY(0.5);
            buildingView[nCol][nRow] = imgView;
            buildingView[nCol][nRow].setX(nCol * 20 + 5);
            buildingView[nCol][nRow].setY(nRow * 20 + 40);
            gameView.getChildren().add(buildingView[nCol][nRow]);
        final VBox statusBar = new VBox();
        final Text statusText = new Text("Playing Game");
        statusBar.getChildren().add(statusText);
        statusBar.setStyle("-fx-background-color: cornsilk"); // we set a background color on the status bar,
                                                              // because we can't rely on the scene background color
                                                              // because, if the scene is sized small, the status bar will start to overlay the game view
                                                              // and if we don't explicitly set the statusBar background the center view will start
                                                              // to bleed through the transparent background of the statusBar.
        gameLayout.setCenter(centerView); // we add the centerview first and we never change it, instead we put it's changeable contents in a vbox and change out the vbox content.
        gameLayout.setBottom(statusBar);
        gameLayout.setTop(gameMenubar);   // note the game layout is the last thing added to the borderpane so it will always stay on top if the border pane is resized.
        playGameMenu.setOnAction(new EventHandler<ActionEvent>() {
          public void handle(ActionEvent event) {
            centerView.getChildren().clear();  // here we perform a centerview vbox content swap.
            centerView.getChildren().add(gameView);
            statusText.setText("Playing Game");
        levelEditMenu.setOnAction(new EventHandler<ActionEvent>() {
          public void handle(ActionEvent event) {
            centerView.getChildren().clear();  // here we perform a centerview vbox content swap.
            centerView.getChildren().add(levelEditView);
            statusText.setText("Editing Level");
        playGameMenu.fire();
        Scene scene = new Scene(gameLayout, 800, 600, Color.CORNSILK);
        stage.setScene(scene);
        stage.show();
    }Other than that I am not sure of a reason for the slowdown you are seeing. In my experience JavaFX has been quick and responsive for the tasks I have been using it for. Admittedly, I just use if for a bunch of small trial projects, but I've never seen it unresponsive for a minute.
    - John

Maybe you are looking for