Transparent JSplitPane repaint issue

Hi,
I have a split pane added to the content pane of a JFrame and an image loaded in a layer below that of the content pane. All components including the content pane are set to transparent.
This frame loads up fine, but as soon as the splitter bar is moved, the split pane components mess up.
Looks like on repaint, the underlying image is not being repainted. I'm using JDK1.4.2_06. Does anyone know how I can get this to repaint right?
Thanks in advance,
Regards,
Pramod
A sample program that shows this problem:
import java.awt.Color;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSplitPane;
import javax.swing.JTree;
public class TSplitter
     extends JFrame
     public TSplitter() {
          init();
     private void init() {
          // Left component is a tree within a scroll pane, all
          // transparent
          JTree tree = new JTree();
          tree.setOpaque(false);
          JScrollPane leftComponent = new JScrollPane();
          leftComponent.getViewport().add(tree);
          leftComponent.getViewport().setOpaque(false);
          leftComponent.setOpaque(false);
          // Right side component is just a line of text, with a
          // transparent background
          JLabel rightComponent = new JLabel();
          rightComponent.setText("Right side text");
          rightComponent.setOpaque(false);
          // Split pane constructed with a zero alpha value background,
          // to make this too transparent
          JSplitPane splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,
                    leftComponent, rightComponent);
          splitPane.setBackground(new Color(0, 0, 0, 0));
          // Split pane added to the content pane, and the content pane
          // too made transparent.
          getContentPane().add(splitPane);
          ((JPanel)getContentPane()).setOpaque(false);
          // Add a background image into the layered pane of the JFrame
          try {
               ImageIcon ii = new ImageIcon("C:\\watermark.jpg");
               JLabel imageLabel = new JLabel(ii);
               imageLabel.setSize(ii.getIconWidth(), ii.getIconHeight());
               // Load image in a layer below FRAME_CONTENT_LAYER
               this.getLayeredPane().add(imageLabel, new Integer(-30001));
          catch (Exception ex) {
               System.out.println("Failed to load watermark... : " + ex);
               ex.printStackTrace();
          // Position and show
          setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          setBounds(100, 100, 400, 400);
          show();
     public static void main(String[] args) {
          new TSplitter();
}

I've never had luck using alpha values, especially an alpha value of 0. Get rid of that and you will see an improvement.
However it still won't work. When all you components are transparent the background doesn't get repainted correctly. So instead of using a LayeredPane to paint your image, you can add the image directly to the content pane as follows:
final ImageIcon ii = new ImageIcon("mong.jpg");
JPanel panel = new JPanel(new BorderLayout())
     protected void paintComponent(Graphics g)
          super.paintComponent(g);
               g.drawImage(ii.getImage(), 0, 0, null);
setContentPane( panel );Note, it may be even easier to override the paintComponent() method of the splitPane to paint the image. That way you don't have to play with the contentPane, other than to change its background color.

Similar Messages

  • 1.4.2_02 repaint issues

    Hi. I have a swing app that is having repaint issues on 1.4.2_02. Things like table rows being added are not always showing unless a repaint is forced by dragging the window round. It all works perfectly well in 1.4.2_01. Anyone experiencing similar issues?
    Thanks
    Glyn

    You could try setting the environment variable LD_ASSUME_KERNEL to
    2.2.5 for linux threads with a floating stack or
    2.4.1 for linux threads with out a floating stack.
    See the release notes for Linux Red Hat 9. It mentions applications
    that do not work correctly with the new threading implementation - java.
    It says you 1.4 is ok but I found I need to set this var anyway.
    Good luck.
    Maryann

  • 1.4.2 beta still has repaint issues

    Sorry guys. I know I have kvetched about this time
    and again in these forums. I know that some of you
    have found workarounds and solutions to your similar
    problems, and I am happy for you.
    I had hoped that 1.4.2 would be be better, but I just
    tested the beta version and there is no difference.
    Here is a description of the problem. It is a complex
    applet. Components within components within components.
    Initially the applet paints itself fine, but once occluded,
    it will not repaint. The only exception is the lowest
    level imbedded components, which are components inside
    a JEditorPane and do repaint. Everything else in applet will
    not repaint.
    The applet has worked fine in Java Runtime environments since
    1.1.8, and it still works fine as late as 1.3.1_06. Right now
    our customer, understandably, does not want to pay for a
    debugging effort for what is apparently a regression in the
    Java runtime. They are satisfied to stay with 1.3.1_06, though
    this does create client-side hassles and becomes less and less
    viable into the future.
    If anyone is experiencing similar problems, has a workaround,
    or a simpler test case that reproduces the problem, I would be
    grateful to know about it. Thanks.

    Ultimately, we had two problems which we needed to fix
    in order to qualify our application on 1.4.*.
    First, the repaint issue concerned some code that we had
    written to workaround issues in the ComponentView used
    inside the text pane. We had problems with the initial
    display of embedded components because at start-up time:
    the event queue had not started up, and the default
    component view had deferred some sizing computations via
    the "invokeLater" mechanism. We fixed this at the time
    by writing our own ComponentView class based on the Java
    source of the time. This approach was invalidated by changes
    to the graphics pipeline in 1.4.x. The solution was to
    write a new local version of ComponentView. We would prefer,
    of course, a more standard approach. The deferment of the
    component sizing is still an issue, and Sun has accepted this
    defect as a bug/enhancement-request (Bug Id 4851010).
    After fixing the repaint issue, we still had problems due to
    changes in the focus model on 1.4.x. We had been using a
    static JInternalFrame to float a tool palette for pumping
    special characters into our text pane. We discovered that
    this caused us to lose keyboard focus when the applet restarted.
    The solution to that was to make the tool palette non-static.
    Now we think we are ready to go with 1.4.x!
    Hope this gives you a clue you can use.

  • Transparency flattener/overprint issue?

    as per my post title suggests i have experienced an issue that i think maybe something related to either the transparency flattener settings or overprint.
    i have received some pdf files from a client which i put into indesign CS4. I add some company information and then output a pdf (export from indesign profile PDFX 1a 2001) ready for print.
    when receiving the clients pdfs which i have noticed where created in CS5 have no overprint settings applied to the file at all. (See image below)
    Shot at 2011-10-27
    after creating my pdf it has set elements to overprint. why is this? All i have done is add the original pdfs into indesign and output them again! is indesign managing the overprint settings without my knowledge? (See image below)
    Shot at 2011-10-27
    All of this was brought to light after the job had been printed! but for some reason it has knocked out some of the elements set to overprint rather than over printed them. You will notice from the image below that the stars on the left have come out correct but the stars on the top right have not! apart from the part over the image.
    Shot at 2011-10-27
    A colleague of mine at work seems to think the issue has something to do with the transparency flattener settings when a vector graphic connects with a bitmapped image.
    Does anyone have any knowledge or experience into what has happened here and could help me resolve this issue from occuring in the future? as i need to provide an explanation to my client. as it has baffled my printer! and he has no answers!
    thanks in advance.
    Dazzlag

    I’m asking because unless there’s a real good reason, you shouldn’t be flattening transparency yourself. In fact, fully modern workflows don’t flatten it at all.
    And yes, it would be a good idea to find out what settings your client used. But my first guess is that they used transparency, not overprint to achieve that effect.
    Bob

  • JSplitpane refreshing issues when splitpane is expanded

    Hi
    I am writing an app that models graphs in a 3d environment. I have a splitpane that has the 3d canvas on the right and a TabbedPane that is added to the left. In the tabpanel The tabpane has three tabs Jtree, 2dmap and Jtable.
    My problem is if you have the Jtree selected in the tabpane, when you click to expand the splitpane the 2dmap wants to over Wright what ever is displayed in the tabpane, but only half of the 2dmap is displyed and when you click on the tabpane where say the Jtree is ment to be the Jtee seems to appear and the two2dmap diserpears bit by bit on every click. I have a suspicion that is has to do with when the screen is re-sized the Jtree, 2dmap and Jtable are not being repainted properly. I have tried repaint(), validate() and revalidate() but have had not results.
    please does anyone have any idea what it is doing and how to fix this problem.
    //creates and sets up split pane and leftPanel
         private void createTabpanel(){
              //Layout setup
              leftPanel.add(tab, BorderLayout.CENTER);
              //Create a split pane with the two panes in it.
    canvas = GraphComms.returnCanvas(vis);
    canvas.setSize(400, 400);
              splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,
              leftPanel,canvas );
              ((JSplitPane) splitPane).setContinuousLayout(true);
    ((JSplitPane) splitPane).setOneTouchExpandable(true);
    ((JSplitPane) splitPane).setDividerLocation(165);
    //Provide minimum sizes for the two components in the split pane.
    leftPanel.setMinimumSize(new Dimension(165, 2000));
    //canvas.setMinimumSize(new Dimension(700,2000));
    //Provide a size for the split pane.
    splitPane.setSize(new Dimension(1020, 700));
    splitPane.setDividerSize(7);
    public TabbedPane(Visualiser vis) {
    super(new BorderLayout());
    JTabbedPane tabbedPane = new JTabbedPane();
    tabbedPane.setBackground(Color.WHITE);
    ImageIcon icon = createImageIcon("images/middle.gif");
    //Tree view Tab
    JComponent panel1 = new TreePanel(tree.getRoot());
    panel1.setPreferredSize(new Dimension(800,170));
    tabbedPane.addTab("Tree",icon, panel1,
    "Tree View of the selected associations");
    tabbedPane.setMnemonicAt(0, KeyEvent.VK_T);
    //2D view Tab
    Map2d twoDMap = new Map2d();
    tabbedPane.addTab("2D View", icon, twoDMap.getCanvas(),
    "2 Dimensional view of selected associations");
    tabbedPane.setMnemonicAt(1, KeyEvent.VK_2);
    //Info view Tab
    JComponent panel3 = new DetailPanel(vis);
    panel3.setPreferredSize(new Dimension(800,150));
    tabbedPane.addTab("Node Info", icon, panel3,
    "Information about selected associations");
    tabbedPane.setMnemonicAt(2, KeyEvent.VK_I);
    //Add the tabbed pane to this panel.
    add(tabbedPane);
    //Uncomment the following line to use scrolling tabs.
    tabbedPane.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
    }

    I can't see the declaration for 'canvas' but if it is
    indeed a java.awt.Canvas then you would seem to be
    mixing AWT and Swing. This does tend to produce
    effects similar to those you describe. There is no
    direct equivalent to java.awt.Canvas in Swing but you
    can usually use JPanel or JComponent to do the same
    task.Hi thanks for the quick reply , but when you said "There is no direct equivalent to java.awt.Canvas in Swing but you can usually use JPanel or JComponent to do the same task."
    Do you mean use JPanel or JComponent instead of the java.awt.Canvas.
    private JPanel leftPanel = new JPanel(new BorderLayout());     //create panel for inserting tab panel
    splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,
                        leftPanel,canvas );
    Cheers matt

  • RH8 repaint issue. Snippets?

    A bug? in Windows XP? RH 8.01? Snippets?
    Unable to get RH to open/activate any pods (TOC, glossary, etc) in current project. RH HTML project goes into "not responding" state and does not repaint (part of the pod is visble, but unable to activate it with the mouse or to view completely).
    The only "new" thing in the project is snippets, which replaced text on a dozen or so topics.
    Several snippets do contain a TABLE; the table cells accept special formatting, and they published OK).
    Also, I notice that even the "normal" paragraph (which had 9pt above & below spacing) no longer publishes with the above/below spacing on some topics (even those not using a snippet).
    Reapplied template and .css to ensure they're using the same files.
    Restarted RH several times.

    I love the way people throw the word "bug" around as soon as something doesn't work before even testing the same issue in another project. Can we gather some solid evidence first rather than jumping at some circumstantial evidence?
    Please try using one of the sample projects. Same problem?
    If yes, then try a different environment. After that post back and we'll take it from there.
    See www.grainge.org for RoboHelp and Authoring tips
    Follow me @petergrainge

  • JTabbedPane repainting issue

    when i repaint a panel that has a tabbedPane the components from other tabs bleed through the selected one, which is indice 0
    I have a JFrame borderlayout like this
    Container c = frame.getContentPane();
    c.add("West", jList);
    c.add("Center", panel);
    the panel is borderlayout as well like this
    panel.add("North", panel2);
    panel.add("Center", tabbedPane);
    the jList has about 10 items all of which need to remove and repaint panel depending on the selected item in list.
    so I do this:
    in a valueChanged method cause i implement ListSelectionListener
    int index = jList.getSelectedIndex();
    if(index == -1) return;
    c.remove(panel);
    if(index == 0) c.add("Center", new SomeClass());
    else if(index == 1) c.add("Center", new SomeClass2());
    else if(.....) ect....
    // then i do this
    c.invalidate();
    c.validate();
    c.update(c.getGraphics());
    seems to work and i get matching content to list selection, and all components are visible. but compoenets from tabs underneath the currently selected one bleed through. when i click on one of the other tabs, and click back to the first one, the problem is gone. if i choose something else from the jList, the problem starts all over again.

    found the issue - nevermind
    seems like I had old references to objects originally displayed on the panels that sat on TabbedPane
    so when i went tried to bring back an item in jList, i had a mess of old components lingering around.

  • Repaint() Issues with component

    Hi.
    I'm creating a Swing GUI using a JTree component. The particular setup I want is a JSplitPane
    containing some functions in the top pane and the actual JTree displaying some data and possibly the resulting changes when any of these functions are used.
    The problem I was having was in trying to update the JTree object after the user presses one of the
    function JButtons on top. I have a call to repaint() as part of my event-handling code after the JButton's
    procedure completes. However, since the JTree is generated using a separate method (i.e. im passing
    in a TreeNode), the repaint() doesn't do anything.
    The one thing that I've considered is extending the JTree class and overriding its repaint() method to
    include that separate method call, but Is there any more elegant or standard way to do this that I'm not seeing?
    Thanks in advance.

    There is paintImmediately() method. You can also try to use
    SwingUtilities.invokeAndWait call to let your tree be repainted.
    regards,
    Stas

  • Repainting issue

    Hi all,
    I have created a frame and i have some menus in that. The menu is not visible when the frame is invoked and also the menu is placed in the correct position when the frame is painted ie when i do some operations such as maximize or minimize. and also this issue is not reprocable consistently.
    Thanks in advance for the help.
    cheers,
    Bala

    As a swing window, such as JFrame or JDialog, is not a JComponent, we will never paint directly on a window, but always on a swing component (JPanel or JComponent, for example), that we have added to the window. Swing programs should override paintComponent() instead of overriding paint(). In a system-triggered painting operation, the system requests a component to render its contents, usually for one of the following reasons:
    - The component is first made visible on the screen.
    - The component is resized.
    - The component has damage that needs to be repaired. (For example, something that previously obscured the component has moved, and a previously obscured portion of the component has become exposed).
    In all three cases, the system automatically calls the paintComponent method of the component. So it's evident that paintComponent should react quickly, and we will avoid "expensive" things, such as loading pictures, reading databases, creating new objects, and so on. The paintComponent method is responsible for painting/repainting everything what is necessary (at least the area defined by the graphic's clip rectangle).

  • JFrame add and remove panel repaint issues

    I'm not really sure what is wrong with the code. I have tried different things. What I am trying to do is to remove a panel and then add a different panel that contains a table into a frame, so the frame displays the table panel instead of the original panel. I have the following code
    viewFrame.remove(this);  // where this is the current panel
    viewFrame.invalidate();
    JTableMAView tv = new JTableMAView(viewModel);
    viewFrame.getContentPane().add(tv);
    viewFrame.validate();
    viewFrame.repaint();
    viewFrame.refreshFrame();Thanks for any help and input in advance!

    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    public class PanelTest extends JFrame implements ActionListener {
         JPanel one, two;
         boolean oneIsNotActive;
         Container contentPane1, contentPane2;
         JButton btnOne, btnTwo;
         public void paint(Graphics g){
              this.paintComponents(g);
         public void update(Graphics g) {
              paint(g);
         public static void main(String args[]){
              PanelTest test = new PanelTest();
              test.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              test.pack();
              test.setVisible(true);
         public PanelTest() {
              initComponents();
         public void actionPerformed(ActionEvent e){
              if(e.getActionCommand().equals("swap")){
                   swapPanels();
         public  void initComponents() {
              contentPane1 = this.getContentPane();
              btnOne = new JButton("swap");
              btnOne.addActionListener(this);
              btnOne.setActionCommand("swap");
              btnTwo = new JButton("test");
              btnTwo.addActionListener(this);
              btnTwo.setActionCommand("swap");
              oneIsNotActive = false;
              one = new JPanel(new FlowLayout());
              one.add(btnOne);
              contentPane1.setLayout(new FlowLayout());
              contentPane1.add(one);
              two = new JPanel(new FlowLayout());
              two.add(btnTwo);
         private void swapPanels() {
              oneIsNotActive = !oneIsNotActive;
              if(oneIsNotActive){
                   getContentPane().remove(one);
                   getContentPane().add(two);
                   this.repaint();
              else{
                   getContentPane().remove(two);
                   getContentPane().add(one);
                   this.repaint();
    }

  • Repaint issue

    Hi,
    I got an annoying problem.
    I use some JComponents for JScrollPanes RowHeader and ColumnHeader.
    So far so good.
    Those components paintComponent method paint a buffered image on the whole are...
    It implement a kind of ruler...
    If i set the zoom factor of the ruler to a new value and force to redraw the ruler, the ruler
    ist drawn correct on the current visible area of the HeaderView... but if i scroll around
    the previous not visible areas of the HeaderView are empty.
    Only if i move the mouse onto the JViewport of the scroll pane the ruler is draw on those
    areas too. Any ideas?
    I implemented many listeners for the scrollpane to call repaint on the header view components but
    without any success...
    here are some code snippets :
    protected void createRuler() {
                ruler = GraphicsUtilities.createCompatibleTranslucentImage(curW, height);
                Graphics2D g2d = ruler.createGraphics();
                int unitInc = 0;
                // Setze Schrift
                g2d.setFont(font);
                g2d.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING,
                        RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
                g2d.setColor(Color.BLACK);
                g2d.drawLine(0, height - 2, curW, height - 2);
                // paint the ticks
                for (int i = 0; i < curW; i += minTGap) {
                    if ( i % unit == 0 ) {
                        tH = height;
                        g2d.drawString(Integer.toString(unitInc), i + 2, fontH - 2);
                        unitInc += Math.round(unit / zoom);
                    else if ( i % majTGap == 0 ) {
                        tH = majTH;
                    else if ( i % midTGap == 0 ) {
                        tH = midTH;
                    else {
                        tH = minTH;
                    g2d.drawLine(i, height - 2, i, height - Math.round(tH) - 2);
                g2d.dispose();
    @Override
            protected void paintComponent(Graphics g) {
                super.paintComponent(g);
                g.drawImage(ruler, 0, 0, null);
                // pointer for the current mouse position
                g.drawImage(pointer, pointerPosH, pointerPosV, null);
            }The ruler class extends JLabel
    regards,
    Olek

    OK, here is what I see from your code:
    You have an override of your paintComponent, but in that method I see where you paint your ruler and your cursor; what I don't see if where you paint your base image. What I generally see in the overridden graphic container is:
    1--Base Image display code
    2--Overlay of ruler
    3--other code.
    or
    a painting of an already rendered Image when using offscreen rendering. I don't see your base image rendering any where. This, coupled with your problem, tells me that you don't have an execution path, for your image painting/refresh, that is consistent in your application--you're missing part of your task when you get a request for screen updates from some of your events.

  • Photos with transparent background weird issue in album

    There is something very strange happening
    What I did
    I saved two images that had transparent background
    When I view it in my photo album the thumbnail shows the image but for the "background" it is some other random photo that isn't even in my camera roll! It just shows up only when I save these images with transparent background.  This happened for two images and the photos showing up are different (from the same night because I can see who is in it).
    When I view these images larger, the background photos do not appear , so it is very strange
    I took a screen shot of this too and would like to send to apple support

    I would not really expect AppleTv to handle transparency in an image, though maybe it does and this is some kind of bug.
    I would regard transparency handling as a non-basic feature to be honest, one that the majority of users will not expect to use or use.
    Does iPhoto handle transparency properly?
    Send feedback to:
    http://www.apple.com/feedback/appletv.html
    It may be something they can add fairly easily, but it may not either.
    Don't expect a reply from that link.
    AC

  • Switching apps when using safari repaint issue

    I can't seem to find whethere or not this has already been discussed in the forum. When using safari if I switch to an underlying app window that is covered by safari then sometimes the app window has the portion of safari that was over it painted onto the app. I have to minimize the app and restore it for it to repaint normally. This happens often if iTunes is behind the safari window and only sometimes on other apps.
    I am using the latest nvidia drivers for 8x00 series cards. No other apps cause this problem with underlying windows.
    Sorry for not explaining it clearly.
    Thanks for any help.

    It's up to Windows GUI to update your skin/theme/windows for your apps when you move windows around, and it will rely on your drivers.
    The latest Nvidia drivers are beta drivers. Try the WHQL drivers.
    Have you seen this on XP or Vista, or just Windows Server 2003?

  • Drawing graphs and repaint issues

    Hi, I'm trying to create a simple scrollable graph. Everything works fine unless I scroll it very slowly or really, really fast. It's all gets messy then - lines to do not seem to be continous, but rather have a lot of empty space. Especially when I press an arrow on the scrollbar and simply hold it - in this case all I get is a bunch of dots.
    It looks like that I'm using an inneficient way to draw the graph (I'm simply using drawLine() method, and repaint() isn't fast enough to redraw everything. Is there another way in Java to make it more efficient?
    Here is my code:
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.math.*;
    import java.util.*;
    import java.awt.Color;
    public class TestGraph2 extends JFrame{     
    JScrollBar vb = new JScrollBar();
    int v = ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER;
    int h = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
    JPanel panel = new JPanel();
    Graph graph = new Graph();
         public TestGraph2() {
              addWindowListener(new WindowAdapter()
              {     public void windowClosing(WindowEvent ev)      
                   {     dispose();               System.exit(0);}});     
    JScrollPane jsp = new JScrollPane(graph, v, h);
    setSize(750,550);     
    getContentPane().setLayout(new GridLayout(1,1));
    getContentPane().add(panel);
    panel.setLayout(new FlowLayout());
    jsp.setPreferredSize(new Dimension(600,500));     
    panel.add(jsp);
    graph.setPreferredSize(new Dimension(4000, 500));
    setVisible(true);                    
         public class Graph extends JPanel
              Graphics2D G;
              public Graph() {
    public void paintComponent(Graphics g) {
         super.paintComponent(g);
         G = (Graphics2D) g;
         G.setColor(Color.white);
         G.fillRect(40,40,graph.getWidth()-80,graph.getHeight()-80);
    int xold=39;
    int xnew=0;
    int yold=graph.getHeight()-39;
    int ynew=0;
              for(int i=39; i<=4000; i=i+10){
              xnew=i;
              int temp = (int)(Math.random() * graph.getHeight()-39);     
              ynew = graph.getHeight()-39-temp;
              if (ynew<39)
                   ynew=39;
              if(ynew>graph.getHeight()-39)
                   ynew=graph.getHeight()-39;
         G.setColor(Color.red);     
              G.drawLine(xold, yold, xnew, ynew);
              xold=xnew;
              yold=ynew;}
    public static void main (String[] args) {     
                                  new TestGraph2();}
         

    Anyone, please?

  • ASA Transparent Mode Deployment Issue

    Could you please be more specific as to what does not work.  How are you testing, from which IP to which IP is not working? Are you able to ping the switch from the ASA Firewall (not the transparent firewall)?
    Please remember to rate and select a correct answer

    Ok after a little research I think I have found a solution for you ( I am leaving out the policy map configs):
    firewall transparent
    hostname ASA-IPS
    interface GigabitEthernet0/0.20
    vlan 20
    nameif Outside2
    bridge-group 2
    security-level 0
    interface GigabitEthernet0/0.10
    vlan 10
    nameif Outside1
    bridge-group 1
    security-level 0
    interface GigabitEthernet0/1.22
    vlan 22
    nameif Inside2
    bridge-group 2
    security-level 100
    interface GigabitEthernet0/1.11
    vlan 11
    nameif Inside1
    bridge-group 1
    security-level 100
    interface BVI1
    ip address 10.10.10.10 255.255.255.0
    interface BVI2
    ip address 10.10.20.10 255.255.255.0
    access-list inside_acl extended permit ip any any
    access-list outside_acl extended permit ip any any
    access-group outside_acl in interface Outside1
    access-group inside_acl in interface Inside1
    access-group outside_acl in interface Outside2
    access-group inside_acl in interface Inside2
    Also make sure that you amend the VLANs on the switch to correspond to the VLANs on the Transparent ASA.
    Please remember to rate and select a correct answer

Maybe you are looking for

  • Sope of planning /qouta Arrangement

    Hi PP expert. i want to under stand scope of planning. there are two finish material type,one MTO and another is MTS.and have 4 production plant. now for the MTS  i want run one  MRP  for 4 plant. can i do from Scope of planning or Quota Arrangement.

  • Enterprise Services Builder

    Hi all, I have a got a problem with opening Enterprise Services Builder, I'm unable to Open ESB of PI. I'm getting the below error after i entered User name and Password of ESB Could not Initialize class com.sap.aii.ibrep.gui.xiitem.InternalXiItemSer

  • TREX search results in 0 hits

    Hi Guru's I have an issue that needs resolving. We have setup a basic Service Desk in SolMan 7.01. We were able to report on our issues using the "queries" functionality in the Incident Management workcenter. Ever since we installed a TREX instance a

  • My iPhone froze yesterday, and now after pushing the home button and on/off button the apple comes up, but it won't do anything???

    My iPhone froze up yesterday while trying to check facebook. It completely shut off and now won't turn back on??? We've tried to reset it and push the buttons together, but nothing is happening?? I can get the apple icon to come up...but that is all?

  • No scroll bars or playlist icons?

    Software update just downloaded the latest version of iTunes - and now the bottom and side scrollbars don't show up, so it's really hard to navigate around my library. Also the little icons next to the playlists in the left-hand menu don't show up wh