GridBagLayout and Panel Border problem

I have 3 panels like
A
B
C
and the C panel has a Mouse Listener that on a mouseEntered creates a border around the same panel and on a mouseExited clears that border.
When this border is created the A and B panels go up a little bit .. they move alone when the border is created.
Is there any way to fix this problem? Is there any way to get the panels static?
the code is close to the following:
import java.awt.*;
import javax.swing.*;
import java.awt.event.MouseListener;
import java.awt.event.MouseEvent;
import javax.swing.BorderFactory;
import javax.swing.border.Border;
import javax.swing.border.TitledBorder;
import java.awt.event.*;
import java.text.NumberFormat;
public class Game extends JFrame implements MouseListener
JPanel game, options, top, down, middle;
NumberFormat nf;
public Game() {
super("Game");
nf = NumberFormat.getPercentInstance();
nf.setMaximumFractionDigits(1);
JPanel center = new JPanel(new GridBagLayout());
GridBagConstraints gbc = new GridBagConstraints();
gbc.fill = gbc.BOTH;
gbc.weighty = 1.0;
gbc.weightx = 0.8;
center.add(getGamePanel(), gbc);
gbc.weightx = 0.104;
center.add(getOptionsPanel(), gbc);
Container cp = getContentPane();
// use the JFrame default BorderLayout
cp.add(center); // default center section
this.setDefaultCloseOperation(EXIT_ON_CLOSE);
this.setSize(700,600);
// this.setResizable(false);
setLocationRelativeTo(null);
setVisible(true);
addComponentListener(new ComponentAdapter()
public void componentResized(ComponentEvent e)
showSizeInfo();
showSizeInfo();
private void showSizeInfo()
Dimension d = getContentPane().getSize();
double totalWidth = game.getWidth() + options.getWidth();
double gamePercent = game.getWidth() / totalWidth;
double optionsPercent = options.getWidth() / totalWidth;
double totalHeight = top.getHeight() + middle.getHeight() + down.getHeight();
double topPercent = top.getHeight() / totalHeight;
double middlePercent = middle.getHeight() / totalHeight;
double downPercent = down.getHeight() / totalHeight;
System.out.println("content size = " + d.width + ", " + d.height + "\n" +
"game width = " + nf.format(gamePercent) + "\n" +
"options width = " + nf.format(optionsPercent) + "\n" +
"top height = " + nf.format(topPercent) + "\n" +
"middle height = " + nf.format(middlePercent) + "\n" +
"down height = " + nf.format(downPercent) + "\n");
private JPanel getGamePanel()
// init components
top = new JPanel(new BorderLayout());
top.setBackground(Color.red);
top.add(new JLabel("top panel", JLabel.CENTER));
middle = new JPanel(new BorderLayout());
middle.setBackground(Color.green.darker());
middle.add(new JLabel("middle panel", JLabel.CENTER));
down = new JPanel(new BorderLayout());
down.setBackground(Color.blue);
down.add(new JLabel("down panel", JLabel.CENTER));
// layout game panel
game = new JPanel(new GridBagLayout());
GridBagConstraints gbc = new GridBagConstraints();
gbc.weightx = 1.0;
gbc.fill = gbc.BOTH;
gbc.gridwidth = gbc.REMAINDER;
gbc.weighty = 0.2;
game.add(top, gbc);
gbc.weighty = 0.425;
game.add(middle, gbc);
gbc.weighty = 0.2;
game.add(down, gbc);
down.addMouseListener(this);
return game;
private JPanel getOptionsPanel()
options = new JPanel(new BorderLayout());
options.setBackground(Color.pink);
options.add(new JLabel("options panel", JLabel.CENTER));
return options;
// mouse listener events
     public void mouseClicked( MouseEvent e ) {
System.out.println("pressed");
     public void mousePressed( MouseEvent e ) {
     public void mouseReleased( MouseEvent e ) {
     public void mouseEntered( MouseEvent e ) {
Border redline = BorderFactory.createLineBorder(Color.red);
JPanel x = (JPanel) e.getSource();
x.setBorder(redline);
     public void mouseExited( MouseEvent e ){
JPanel x = (JPanel) e.getSource();
x.setBorder(null);
public static void main(String[] args ) {
Game exe = new Game();
exe.show();
}

import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;
import java.awt.event.*;
import java.text.NumberFormat;
public class Game extends JFrame implements MouseListener{
  JPanel game, options, top, down, middle;
  NumberFormat nf;
  public Game() {
    super("Game");
    nf = NumberFormat.getPercentInstance();
    nf.setMaximumFractionDigits(1);
    JPanel center = new JPanel(new GridBagLayout());
    GridBagConstraints gbc = new GridBagConstraints();
    gbc.fill = gbc.BOTH;
    gbc.weighty = 1.0;
    gbc.weightx = 0.8;
    center.add(getGamePanel(), gbc);
    gbc.weightx = 0.104;
    center.add(getOptionsPanel(), gbc);
    Container cp = getContentPane();
    // use the JFrame default BorderLayout
    cp.add(center); // default center section
    this.setDefaultCloseOperation(EXIT_ON_CLOSE);
    this.setSize(700,600);
    // this.setResizable(false);
    setLocationRelativeTo(null);
    setVisible(true);
    addComponentListener(new ComponentAdapter(){
        public void componentResized(ComponentEvent e){
        showSizeInfo();
    showSizeInfo();
  private void showSizeInfo(){
    Dimension d = getContentPane().getSize();
    double totalWidth = game.getWidth() + options.getWidth();
    double gamePercent = game.getWidth() / totalWidth;
    double optionsPercent = options.getWidth() / totalWidth;
    double totalHeight = top.getHeight() + middle.getHeight() + down.getHeight();
    double topPercent = top.getHeight() / totalHeight;
    double middlePercent = middle.getHeight() / totalHeight;
    double downPercent = down.getHeight() / totalHeight;
    System.out.println("content size = " + d.width + ", " + d.height + "\n" +
        "game width = " + nf.format(gamePercent) + "\n" +
        "options width = " + nf.format(optionsPercent) + "\n" +
        "top height = " + nf.format(topPercent) + "\n" +
        "middle height = " + nf.format(middlePercent) + "\n" +
        "down height = " + nf.format(downPercent) + "\n");
  private JPanel getGamePanel(){
    // init components
    top = new JPanel(new BorderLayout());
    top.setBackground(Color.red);
    top.add(new JLabel("top panel", JLabel.CENTER));
    middle = new JPanel(new BorderLayout());
    middle.setBackground(Color.green.darker());
    middle.add(new JLabel("middle panel", JLabel.CENTER));
    down = new JPanel(new BorderLayout());
    down.setBackground(Color.blue);
    down.add(new JLabel("down panel", JLabel.CENTER));
    // layout game panel
    game = new JPanel(new GridBagLayout());
    GridBagConstraints gbc = new GridBagConstraints();
    gbc.weightx = 1.0;
    gbc.fill = gbc.BOTH;
    gbc.gridwidth = gbc.REMAINDER;
    gbc.weighty = 0.2;
    game.add(top, gbc);
    gbc.weighty = 0.425;
    game.add(middle, gbc);
    gbc.weighty = 0.2;
    game.add(down, gbc);
    down.addMouseListener(this);
    return game;
  private JPanel getOptionsPanel(){
    options = new JPanel(new BorderLayout());
    options.setBackground(Color.pink);
    options.add(new JLabel("options panel", JLabel.CENTER));
    return options;
  public void mouseClicked( MouseEvent e ) {
    System.out.println("pressed");
  public void mousePressed( MouseEvent e ) {
  public void mouseReleased( MouseEvent e ) {
  public void mouseEntered( MouseEvent e ) {
    Border redline = new CalmLineBorder(Color.red);
    JPanel x = (JPanel) e.getSource();
    x.setBorder(redline);
  public void mouseExited( MouseEvent e ){
    JPanel x = (JPanel) e.getSource();
    x.setBorder(null);
  public static void main(String[] args ) {
    Game exe = new Game();
    exe.setVisible(true);
class CalmLineBorder extends LineBorder{
  public CalmLineBorder(Color c){
    super(c);
  public CalmLineBorder(Color c, int thick){
    super(c, thick);
  public CalmLineBorder(Color c, int thick, boolean round){
    super(c, thick, round);
  public Insets getBorderInsets(Component comp){
    return new Insets(0, 0, 0, 0);
}

Similar Messages

  • SWF Export, no font showing in Acrobat and zoom border problem (Acrobat & Reader) - Indesign CS6

    Hi Everyone,
    If anyone could help me on this that would be great, I've spent hours on the forums and manuals to no avail.
    I'm making an interactive PDF brochure in Indesign for one of our new products and I'm having issues (actual or perceived??!!) with the SWF export and PDF creation.  I'm placing animations and video in the INDD, exporting it as an SWF (with the text option as Flash Classic Text) and then opening the SWF (not importing to a word doc or anything, just opening the SWF) with Acrobat using the advanced options to import the video resources and to enable the content when the page is opened.  I then save the file as a PDF.  In the PDF everything works as it should, the animations, the buttons, the video plays and so on.  Great.. hmm not quite.
    The trouble I am having is that all the content of the SWF when viewed in Acrobat seems to be getting rasterised/flattened - is this correct?  After the SWF is opened, Acrobat indicates no fonts in the fonts tab in the document properties so when the SWF is zoomed in Acrobat, or the saved PDF in Reader, the font gets pixelated and the document is not searchable/text can not be highlighted.  The images are not selectable either - it is as if the entire page has been flattened to one image.  Is there a way to stop this so that the SWF opened with Acrobat retains the font and individual images like a normal PDF?  Do I have to open the SWF in Flash first to set some parameters or something?  Is there something I am doing wrong when exprting the SWF from Indesign?  I think I have tried about every possible export combination.  When I open the .HMTL (exported at the same time as the SWF from Indesign) in a browser, the same happens.  All the animations work but the text appears to be rasterised/flattened/not searchable.  Sorry if I'm not using the correct terminology.
    I have tried importing the SWF back into another new INDD and exporting that as an interactive PDF but then the video does not work.  I suppose I could try exporting all the individual animations as SWFs, importing them all and trying to get them to work with the video but I can see that will take quite some time and does not seem to be a guaranteed solution from what I have read on the forums - video playback being the issue.
    Another problem is that when the SWF, or saved PDF, is zoomed in Acrobat/Reader between approx 150% and 210% a thick white border appears in the document and the content is squashed into the middle creating a slightly pixelated and narrow page.  When I zoom out from the page I get a small white line on the right hand border at around 70% zoom.  Please see images.  Does anyone have any idea why this is happening and what I can do to fix it?
    On another, sort of related topic, my timing panel went blank yesterday and was not showing any animations in documents that it had been used to order and synch animations on page load as well as new documents.  The panel was blank.  I updated to V8.0.1 and the panel sprang back into life - hope that helps anyone else finding the same problem.
    I am not very familiar with Indesign/Acrobat/Flash so I guess all the above could be what I'm doing or I could be asking  really dumb questions - apologies from a newbie.
    Best,
    Emily

    Hi All,
    I have now pretty much solved all the issues by creating the SWF in Flash rather than Indesign.  I would advise anyone looking to create an interative PDF with animation and interactivity to go with Flash from the start.  While Flash is a little more involved to create the same effects as Indesign, the extra time taken will ensure a more controllable and better looking PDF in terms of text quality, scalability and so on.  Plus you will not spend days trying to get video to work along side imported SWF etc in Indesign.  One of the best controls in Flash is being able to set the stage.scaleMode for the document so the PDF still looks crisp when zooming, no white borders etc.  So, create the .fla, export to .SWF, open the .SWF with Acrobat, modify the advanced settings to enable start on page load and save as a PDF.  If you don't know Flash, I didn't a couple of days ago, watch a couple of tutorials on Youtube.. buttons, tweens, embedding video and you'll be ready.  Don't be put off by ActionScript, there are really handy Code Snippets in CS6 that do all the heavy lifting for you.
    Sorry Indesign!
    Best,
    Em

  • Catalyst+awesome35 panel refresh problem

    Hello,
    met anyone problems with this combination and panel update problem?
    I tried catalyst stable and beta from arch wiki, and awesome 3.5.1 and 3.5.2 ... And I have problem that, when I switch to any nonempty tag, then my upper panel(tasklist,taglist) will not be refreshed(re-render,update ....). There are still old applications visible. I must take some action, for example focus window, or when CPU widget refresh, then it will be fine and right tag/task list appears.
    I tried:
    catalyst 13.4   13.11
    awesome 3.5.1   3.5.2
    X 1.13   1.14
    In all combinations I have this problem.
    I tried
    awesome 3.4, with this version all is OK, but I dont want learn deprecated configuration.
    I tried
    open source vga drivers, with this driver all is OK. But it consumes much more power.
    Thanks for help.
    Last edited by kubco2 (2013-10-14 09:19:51)

    Not sure if it could help but I had a problem in awesome 3.5.1 (and wasn't present in 3.4). And I think the problem you describe is the same I had.
    In /etc/X11/xorg.conf put this
    Section "Extensions"
    Option "Composite" "Disable"
    EndSection

  • Problem with menu and panel

    hi,
    i m new to java still learning new concepts. When i was working with menu and panel i got this problem and i tried a lot but still i havn't got any success. the problem is i m creating a menu with two menuitem - one for "add item" and another for "modify item". What i want to do that on the same frame i want to create two panel of these two item. when i click "add item" option it should show add window and so with modify option. but the problem is if i click add item it shows the addpanel but when i click modify option (add item panel goes- ok ..) but it doesn't show the modify panel, it shows only the main frame on which menu is there.
    i cannot understant what is happing here plz guide me.
    thanx

    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    import javax.swing.*;
    public class ajitAutomobile extends JFrame implements ActionListener
         JMenuBar mb;
         JMenu jobmenu;
         JMenuItem newJobCard,modifyJobCard;
         Font ft;
         JPanel pnlnewJobCard,pnlmodifyJobCard;
         Container con;
         ajitAutomobile()
         ft=new Font("Arial",0,12);
         mb=new JMenuBar();
         setJMenuBar(mb);
         jobmenu=new JMenu(" Job Card Form");
         mb.add(jobmenu).setFont(ft);
         newJobCard=new JMenuItem("New Job Card Detail");
         modifyJobCard=new JMenuItem("Modify Job Card Detail");
         jobmenu.add(newJobCard).setFont(ft);     
         jobmenu.add(modifyJobCard).setFont(ft);     
         mb.add(requisition).setFont(ft);
         con=getContentPane();
         // setting panel for new JOb Card Entry
         pnlnewJobCard=new JPanel();
         pnlmodifyJobCard=new JPanel();
         con.add(pnlmodifyJobCard);
         con.add(pnlnewJobCard);
         pnlnewJobCard.setBackground(Color.RED);     
         pnlnewJobCard.setVisible(false);
         pnlmodifyJobCard.setBackground(Color.YELLOW);
         pnlmodifyJobCard.setVisible(false);
         //setting JFrame resources
         setVisible(true);
         setTitle("Ajit Automobile Service Center");
         setSize(750,300);
         setResizable(false);
         newJobCard.addActionListener(this);
         modifyJobCard.addActionListener(this);
         public void actionPerformed(ActionEvent ae)
              if (ae.getSource()==newJobCard)
                   pnlnewJobCard.setVisible(true);
                                                                    pnlmodifyJobCard.setVisible(false);
              if(ae.getSource()==modifyJobCard)
                                                                             pnlnewJobCard.setVisible(false);
                                                                    pnlmodifyJobCard.setVisible(true);
         public static void main(String args[])
         ajitAutomobile objajit=new ajitAutomobile();
         objajit.show();
    }so, this is the code and as i m expecting that when i click on "New Job Card Detail" then it should display pnlnewJobCard and when i will click "Modify Job Card Detail" it should display pnlmodifyJobCard panel but it is not working.It shows only that panel which is clicked first.
    plz help
    thnx, any answer will be appriciated.

  • Problem. Alla my tools and panels are hidden, can´t find them. Have try Windows menyer....... and checked. all is ok.

    Problem. Alla my tools and panels are hidden, can´t find them. Have try Windows>menyer....... and checked. all is ok.

    Press the Tab key, it shows/hides panels.
    Or Window > Workspace > Reset  or use a different workspace.
    Gene

  • Tabbed Panels border bug IE7?

    If I insert the default Tabbed Panel widget and use this css
    code (which is the default with the borders changed to black to
    show the problem):
    @charset "UTF-8";
    /* SpryTabbedPanels.css - version 0.4 - Spry Pre-Release 1.6
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights
    reserved. */
    /* Horizontal Tabbed Panels*/
    .TabbedPanels {
    margin: 0px;
    padding: 0px;
    float: left;
    clear: none;
    width: 100%; /* IE Hack to force proper layout when preceded
    by a paragraph. (hasLayout Bug)*/
    .TabbedPanelsTabGroup {
    margin: 0px;
    padding: 0px;
    .TabbedPanelsTab {
    position: relative;
    top: 1px;
    float: left;
    padding: 4px 10px;
    margin: 0px 1px 0px 0px;
    font: bold 0.7em sans-serif;
    background-color: #DDD;
    list-style: none;
    border-left: solid 1px #000;
    border-bottom: solid 1px #000;
    border-top: solid 1px #000;
    border-right: solid 1px #000;
    -moz-user-select: none;
    -khtml-user-select: none;
    cursor: pointer;
    .TabbedPanelsTabHover {
    background-color: #CCC;
    .TabbedPanelsTabSelected {
    background-color: #EEE;
    border-bottom: 1px solid #EEE;
    .TabbedPanelsTab a {
    color: black;
    text-decoration: none;
    .TabbedPanelsContentGroup {
    clear: both;
    border-left: solid 1px #000;
    border-bottom: solid 1px #000;
    border-top: solid 1px #000;
    border-right: solid 1px #000;
    background-color: #EEE;
    .TabbedPanelsContent {
    padding: 4px;
    .TabbedPanelsContentVisible {
    I have a pixel missing at the left lower corner where the
    border for the content appears to end and the border for the tab
    appears to begin. This does not happen in Firefox...in FF the
    borders meet and gives the appearance of one continuous border. As
    with everything else that has to do with IE I am assuming this is
    some "quirk" with IE but unsure. If it is what is the bug called
    and what is the hack/work-around (if any)?

    Name of the site is in the graphic above.
    I have now seen that this small (1 pixel) gap exists in all implementations of the Spry Tabbed Panels.
    Check yourself (you will need to use Ctrl+"+" to magify the screen to see it).
    It seems to be an unavoidable bug that is usually hidden by colors that are not too contrasty.
    Oh well, seems I have to accept this minor flaw and move on?

  • G4 Flat Panel power problem

    Hi
    We recently had a power cut and since then I have been unable to start up our imac flat panel.  We have tried the fuse, plugged it in somewhere else and checked all the leads etc, but hold the power button on and nothing.  I changed the PRAM batery about 3-4 years ago and have not had this problem before this occasion.  Does anyone know if there is an internal fuse or a reset button etc

    The reset often tried after a power outage or other interrupt, requires one to follow instructions in the maintenance support article regarding a reset of the Power Management Unit (PMU) as follows.
    •Resetting the iMac (flat panel G4) Power Management Unit (PMU)
    http://support.apple.com/kb/HT1712
    This article has a few helpful images of the computer and basic explanations on how to do the procedure.
    Other more in-depth items may require more take-apart know-how and techniques which will be more tedious and would follow instructions such as those outlined in an official iMac G4 Apple repair manual in PDF. These may be hard to get. While I have three iMac G4 17" 1.25GHz desktop computers, none of them are up and running at this time; my original one has a power issue and I believe it may be a failed power supply. Of the other two, one was acquired as non-running parts computer, but it has a good power supply, optical drive, display, and a few other parts. The third iMac in my instance, needs a replacement optical drive; so while I have three of these, all of them would require disassembly to remedy their various issues.
    When you take apart one of these, be sure to have some new Thermal Paste, a new/fresh clock Battery, a means of re-torquing the internal chassis to required specification, and remember to remove all the old thermal paste from the heat transfer conduits before re-assembly. If you can get the correct Service Manual for this iMac G4 (several in series) which was an official Apple document, in PDF, it would be of great help in troubleshooting the issues. Some of the suggested repair procedures require access to known-good parts; in part to swap out and help find out what is not wrong with it.
    Online sources of information vary, as do their worthiness and value as problem solving tools, depending on depth of the troubles involved. Even a site with info such as this iFixit may offer tips for some situations: http://www.ifixit.com/Device/iMac_G4 -- And the xlr8yourmac article on how to Take-apart iMac G4 for Drive and Ram upgrades has a few others: http://www.xlr8yourmac.com/systems/imac_g4/imacg4_takeapart.html
    There are test ports or holes under the first bottom plate cover on the iMac G4 where one could use a multimeter and small tipped probes to check for correct voltage outputs from the computer power supply. There is a chance one of the power supply transformer voltage outputs may have failed.
    Sometimes, a power failure may coincide with other parts failures; in example, a hard disk drive on its last legs may be affected by a power surge or outage timed upset, and that contains startup disk OS files.
    To find a qualified and trained technician who can and will help repair these older models, can be a problem in and of itself; several shops also sell new hardware and their answer for an old unique computer, is to get a new not-so unique model from them. With the correct Service Manuals, you could eventually repair one of these, if you can get good quality replacement parts at low cost and do the work yourself.
    Hopefully this helps somewhat.
    Good luck & happy computing!
    {edited to add info + url}

  • Audigy SE and AL ADA885 problem needs to be solved once and for

    I just purchased the Audigy SE (I'm on a budget) and installed it. I have the Altec Lansing ADA885 THX 4. digital surround speakers. This sound card DOES NOT work correctly with them. I have been all over the net trying everything that I have seen suggested to make it work. The specs say it should work. It does not. I have tried every possible wiring configuration to no avail. One thing that I find rather annoying is that I have seen several people say that changing the SPDIF to passthrough fixes the problem, yet I cannot find anywhere to change that setting, as I cannot find Audio HQ on the driver CD or on the net to install and change that setting. Can someone, for the love of god, please come up with a valid solution to this problem? I have seen so many people with this same problem who get the run around and answers that just don't help at all. What is needed is "Here, do a, then do b, download c, and BAM! problem solved". Not "Here, do f, do h, download c, j, k, m, and p, then go back and do f again, then a, then b, then come back here and let us know that none of it fixed the problem". I don't wish to be a whiner or a jerk about this, but it is a bit frustrating to be "upgrading" to a card that won't even work right. On behalf of all those with the same problem, thanks in advance to anyone who has a valid solution to this very big, very real problem.

    OK...
    . Do you have the complete application suie of the Audigy SE installed?
    2. If so, in Control Panel do you have the Audio Console or Audio Control Panel?
    3. If you do, change the settings for Decoder Settings to SPDIF passthrough. (THis is however only of AC-3 content, it doesn't affect other formats) (I am not sure the Audigy SE does have a decoder, if not, you need to change the setting in the AC-3 decoder you use)
    4. Then go to Device settings and change the Digital Output sampling rate to 48kHz.
    Now if you cannot find Audio Console, then you should download the latest drivers. They specifically state they allow you to change the "SPDIF output Sampling rate", so you should be able to access the option. I believe your problem lies to the fact your SPDIF is configured for 96kHz output and most probably these very old speakers do not support more than 48kHz.
    PS: The instruction I posted above, are based on an Audigy 2 ZS setup, so the naming of the settings and access programs could be different on the SE, but nevertheless present.

  • Image border problem using JAI

    I've written some very simple code to scale an image down to a small
    thumbnail in JPG format but the quality is quite horrible. Is there a way of making it look nicer?
    src = JAI.create("fileload","filepath")
    ParameterBlock params = new ParameterBlock();
    params.addSource(src);
    params.add(xScale);//x scale factor
    params.add(yScale);//y scale factor
    params.add(0.0F);//x translate
    params.add(0.0F);//y translate
    params.add(Interpolation.getInstance(Interpolation.INTERP_NEAREST));
    dest = JAI.create("scale", params,null);
    I switched to InterpolationBicubic, instead of Interpolationnearest the quality was much better but the resulting image contained borders.
    could some one tell me is there any other way to get better and nicer results.

    Yes you can fix the border problem by setting a render hint to change the way the borders are handled. Something like the following will do the trick.
    You can also use BORDER_WRAP instead of BORDER_COPY, both seem to have a similar result. Mind you I am still very dissapointed with the quality of the bicubic resampling in JAI, but at least this will fix the problem with the borders.
    RenderingHints rh = new RenderingHints(JAI.KEY_BORDER_EXTENDER, BorderExtender.createInstance(BorderExtender.BORDER_COPY));
    dest = JAI.create("scale", params,rh);

  • Hide and Show Region Problem

    Hi,
    I have created a report with the following attributes:
    Region Definition User Interface - Hide and Show Region;
    Report template -Standard;
    Sort Columns - all checked.
    Report source - SQL Query (PL/SQL Function Body returning SQL query).
    I open a page with this report, click on (+) and show region but when I try to sort records in the column region hides. The same problem I have with some others report templates.
    Report templates Borderless and Horizontal Border do not have this problem.
    I am using Application Express 2.2.1.00.04.
    Could someone explain what it is?
    Thank you in advance.
    Val

    Report template -Standard
    Use a "Standard - PPR" template instead, that works better with a Show/Hide region template because the entire page is not re-rendered when you click on a column header to sort. Only the report region content is refreshed.

  • Border problems

    I have just upgraded to Acrobat Pro 11 and am experiencing problems with the appearance of table borders when I convert my Word document to pdf. The top border does not appear at all, and there are small gaps in each of the column borders.
    Is there a fix? or a setting I need to change?

    it doesn't dissolve, it wipes.
    go to Effects > Video Transitions > Quicktime > Gradient Wipe
    add it where you need it in the timeline, then double click the transition in the timeline to load it into the viewer
    now go to Effects > Video Generators > Render and drag the "Clouds" item and drop it on the "Matte" image well of the video generator
    add a bit of edge blur and you're set
    it won't be exactly the same and won't have the colored edges, but its quick and its free.
    there's a tutorial all about gradient wipes on Larry Kordan's excellent website:
    http://www.larryjordan.biz/articles/ljgradwipe.html
    if you have money to spend you can always try the "Softwipe" in CGM's DVE Vol 1 set
    http://www.cgm-online.com/eiperle/cgm_e.html#dve1
    cheers
    Andy

  • Image border problem

    Hoping someone can help with a pesky border problem. I'm
    working on a Mac and have no problem creating a thin, off-white
    border (2 pixels) around an image and everything seems fine. But
    after posting, the border acts like a rollover and changes colour
    as if it was a link, which it isn't, and I don't want it to change.
    Even worse, the border shows purple or blue on a PC.
    Thanks much.

    Sorry forgot the link:
    http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html
    "Miguel" <[email protected]> escribió en el
    mensaje de noticias
    news:g7rlj6$qct$[email protected]..
    > Hi again.
    >
    > Only one advice. Don´t use fonts which can´t
    be seen for everybody but
    > those which have that particular font installed in their
    systems.
    >
    > In this link you can see the common fonts of windows and
    Mac.
    >
    > "Miguel" <[email protected]> escribió en el
    mensaje de noticias
    > news:g7rl6u$q4f$[email protected]..
    >> Hi.
    >> You could set a tag in your css.
    >>
    >> img {
    >> border: 2px solid #FFFFFF;
    >> }
    >>
    >> This will put a 2 pixels border with white color
    around all images.
    >> In the HOME page where the image have a grey border
    you can change the
    >> border color.
    >> Also, have do you notice that in your home page you
    have the color of
    >> your paragraph in black, like the background? this
    make impossible to
    >> read it.
    >>
    >>
    >> "markham5656" <[email protected]>
    escribió en el mensaje de
    >> noticias news:g7qg76$h5b$[email protected]..
    >>> Hoping someone can help with a pesky border
    problem. I'm working on a
    >>> Mac and
    >>> have no problem creating a thin, off-white
    border (2 pixels) around an
    >>> image
    >>> and everything seems fine. But after posting,
    the border acts like a
    >>> rollover
    >>> and changes colour as if it was a link, which it
    isn't, and I don't want
    >>> it to
    >>> change. Even worse, the border shows purple or
    blue on a PC.
    >>> Thanks much.
    >>>
    >>
    >

  • CS4 and pen pressure problem

    When drawing with the brush or the clone stamp brush now and then strokes are drawn at full pressure even though that is not the case. The next strokes are ok again for a while and then again... a few strokes like they there was no pen pressure. Very annoying when retouching masks.
    I already installed the latest Wacom driver but no joy.
    What else could I try?
    My graphics card doesn't have OpenGL capacities so I don't think that's the problem or could it?
    Also CS4 is much slower than CS3 in updating the screen. Related?
    Tips welcome...
    I am a long time user of Photoshop (since 2.5) but I think CS4 will be the first upgrade I will skip although I love the new adjustments and masks panels...
    Windows XP Pro, 4 Gigs of Ram, Matrox Millenium card, plenty of sratch disk space.

    I had exactly the same problem with my Wacom Intuos 3 tablet.
    The solution is to go into Control Panel>Administrative Tools>Computer Management>Device Manager>Human Interface Devices and disable Wacom Virtual Hid Driver.
    I found that somewhere on the Wacom site and it does it for me.
    I'm not sure but I think it started when I updated the Wacom drivers to try and solve another problem.
    Can I ask, if you press CNTRL-ALT-DEL to start task manager, does that disable your pen until you select the Task Manager button? That came with the latest driver too.
    Brian

  • My MacBook (10.5.8) is very slow and has significant problems loading will Snow Leopard (10.6.3) help or make my computer slower?

    My MacBook (10.5.8) is very slow and has significant problems loading will Snow Leopard (10.6.3) help or make my computer slower?
    Also why does my Macbook make so much noise (The noise concerns me because it is so loud it sounds like the laptop will break down or something at any point)?

    It depends on your Macbook model how to open the bottom case.
    Anyway you need to open up the buttom case or keyboard panel to access the CPU fan like following.
    https://www.youtube.com/watch?v=3hHA4DDEvZA
    http://www.ifixit.com/Guide/MacBook+Core+2+Duo+Lower+Case+Replacement/537
    If you think you can't do that by yourself, you'd better bring it to Apple Store Genius Bar or Authorized Servce Shop to tell them about the problem.

  • PSE11 Effects, Layers and Panel Bin not showing on Mac with OS 10.9

    I recently installed Photoshop Elements 11 on my iMac OS 10.9.  The Effects, Layers and Panel Bin are not visible.  Yes, I have tried the Show/Hide.  They are checked, but I still can't see them.  I previously had this software on my MacBook OS 10.8 and had no problems with it.  How can I correct this?

    Okay, I tried reducing the display resolution and that made the problem worse.  So, for some reason, I decided to push the green plus button on the upper left corner of the screen.  I have never used it before as I have always assumed this zoomed your window to full-size similar to a PC.  Guess what?  That fixed the problem and my panel bin and effects or layers are there!  But not both at the same time???  Wondering if that is a PSE11 thing or if there's still a little problem?   I had an older version before.
    So, wondering why the green button worked, I googled it.  Here is an article I found:  http://www.macworld.com/article/1167413/green_button_huh.html  Hope that helps someone else!

Maybe you are looking for