Help with design

At
http://www.bbsjazzbluessoups.com/redesign_final1.htm,
I'm using a background image inside a table cell, you'll see. This
issue is when I try to add content to that table cell, it is pushed
to very bottom of cell. I need content to start top left. All
advice is welcome, need to fix this.

"Bushido" <[email protected]> wrote in
message
news:fq6kqi$292$[email protected]..
> At
http://www.bbsjazzbluessoups.com/redesign_final1.htm,
I'm using a
> background
> image inside a table cell, you'll see. This issue is
when I try to add
> content
> to that table cell, it is pushed to very bottom of cell.
I need content to
> start top left. All advice is welcome, need to fix this.
I drive by this place all the time :) I should go in for
lunch some day LOL
I don't see where you're using a *background image* in any
cell. You've got
the images sitting directly *in* the cells, not in the
background, so the
text placement is performing properly.
You could probably achieve what you want want easier with
CSS. I.e., define
a DIV for the text and apply the image as a background for
the DIV in the
CSS. You have a number of items in the page that cause it to
fail validation
that could also be fixed by using CSS.

Similar Messages

  • Help with design of this home network setup

    Hello all
    My friend's home has internet through Comcast and their modem is an RCA DHG535-2. This modem is currently functional in their office within the home. Their problem is the wireless signal is very weak in their basement. They have purchased a TC and have placed it in their office and wired to their iMac through ethernet. Is their a better way to design this setup so the Time Capsule can provide a broader and better range throughout their home?
    For example,
    1) Can the physical location of the TC change in order to broaden and evenly provide wireless range throughout the home? I would think not since the TC needs to be wired connected to the modem.
    2) Would an Airport Express help out?
    If you can provide a step by step to set this up, I would greatly appreciate this
    Many thanks
    RezF

    Rezf, welcome to the discussion area!
    1) Can the physical location of the TC change in order to broaden and evenly provide wireless range throughout the home? I would think not since the TC needs to be wired connected to the modem.
    Since you mention that the TC is connected to the iMac with an ethernet cable, it sounds like the location options of the TC are going to be somewhat limited. Technically, you could locate the TC anywhere as long it was connected to the modem with an ethernet cable.
    If the office is located in a central area of the home, that would be a good location for the TC
    2) Would an Airport Express help out?
    Possibly. The usual location for an AirPort Express is a point that is approximately 1/2 to 2/3 the distance from the main router (the TC) to the area that needs more coverage. If you have a laptop handy, move it to the proposed location of the AirPort Express and see if you can get a good, stable internet connection at that location. If you can, the AirPort Express should provide improved wireless coverage to the basement.
    If your friends can pull an ethernet cable from the TC to the area in the basement that needs more wireless coverage and connect an AirPort Express to the ethernet cable, that will provide the strongest wireless signal to the specific area.

  • Need help with designing form for exports

    Hi
    I am pretty new to designing form in adobe acrobat.
    I have adobe acrobat 9 standard with Adobe liveCycle Designer installed.
    There are couple of things I want to do.
    1.
    I would like to add a box where I can change the number (default is 1), and when I increase it, (for instance to two)
    then
    it will postulate the particular sections twice.
    For instance, I am taking two drugs right now, then I would like to increase the number of drugs to 2, so then for each drug
    I would enter appropriate information such as drug name, drug form, route of drug administration etcs
    I hope this is clear
    2.
    I am trying to export this in xml format so that only the ones where the user fills in in pdf form gets exported to xml format.
    I would like the boxes to have its own tag, for instance the drug name mentioned above can have a tag of <drugname></drugname>
    I know this is possible through changing the box's name in binding tab.
    What I am interested in is to add a tag for the section, like a header.
    For example, if I were to enter two drug information I want the first drug information to be exported to be
    <drug>
    <drugname>blah</drugname><drugform>1</drugform><drugroute>oral</drugroute>
    </drug>
    <drug>
    <drugname>drug2</drugname><drugform>1</drugform>
    <drugroute>ophthalmic</drugroute>
    </drug>
    how would I add <drug> </drug> for each drug?
    also, can I change the order of the tags??
    in the pdf form, if the drugname box is displayed later than drugroute box, then when I export it, it will display as
    <drugroute>oral</drugroute><drugname>blah</drugname>
    but I want to manually set the order of tags when exported.
    Sorry I asked so many questions
    I hope it is clear enough for you to visualize what I am trying to do
    Thank you so much

    1. You can certainly add sections for the number of drugs that the user specifies pr
    ovided that the form is set up the correct way to begin with. The drug information section must be wrapped in a subform (usually Poistioned) and that in turn must be wrapped in a flowed subform. Then the form must be saved as dynamic. If this information is all that is on the form then that shoudl be all you need to do. If th edrug section is in the middle of the form then you need to wrap the other parts of the form in a subform so they can be pushed down when we add the drug subforms. It can get confusing ...seeing the form amnd its structure would help to clarify.
    2. You canbnot change the names of tags on the fly but you can change their values. AS mentioned above, when you wrap the Drug information in a subform that subform name can be used as a tag in the XML. Then you could have a node with the tag (or an attribute) that names the drug in question. Something like this:
    <Drug Section>
         <Drug>
              <DrugName></DrugName>
              <Dossage></Dossage>
              <Supplier></Supplier>
         </Drug Subform>
         <Drug>
              <DrugName></DrugName>
              <Dossage></Dossage>
              <Supplier></Supplier>
         </Drug>
    </Drug Section>
    As mentioned earlier this is always easier to explain when you see it in context of your form.....if you want to send it to me at [email protected] I can get you started at least. Please include a description of your issue in the email
    Paul

  • Help with design required.....

    hi,
    i have a server which uses the following mechanism to log messages into a log file.
    public static void Message(String msg)
         print(msg);
    public void print( String msg )
         intprint(msg);
    private synchronized void intprint(String msg)
         i write into a log file using RandomAccessFile.
    the Message method is called by 100 of classes to write into the log file.since the intprint(--) is synchronized and with so many other classes trying to use it, it slows down my server.
    i was trying to have a design to make it faster.can somebody help me with that...any suggestions??
    Thanks,

    Use threads and queues for the purpose. How about using arraylist for queuing purposes. The no of messages in the queue can be as many as you want.

  • For Expert (Help with designing my company VOIP infrstructure)

    Imy company have two offices with 200 users in each and we want to design VOIP solution has the next feature.
    Call forwarding
    Voicemail
    Integrated messaging
    Integration with CRM Tools
    Data Integration
    Automated call distribution
    Auto attendant
    Directory services
    Unified communication collaboration
    Web based administration tool
    Analytical tools
    Presence management
    I would like to know which devices, programs , and IOSs should I use?

    First of all
    Leo pointed you to the document i recently posted in CSC which can help you in the design phase if you are going to consider video in your network with voice
    to answer your questions based on the number of users you mentioned CUCM (business edition can be a good option )
    Call forwarding feature in CUCM
    Voicemail you can have unity connection with CUCM
    Integrated messaging unity connection can integrate with exchange and outloook
    Integration with CRM Tools what integration you need .. is it for contact center if yes then cisco UCCS contact center express can do it
    Data Integration same as above
    Automated call distribution you can use either UCCX or unity connection or basic call handling using CUCM
    Auto attendant UCCS or Unity connection
    Directory services CUCM can integrate with LDAP/AD or use a local directory
    Unified communication collaboration what type if collaboration, video,sharing ..!
    Web based administration tool most of the above is web based
    Analytical tools embedded with the above systems
    Presence management CUCM 9.x can have it iwth CUCM
    it is recommend to use virtualized UC services on UCS for cost saving as well and simplified design ( UC on UCS )
    Hope this help

  • Help with designing a system that will allow a code to be inputted during a five second window

    I need to design a system which allows a user to input a code combination during a five second window a correct input code during this window will generate a binary output of 1 to indicate that the lock is open, and at all other times and for any incorect code the output of the system will be zero indicating that the lock is closed. The system must be designed to allow a pre-set combination to be specified and easily changed. The system must display the time count during operation, noting that only three attempts for putting the code are allowed. On a fourth unauthorised attempt another application must set off an alarm. I have the
    combination lock functioning but am having
    difficulties with the five second timer and integrating the system as a whole. Any help would be greatly appreciated.

    Mazza,
    Try this VI out. It returns a boolean instead of an integer, but this is really the same thing from what you are talking about.
    You would use this VI as a subVI. It will pop up and allow user data entry. It passes the boolean out of it to see if the login was successful or not. You could also change things so that the password comparison (password in my case) is an input to the subVI as well.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask
    Attachments:
    Timed_login_panel.vi ‏29 KB

  • Need help with design decision: JavaEE or JavaSE

    Hello folks,
    We are developing an application that has the following requirements:
    - Client will be a desktop client developed in Swing
    - JPA will be used for ORM modelling on server-side
    - MySQL will be used as the DB
    - JMS will be used for client-server event communication (since we need a robust event communication mechanism)
    Given the above, we are not able to decide whether to stick to Java SE or to use Java EE.
    I understand that if we decide to stick to Java SE, JPA can be used but what about JMS?
    Is there a way to use JMS without an application server?
    If not, would it be appropriate to use an App Server just for the sake of JMS?
    (We don't want to go with a third-party framework like Spring just for using JMS.
    For us, the choice is between Java SE or Java EE.)
    What do you people suggest would be better?
    Your inputs will be of great help.
    Thanks much,
    Sandeep

    Here is one way to approach this:
    I would first write the use cases like:
    GeneralUser -> (maintain local data)
    AdminUser    -> (maintain local data)
    GeneralUser -> (export to central data)
    AdminUser    -> (export to central data)
    GeneralUser -> (view common data)
    AdminUser    -> (view common data)
    AdminUser    -> (manage users) << include >> (add user), (delete user)then I would apply the pattern (http://www.theserverside.com/patterns/thread.tss?thread_id=17595)
    and identify the following three apps and the components that they depend on:
    LocalDataApp    { AuthenticationMgr, LocalDataMgr }
    CentralDataApp { AuthenticationMgr, ExportMgr, CentralDataMgr }
    UserAdminApp  { UserMgr }where the AuthenticationMgr component invokes the UserAdminApp to get the user info for authorization,
    the ExportMgr invokes the LocalDataApp to get the local data so the CentralDataApp can use CentralDataMgr to persist it in the central store.
    LocalDataApp and CentralDataApp could have one web front end and UserAdminApp could have another web front end. The communication between AuthenticationMgr and UserAdminApp could be via JNDI.
    Hope that helps,
    Nalla

  • Help with Designing a Simple Database

    I am currently working on a designing problem I would appreciate if someone could review my solution.
    The Problem:
    I need to create a simple database that contains the following entries�
    First Name //mandatory
    Last Name //mandatory
    Date of Birth //mandatory
    Hobbies //there could be anywhere from 0 to infinite amount of hobbies
    Type of actions that I need to perform on the database�
    Add, delete, and modify and entry
    Below are a two design solutions I came up with�
    For both solutions I am going to create two text files. One of the text files called profiles.txt will contain the following fields on each line�
    Id, First Name, Last Name, Date of Birth
    //the Id field in this text file will be the primary key so you will not see the Id duplicated
    The other text file called hobbies.txt will contain the following fields on each line�
    Id, hobby
    //the Id field can be duplicated in this text file so a person can be linked to zero or several hobbies
    Now what differs between my solutions is how I am going to read this data into my program�
    Solution 1) When you start the program it will read the profiles.txt into a linked list. After that is finished the program will then load the hobbies into several linked list that the profiles linked list will point to. So basically each person will have a linked list of hobbies associated with him or her.
    Problem I see with this solution is that if there were 200 million people contained in the profiles.txt would my program crash since the computer would not have enough memory to load all of those names?
    Solution 2) Instead of loading the data at the start of the program the data will stay in the text files. So when someone does a search it will open the text file and search for the entry.
    Problem with this solution is it would be hard to delete and modify names (would I have to rewrite the text file every time I do a change?). Would a good fix to this problem be creating a separate text file to keep track of any changes or deletions I do and once in a while do a database maintenance?
    So a review of my questions is�
    1)     Would my program crash if I had 200 million entries if I use my solution 1?
    2)     Is my solution 2 possible without being incredibly slow or complicated?
    3)     Is there another way of doing this I have not thought of?

    I think having one option will do. Now the problem with this text file thing is that, we'll hve to read every information into memory if we are running a test driver for the program and then work on the information in memory.
    After the program closes, whatever changes we made to this data in memory shd be written to file so we need to find a way of writing the data from memory to overwrite the file. I hope you kinda get what i'm talking abt.
    the database will consist of information like this
    String firstName
    String lastName
    String DOB
    ArrayList / Vector Hobbies
    Now, we kinda want to declare a class with with all these information as data fields ok.
    so let's say
    public class Try{
    String firstName
    String lastName
    String DOB
    ArrayList / Vector Hobbies
    and then create an instance of this class in the driver
    which will be an ArrayList of this class or something so each index of this class ArrayList will hve it's unique data information from the file we read in but again, this is kinda working in memory right.
    After doing all we have to do, we want to write back to file all the changes we made to the data in memory. That's where we are kinda stuck right now.
    A member of the group was suggesting we call whatever functions to work on the txt file which will mean we'll hve to re-write each time we call a function to operate on it and all that stuff. This is a slow process.
    will be glad if anybody out there will have a better way to implement this. Thanks a lot.

  • Help with Designing a Website Call to Action Background

    Hi there,
    This is my first post here, but I am having a bit of trouble designing a background call to action background for my website. My website is a common responsive 980px site but the problem is how I should go about designing a background that will properly adjust to the reponsive nature of the site.
    If you want to have a look at what I mean here is my site, Galactic FX,
    Any help would be greatly appreciated,
    Kieren Hovasapian.

    Mazza,
    Try this VI out. It returns a boolean instead of an integer, but this is really the same thing from what you are talking about.
    You would use this VI as a subVI. It will pop up and allow user data entry. It passes the boolean out of it to see if the login was successful or not. You could also change things so that the password comparison (password in my case) is an input to the subVI as well.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask
    Attachments:
    Timed_login_panel.vi ‏29 KB

  • New here and need help with design

    Hello all, I am working on my son's first birthday thank you cards.  I need help removing the line in between the blue and green background.  Thanks. Stacey

    You also have a narrow black line on the lower left side.
    Increase the the magnification to 500% and select the black and the white lines with the Magic Wand (Continuous checked).  Feather by one pixel.  Sample the green right under the white line, make it the Foreground Color and fill the selection with it.
    Juergen

  • Help with designing a small project

    I'm still relatively new to game design. I want to attempt to make a clone of the TI Calc game "Fall Down" (http://www.ticalc.org/archives/files/fileinfo/140/14064.html). It's an incredibly simple game overall, but I can't seem to figure out how to handle everything in an object oriented manner
    So far in my design process, I have a Blackboard class (that extends JPanel) that's responsible for painting the game screen. The ball is represented by a Ball class that contains the location of the ball on the screen, as well as 3 functions to move the ball. I have a floor class that will represent one rising floor with a hole in it.
    I've delegated moving the floors and ball upward toward the top of the screen to a Conveyer class.
    I'm still left with one slight problem: to which class do I give the responsibilty of receiving keyboard input to update the position of the ball? I can't give it to the Ball object itself, because it's not aware of it's surroundings (and thus the Ball class can't know if it's okay to move left or right). Using the conveyer class would work, except it's already been delegated a large task of updating all objects. The Blackboard is already busy with painting to the screen.
    What would be the most appropriate way to go about this?

    I would assign the ball controlls to the main game class (game window or game applet) and send the new position to the ball itself. The main advantages are:
    => If you take the main class to be an Applet or some subclass of a Component (Frame, Window, Panel, JPanel... although I wouldn'd drag JavaX into it. The game should be perfectly doable with just standard AWT components) You can directly implement a KeyboardListener class that handles the keyboard imput and translates them to the ball position.
    => If you take a classic arcade approach allowing the ball ONE movement (left-right) per movement of the floors, you can use the same thread for the floor and ball. Locate the thread in the master clas and have it call the ball as well as the transporter.
    The distribution of functions between the differnt classes would now be:
    main FallDown class:
    - an applet or Frame that implements the KeyListener classes
    - On KeyListener.KeyEvent: set the desired movement of the ball to the new direction.
    - implements main game thread: the thread continuously calls for a certain 'sleep' time and between each time takes a 'game turn' :
    # calls the ball to move. The ball will move in the direction set beforehand by the key listeners
    # calls the floor conveyor to move all the floors one level up
    # checks if the ball crashed into the floor by comparing the current position of the ball with the current opening in the highest floor
    # calls a 'repaint()' to redraw the game screen
    - on Paint(Graphics g) or update(Graphics g)
    # clears the screen in background color
    # draws the ball by calling its own paint(Graphics g) function (passing the current graphics)
    # draws the floors by calling the floor conveyor's paint(Graphics g) function (passing the current graphics)
    Ball class
    - contains a paint(g) function to paint the ball on the screen
    - contains a setDirection function to set the desired direction upon a request of the main classes' keyboard listener
    - contains an updatePosition() function to set the ball to its new position every time the main turn loop passes a new turn
    - contains a getPosition() function that returns the position to the main class to check for colisions with the wall
    FloorConveyor class:
    - contains a paint(g) function to paint all the floors on the screen
    - contains a moveUp() function to move the floors one position up every time the main turn loop passes a new turn (also initialize new floors on the bottom of the conveyor?)
    - contains a getOpening() function to allow the main loop to compare the opening of the uppermost floor with the position of the ball
    (Floor class:
    - contains a paint(g) function to draw a floor
    - contains a moveUp() function to move the floor one position up when requested by the conveyor
    - contains a getOpening() function to pass this floor's opening to the floorconveyor
    'Niklas

  • RE: Need Help with Designing a game of  "GO"

    I have got the GUI sorted thanks to some source code supplied by Noah.W. I wish to add animation to the program below.
    Can someone please help me with the capture methods in the below code. I basically need it to capture all pieces that have been surrounded by opposing pieces. This may be one piece or a whole group captured.
    At the moment it only does it for one piece.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.*;
    public class GoGame extends JFrame
    public GoGame()
         getContentPane().setLayout(null);
         setBounds(10,10,510,520);
         getContentPane().add(new TheTable());
         setVisible(true);
    public class TheTable extends JPanel
         int[][]points  = new int[19][19];
         boolean black  = true;
    public TheTable()
         setBounds(20,20,453,453);
         addMouseListener(new MouseAdapter()
              public void mouseReleased(MouseEvent m)
                   Point p = clickOnIntersection(m.getPoint());
                   if (p != null && points[p.x/25][p.y/25] == 0)
                        int x = p.x/25;
                        int y = p.y/25;
                        if (black)
                             points[x][y] = 1;
                             black = false;
                             capture(x,y,2,1);
                             capture(x,y,1,2);
                        else
                             points[x][y] = 2;
                             black = true;
                             capture(x,y,1,2);
                             capture(x,y,2,1);
                        repaint();
    private Point clickOnIntersection(Point p)
         Rectangle rh = new Rectangle(0,0,getWidth(),5);
         Rectangle rv = new Rectangle(0,0,5,getHeight());
         for (int h=0; h < 19; h++)
              rh.setLocation(0,h*25-2);
              if (rh.contains(p))
                   for (int v=0; v < 19; v++)
                        rv.setLocation(v*25-2,0);
                        if (rv.contains(p)) return(new Point(v*25+1,h*25+1));
         return(null);
    private void capture(int x1, int y1, int col0, int col1)
         for (int x=Math.max(0,x1-2); x < Math.min(19,x1+2); x++)
              for (int y=Math.max(0,y1-2); y < Math.min(19,y1+2); y++)
                   if (points[x][y] == col0) capture(x,y,col1);
    private void capture(int x, int y, int col)
         if (x > 0  && points[x-1][y] != col) return;
         if (x < 18 && points[x+1][y] != col) return;
         if (y > 0  && points[x][y-1] != col) return;
           if (y < 18 && points[x][y+1] != col) return;
         points[x][y] = 0;
    public void paintComponent(Graphics g)
         super.paintComponent(g);
         Graphics2D g2 = (Graphics2D)g;
         g2.setPaint(new GradientPaint(getWidth(),getHeight(),Color.yellow,0,0,Color.red,true));
         g2.fillRect(0,0,getWidth(),getHeight());
         g2.setColor(Color.black);
         for (int n=0; n < 19; n++)
              g2.fillRect(0,n*25,getWidth(),3);
              g2.fillRect(n*25,0,3,getHeight());
         g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);          
         g2.setColor(Color.green) ;
         for (int n=0; n < 3; n++)
              g2.fillOval(25*3-1,n*150+74,5,5);
              g2.fillOval(25*9-1,n*150+74,5,5);
              g2.fillOval(25*15-1,n*150+74,5,5);
         for (int x=0; x < 19; x++)
              for (int y=0; y < 19; y++)
                   if (points[x][y] != 0)
                        if (points[x][y] == 1) g.setColor(Color.black);     
                        if (points[x][y] == 2) g.setColor(Color.white);     
                        g2.fillOval(x*25-9,y*25-9,20,20);
    public static void main(String[] args)
         GoGame game = new GoGame();
         game.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }

    I am also willing to reward �20 via Paypal for the complete solution to the game of "GO", excluding the animation element. Half can be emailed first, then the rest after payment.

  • Help with designing basic class

    Ok, I'm trying to learn java by implementing a Recipe program that I will eventually put up on my web page. My thought was to create a base class called recipe that would essentially be a collection of strings and such. This would then be tied to a database with getFromDatabase() methods etc... However I'm I just want to clarify a few things and make sure I'm headed in the right direction.
    I figure I should create my class something like this:
    public class Recipe
      public String recipeName;
      // more strings like serves source, etc...
      public int rating; // 1-5
      // Ingredient list
      // Category list
      public String directions;
      public Recipe(String recipeName)
      this.recipeName = recipeName;
    }The above is pretty much what I think is right with what I have so far. For the ingredients, I created a special class called ingredient that looks like:
    public class Ingredient
      public String qty;
      public String amt;
      public String desc;
      public Ingredient(String quant, String ammount, String description)
        this.qty = quant;
        this.amt = ammount;
        this.desc = description;
      public Ingredient()
        this.qty = "";
        this.amt = "";
        this.desc = "";
      public String toString()
        String tempstring = new String(this.qty + " " + this.amt + " " + this.desc);
        return tempstring;
    }Then in my recipe class I have:
    public List ingredients = Collections.synchronizedList(new LinkedList());and then I have two overloaded addIngredient methods to add an Ingredient object to this list.
    So am I on the right track? Should I not even bother with a special class just for ingredients?
    Also while I have your attention, if I were to try and get a list of recipes in the database (ie, SELECT recipename FROM recipes;) where should I put this method? Thank you for any help.
    -Chris

    You only use get() and set() methods for data you need to change, I didn't think that I had to point that out.
    The guy is obviously a beginner, there is no need to saturate him with loads of information that isn't too important to him right now; however, it is good to get him used to the get and set methods for the variables that might need changing, and keeping (most of) the variables private (or protected as the case may be).
    Please tell me how setting variables to private does not contribute to information hiding? @_@
    Because, the last time I heard, private variables can't be accessed by other classes.
    Not only that, the get() and set() methods DO hide information, mainly the inner workings of the code. Consider:
    public class Foo {
      private int x;
      public int getX() {
        return x;
      public void setX(int anInt){
        x = anInt;
    public class Bar {
      private Foo mFoo = new Foo();
      public int process(){
        int intialValue = myFoo.getX();
        return initialValue * 4;
    }And say for whatever reason the way Foo handled the way x was stored had to change:
    public class Foo {
      public String x = "0"; // x no longer an int
      public int getX() {
        return Integer.parseInt(x); // convert when needed
      public void setX(int anInt){
        x = new Integer(anInt).toString(); // convert back
    public class Bar {
      private Foo mFoo = new Foo();
      public int process(){
        int intialValue = myFoo.getX(); // none the wiser
        return initialValue * 4;
    }Note, because of the get and set methods, we didn't have to change Bar. I'd say this was a kind of data hiding, no?
    I do know a bit about what I'm saying. I may not be an expert, but what I said was on the wholecorrect, especially considering the OP is a beginner. I never claimed what I told him was the WHOLE of tight encapsulation, but it is a part of it. He doesn't need to know more than what I told him ATM.

  • Need help with design with classes, etc...

    Hello Experts,
    I am currently doing a report which gets data from several tables then processing it and showing it
    via ALV. Now, I am kinda confused as to how to declare the classes meaning do I group
    all the fetching of data to 1 class(e.g. method 1 to get data from MARA, method 2 to get data from marc, etc)
    then create 1 class to process/combine the data and another class to display the data via ALV?
    for example:
    class data_definition abstract contains all the general data declarations
    class get_data contains methods for fetching data and inherits data_definition class.
    class process_data contains methods for combining and manipulation of data and inherits get_data class
    class display_data contains all the SALV classes and inherits data_definition class
    Please recommend a better option for my design.
    Thank you guys and take care!

    Hi,
    I think it really depends on approach you choose. You can leave the design as it is, or group it all in one class. As long as you are working on same data, it must be visible in all classes (which you achieved by defining data_definition class). Alternatively to this you could create an interface and each class could implement it, this way global data would stay visible in all classes. Only interface components addressing would change a litte bit. As for fetching and processing data you can write separate methods for it, get_ , set_ respectively. Anyhow, I think important is to have clear understanding what your class is responsible for, so that logically data contained in it create some encapsulated entity.
    Please also note that good practise for classes comunication would be using events instead of explicit call of public methods. You can consider that too. Also try to think the way as you would be comming back to this programm after a while. Is it clear for me enough? Do I understand exact purpose of each class, their methods? Do I have any data which are defined twice or three times (reduntant data)?
    I think such questions will lead you to the answer: "Yes my approach is the best one I chose", or, "I have to think about better OO desing before starting my coding".
    All in all it turns out that some things have to be changed during coding and sometimes it requires a small backward rebuilts.
    Regards
    Marcin

  • VLAN with PAT and 3 networks...I need help with design!

    I've been tasked with a major upgrade to my current network and internet access. 
    1.     I need to have an internal private network with access to the internet.  This will be for large meetings, and I'll use a private network with 2048 addresses.
    2.     I also will have a small publid network with 8 routable addresses for Firewall, Web Server, PAT (NAT overload) for the above Private network internet access.
    3.     I want to split a class C address into two networks to allow one network (128 addresses) for Guest use that need routable addresses, and a second network (the other 128 addresses) for specific meetings that also need routable addresses.
    I have:
    I have been issued a router from my ISP.  They have allocated me one .248 network with 8 addresses (6 usable) and a full class C network.
    A Cisco 1841 router with 2 FA ethernet ports.  I would like to use one FA port at the outside (to my ISP router) and the other FA port as my Inside port (to all other networks).  I will do NAT Overload.
    I also have a Layer 3 Catylist 3750 switch.
    Do I need to set up VLANs for each Network?
    Can I place my network hardware on the 10 network?
    Do I need router sub interfaces for my VLANs and can I PAT on a Subinterface?

    Hi Brian
    1. Do I need to set up VLANs for each Network?
    Create seperate VLANS for each subnet and do the intervlan routing on 3750
    2. Can I place my network hardware on the 10 network?
    Yes
    3. Do I need router sub interfaces for my VLANs and can I PAT on a Subinterface?
    Not required. You can do the intervlan routing on your Layer 3 3750 switch. From 3750 you can point a default-route to the router.
    On the router you can perform PAT based on an ACL. Also you need to add Static NAT for your Webserver etc
    Thank you
    Raju

Maybe you are looking for

  • Mac mini restarts on its own after shut-down.

    The Mac mini will restart by itself about 10 minutes after shut down. I turned off all the restart options in energy saver. Funning 10.4.8 with the latest firmware instalation. Any suggestions how to stop this?

  • PO not picking Purchasing org from info record

    Hi All, While creating PO system is not picking Purchasing org??? Rest capturing everything whatever is maintianed. Please tell me the solution Rgrds SS Edited by: SunilSisodia on Dec 14, 2011 8:59 PM

  • SOAP to IDOC: Unable to convert sender service BS to an ALE logical system

    Hello everyone, I have this scenario where i receive web services calls and have to integrate the received xml messages (idocs) into SAP R3 system. I allready reveive the message in my XI engine, but i'm getting this error (being  BS the name of my B

  • Occurence of character in a string

    How can i find how many occurrence of a character in a string? Let's say: 010101010101010: there is 8 0 in that string.

  • Error Ox8004fceb

    After months of no problems I now receive this error message Ox8004fceb when I try to sync. I uninstalled the software and reinstalled but it's still happening. Has anyone had this problem and found a resolution? Solved! Go to Solution.