How can I make my jframe auto streach?

I have a simple GUI I made in Netbeans and I was wondering if there is a way to make it "autostrech" when I hit the THR button and the lable returns its value
* To change this template, choose Tools | Templates
* and open the template in the editor.
* finaltheclacguiframe.java
* Created on Oct 19, 2009, 6:29:01 PM
package finalthrcalcgui;
* @author newguy45
public class finalthrcalcguiframe extends javax.swing.JFrame {
    int RHR = 0;
    /** Creates new form finaltheclacguiframe */
    public finalthrcalcguiframe() {
        initComponents();
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">                         
    private void initComponents() {
        pulseTextField = new javax.swing.JTextField();
        ageTextField = new javax.swing.JTextField();
        RHRButton = new javax.swing.JButton();
        THRButton = new javax.swing.JButton();
        pulseLable = new javax.swing.JLabel();
        ageLable = new javax.swing.JLabel();
        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Target Heart Rate Calculator");
        ageTextField.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ageTextFieldActionPerformed(evt);
        RHRButton.setText("Calculate RHR");
        RHRButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                RHRButtonActionPerformed(evt);
        THRButton.setText("Calulate THR");
        THRButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                THRButtonActionPerformed(evt);
        pulseLable.setText("Take your pulse for 10 seconds");
        ageLable.setText("How old are you?");
        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(RHRButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(pulseTextField)
                    .addComponent(THRButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(ageTextField))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(pulseLable)
                    .addComponent(ageLable))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(pulseTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pulseLable, javax.swing.GroupLayout.PREFERRED_SIZE, 17, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(RHRButton)
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(ageTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(ageLable))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(THRButton))
        pack();
    }// </editor-fold>                       
    private void RHRButtonActionPerformed(java.awt.event.ActionEvent evt) {                                         
        RHR = (int) (Integer.parseInt(pulseTextField.getText()) * 6);
        pulseLable.setText("RHR: " + RHR);
        public static double THRLowFormula(double THRLowPercent, int maxHeartRateMinusAgeAndRHR, int RHR) {
        double THRLow = maxHeartRateMinusAgeAndRHR * THRLowPercent + RHR;
        return  (int) THRLow;
        public static double THRHighFormula(double THRHighPercent, int maxHeartRateMinusAgeAndRHR, int RHR) {
        double THRHigh = maxHeartRateMinusAgeAndRHR * THRHighPercent + RHR;
        return (int) THRHigh;
    private void ageTextFieldActionPerformed(java.awt.event.ActionEvent evt) {                                            
    private void THRButtonActionPerformed(java.awt.event.ActionEvent evt) {                                         
        int maxHeartRate, age, maxHeartRateMinusAgeAndRHR;
        double THRHigh, THRHighPercent, THRLow, THRLowPercent;
        maxHeartRate = 220;
        age = (int) (Integer.parseInt(ageTextField.getText()));
        maxHeartRateMinusAgeAndRHR = maxHeartRate - age - RHR;
        THRLowPercent = .60;
        THRHighPercent = .70;
        THRLow = THRLowFormula(THRLowPercent, maxHeartRateMinusAgeAndRHR, RHR);
        THRHigh = THRHighFormula(THRHighPercent, maxHeartRateMinusAgeAndRHR, RHR);
        ageLable.setText("Low target heart rate (60%): " + THRLow + " High target heart rate (70%): " + THRHigh);
    * @param args the command line arguments
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new finaltheclacguiframe().setVisible(true);
    // Variables declaration - do not modify                    
    private javax.swing.JButton RHRButton;
    private javax.swing.JButton THRButton;
    private javax.swing.JLabel ageLable;
    private javax.swing.JTextField ageTextField;
    private javax.swing.JLabel pulseLable;
    private javax.swing.JTextField pulseTextField;
    // End of variables declaration                  
}

newguy45 wrote:
DrClap, for someone with so many posts I simply cannot believe how much of a douche you are, seriously dude whats your problem were you deprived of oxygen shortly after birth?
PS: Just because Photobucket is some "unknown" site, try being less of a dick and more agreeable people will enjoy being around youSomeone tries to help you and this is the thanks they get? If someone is going out of their way to help you, the least you could do is go out of your way to make it easy on them.
Additionally, I find it exceptionally strange that you make assumptions about people's personalities based on the number of posts they have.

Similar Messages

  • How can I make Thunderbird start auto with windows start-up

    how can I make Thunderbird start auto with windows start-up

    You can by placing a short cut in the windows startup folder, just like any other windows program.
    However if you do you are likely to encounter problems as downloading mail while the anti virus is still loading and the network is busy announcing your machines arrival to the network ( which might be a network of one) and any of a dozen other program are loading is fraught with risk of timeouts and server disconnections as well as error messages that make little sense because they are about something that is still loading.
    So the bottom line is sure you can, but if there are issues take it back out of there as a first step.

  • How can I make a JFrame pop up in the middle of the screen?

    On my application I have a help button. The button is used to trigger a pop up JFrame containing my help messages. This JFrame keeps popping up at the top left corner of my screen. Is there a way to make it pop up in the middle of the screen? Anyone?

    hi, try this:
    public static void centerWindow(Window win){
    Dimension screenSizeWithSpeedBar = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension screenSize = new Dimension(screenSizeWithSpeedBar.width,screenSizeWithSpeedBar.height-25);
    Dimension frameSize = win.getSize();
    if (frameSize.height > screenSize.height)
    frameSize.height = screenSize.height;
    if (frameSize.width > screenSize.width)
    frameSize.width = screenSize.width;
    win.setSize(frameSize);
    win.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
    It works with following arguments: JWindow, JFrame and JDialog

  • How can i make it auto line alignment in ScriptUI?

    I want that form recognize new line character. (like '\n')
    So I programmed like this. But it's not working.
    var win =new Window ("dialog", "test");
    win.orientation = "column";
    var form1 = win.add ("edittext", undefined, "");
    form1.onChanging = function(){
      if(form1.text.search("\n") == true){
       form2.active = true;
    var form2 = win.add ("edittext", undefined, "");
    var form3 = win.add ("edittext", undefined, "");
    win.show();
    How can i make it auto line alignment in ScriptUI?
    Is it possible?

    Your answer is not exactely I want.
    But I got hint from your answer.
    All I want is "How I can split multilined text into dozen edittext field?"
    So I can make this from your sourcecode.
    Your answer is so helpful.
    Thank you.
    var win = new Window ("dialog", "test");
    win.orientation = "column";
    var charLen=30;
    var copytext = [];
    var form0 = win.add ("edittext", [0, 0, 150, 200], "", {multiline:true});
    form0.height = 100;
    var form1 = win.add ("edittext", undefined, "",{readonly:true});
    form1.characters = charLen;
    var form2 = win.add ("edittext", undefined, "",{readonly:true});
    form2.characters = charLen;
    var form3 = win.add ("edittext", undefined, "",{readonly:true});
    form3.characters = charLen;
    form1.active = true;
    form0.onChanging = function(){
        form1.text = form0.text.split('\n')[0]
    form2.text = form0.text.split('\n')[1]
    form3.text = form0.text.split('\n')[2]
    win.show();

  • How can I make the combo box turn to the value of black.

    When the show button is pressed (and not before), a filled black square should be
    displayed in the display area. The combo box (or drop down list) that enables the user to choose the colour of
    the displayed shape and the altering should take effect immediately.When the show button is pressed,
    the image should immediately revert to the black square, the combo box should show the value that
    correspond to the black.
    Now ,the problem is: after I pressed show button, the image is reverted to the black square,but I don't know
    how can I make the combo box turn to the value of black.
    Any help or hint?Thanks a lot!
    coding 1.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class test extends JFrame {
         private JPanel buttonPanel;
         private DrawPanel myPanel;
         private JButton showButton;
         private JComboBox colorComboBox;
    private boolean isShow;
         private int shape;
         private boolean isFill=true;
    private String colorNames[] = {"black", "blue", "cyan", "darkGray", "gray",
    "green", "lightgray", "magenta", "orange",
    "pink", "red", "white", "yellow"}; // color names list in ComboBox
    private Color colors[] = {Color.black, Color.blue, Color.cyan, Color.darkGray,
                              Color.gray, Color.green, Color.lightGray, Color.magenta,
                              Color.orange, Color.pink, Color.red, Color.white, Color.yellow};
         public test() {
         super("Draw Shapes");
         // creat custom drawing panel
    myPanel = new DrawPanel(); // instantiate a DrawPanel object
    myPanel.setBackground(Color.white);
         // set up showButton
    // register an event handler for showButton's ActionEvent
    showButton = new JButton ("show");
         showButton.addActionListener(
              // anonymous inner class to handle showButton events
         new ActionListener() {
                   // draw a black filled square shape after clicking showButton
         public void actionPerformed (ActionEvent event) {
                             // call DrawPanel method setShowStatus and pass an parameter
              // to decide if show the shape
         myPanel.setShowStatus(true);
                   isShow = myPanel.getShowStatus();
                                            shape = DrawPanel.SQUARE;
                        // call DrawPanel method setShape to indicate shape to draw
                                            myPanel.setShape(shape);
                        // call DrawPanel method setFill to indicate to draw a filled shape
                                            myPanel.setFill(true);
                        // call DrawPanel method draw
                                            myPanel.draw();
                             myPanel.setFill(true);
                             myPanel.setForeground(Color.black);
                   }// end anonymous inner class
         );// end call to addActionListener
    // set up colorComboBox
    // register event handlers for colorComboBox's ItemEvent
    colorComboBox = new JComboBox(colorNames);
    colorComboBox.setMaximumRowCount(5);
    colorComboBox.addItemListener(
         // anonymous inner class to handle colorComboBox events
         new ItemListener() {
         // select shape's color
         public void itemStateChanged(ItemEvent event) {
         if(event.getStateChange() == ItemEvent.SELECTED)
         // call DrawPanel method setForeground
         // and pass an element value of colors array
         myPanel.setForeground(colors[colorComboBox.getSelectedIndex()]);
    myPanel.draw();
    }// end anonymous inner class
    ); // end call to addItemListener
    // set up panel containing buttons
         buttonPanel = new JPanel();
    buttonPanel.setLayout(new GridLayout(4, 1, 0, 50));
         buttonPanel.add(showButton);
    buttonPanel.add(colorComboBox);
    JPanel radioButtonPanel = new JPanel();
    radioButtonPanel.setLayout(new GridLayout(2, 1, 0, 20));
    Container container = getContentPane();
    container.setLayout(new BorderLayout(10,10));
    container.add(myPanel, BorderLayout.CENTER);
         container.add(buttonPanel, BorderLayout.EAST);
    setSize(500, 400);
         setVisible(true);
         public static void main(String args[]) {
         test application = new test();
         application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    coding 2
    import java.awt.*;
    import javax.swing.*;
    public class DrawPanel extends JPanel {
         public final static int CIRCLE = 1, SQUARE = 2;
         private int shape;
         private boolean fill;
         private boolean showStatus;
    private int shapeSize = 100;
    private Color foreground;
         // draw a specified shape
    public void paintComponent (Graphics g){
              super.paintComponent(g);
              // find center
    int x=(getSize().width-shapeSize)/2;
              int y=(getSize().height-shapeSize)/2;
              if (shape == CIRCLE) {
         if (fill == true){
         g.setColor(foreground);
              g.fillOval(x, y, shapeSize, shapeSize);
    else{
                   g.setColor(foreground);
    g.drawOval(x, y, shapeSize, shapeSize);
              else if (shape == SQUARE){
         if (fill == true){
         g.setColor(foreground);
                        g.fillRect(x, y, shapeSize, shapeSize);
    else{
                        g.setColor(foreground);
    g.drawRect(x, y, shapeSize, shapeSize);
    // set showStatus value
    public void setShowStatus (boolean s) {
              showStatus = s;
         // return showstatus value
    public boolean getShowStatus () {
              return showStatus;
         // set fill value
    public void setFill(boolean isFill) {
              fill = isFill;
         // set shape value
    public void setShape(int shapeToDraw) {
              shape = shapeToDraw;
    // set shapeSize value
    public void setShapeSize(int newShapeSize) {
              shapeSize = newShapeSize;
    // set foreground value
    public void setForeground(Color newColor) {
              foreground = newColor;
         // repaint DrawPanel
    public void draw (){
              if(showStatus == true)
              repaint();

    Hello,
    does setSelectedIndex(int anIndex)
    do what you need?
    See Java Doc for JComboBox.

  • How can i make my scrollpane in a way that at the opening of a frame it doe

    How can i make my scrollpane in a way that at the opening of a frame it does not scroll down automatically?
    code is below
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.net.*;
    import javax.swing.JOptionPane.*;
    import java.io.*;
    import javax.swing.colorchooser.*;
    import javax.swing.filechooser.*;
    import javax.accessibility.*;
    import javax.swing.border.*;
    import java.sql.*;
    public class Signup extends JFrame
         JLabel p1,p2,p3,p4,p5,p6,uid,upass,cpass,fname,sname,hint,sl,ed,age,adr,cit,zip;
         JTextField uname,fnamet,snamet,hintt,adrt,adrt1,city,zipcode;
         JPasswordField upassw,cpassw;     
         JComboBox sex,education,agegr;
         Signup()
         Container c=getContentPane();
         c.setLayout(null);
         c.setBackground(Color.white);
         /** JPanel c = new JPanel();
         c.setBackground(Color.white);
         int v = ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS;
         int h = ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
         JScrollPane jsp = new JScrollPane(c, v, h); ***/
    p1=new JLabel("Create Your Icafe!ID",10);
         p2=new JLabel("Personal Information");
         p3=new JLabel("User Address");
         p4=new JLabel("Tell Us About Your Hobbiess (Optional) ");
         p5=new JLabel("Tell us something about what you like. This will help us choose the kind of content to display on           your pages.");
         p6=new JLabel("--------------------------------------------------------------------------------");
    uid=new JLabel("User Id");
         upass=new JLabel("Password");
         cpass=new JLabel("Confirmation Password");
         fname=new JLabel("UserName");
         sname=new JLabel("SurName");
         hint=new JLabel("Hint Question");
    sl=new JLabel("Sex");
         ed=new JLabel("Education");     
         age=new JLabel("Age Group");     
         adr=new JLabel("Address");
    cit=new JLabel("City");
    zip=new JLabel("ZipCode");
         uname=new JTextField(10);
         uname.requestFocus();     
         uname.setToolTipText("UserName");
    upassw=new JPasswordField(10);
         upassw.setToolTipText("Password");
         upassw.setEchoChar('*');
         cpassw=new JPasswordField(10);
         cpassw.setToolTipText("Confirmation Password");
         cpassw.setEchoChar('*');
         fnamet=new JTextField(10);
         fnamet.setToolTipText("FullName");
         snamet=new JTextField(10);
         snamet.setToolTipText("SurName");
         hintt=new JTextField(10);
         hintt.setToolTipText("Hint Question");     
    String[] gender={"[Select one]","Male","Female"};
         sex = new JComboBox(gender);          
    String[] edu={"[Select one]","S.S.C","Inter","Graduate","Post Graduate"};
         education= new JComboBox(edu);     
    String[] ageg={"[Select one]","0 - 15","16 - 35","36 - 70","70 - 100"};
         agegr= new JComboBox(ageg);     
    adrt=new JTextField(15);
         adrt.setToolTipText("Address");
         adrt1=new JTextField(15);
         adrt1.setToolTipText("Address");
         city=new JTextField(15);
         city.setToolTipText("City");
    zipcode=new JTextField(15);
         zipcode.setToolTipText("ZipCode");
         p1.setBounds(200,70,160,30);
         uid.setBounds(350,100,160,30);
         uname.setBounds(400,100,160,30);
         upass.setBounds(335,140,160,30);
         upassw.setBounds(400,140,160,30);
         cpass.setBounds(260,180,160,30);
         cpassw.setBounds(400,180,160,30);
         p2.setBounds(200,220,160,30);
         fname.setBounds(330,260,160,30);
         fnamet.setBounds(400,260,160,30);
         sname.setBounds(335,300,160,30);
         snamet.setBounds(400,300,160,30);
    hint.setBounds(315,340,160,30);     
    hintt.setBounds(400,340,160,30);
         sl.setBounds(370,380,160,30);     
         sex.setBounds(400,380,160,30);
         ed.setBounds(335,420,160,30);     
         education.setBounds(400,420,160,30);
    age.setBounds(330,460,160,30);
    agegr.setBounds(400,460,160,30);
    p3.setBounds(200,500,160,30);
         adr.setBounds(340,540,160,30);
         adrt.setBounds(400,540,160,30);
         adrt1.setBounds(400,580,160,30);
         cit.setBounds(370,620,160,30);
         city.setBounds(400,620,160,30);
    zip.setBounds(590,620,160,30);
    zipcode.setBounds(640,620,160,30);
         Font font = new Font("SansSerif",Font.BOLD, 12);
         setFont(font);
         c.add(p1);
    c.add(uid);
         c.add(uname);     
         c.add(upass);
         c.add(upassw);
    c.add(cpass);
         c.add(cpassw);
    c.add(p2);
    c.add(fname);     
         c.add(fnamet);
    c.add(sname);
    c.add(snamet);
         c.add(hint);
    c.add(hintt);     
    c.add(sl);
    c.add(sex);
    c.add(ed);
         c.add(education);
    c.add(age);
         c.add(agegr);
    c.add(p3);
    c.add(adr);
         c.add(adrt);
         c.add(adrt1);
    c.add(cit);
    c.add(city);
    c.add(zip);
    c.add(zipcode);
         setResizable(false);
         //int a=DO_NOTHING_ON_CLOSE;
         //setDefaultCloseOperation(a);
         show();
         setSize(800,500);
    // Border raisedBorder = new BevelBorder(BevelBorder.RAISED);     
         setContentPane(c);     
    public static void main (String arg[])
         try{
         UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
         }catch(Exception s)
         Signup swu=new Signup();

    just try the following:
    jsp.getVerticalScrollbar().setValue(0);after inserting and adding all your components. this will set the vertical scrollbar up to the very first line.
    regards

  • How can I prevent iPhoto from auto-launching when I plug in a card reader?

    When I plug in a card reader, iPhoto assumes that it is being summoned and auto-magically launches itself. I don't want this to happen. I don't want iPhoto to ever launch without my permission, which I might grant once a year or so. Yet, every day I have to cope with it launching multiple times as I attempt to transfer photos to my hard drive. It is a minor annoyance, true, but it is an annoyance.
    My question, then, is how can I make iPhoto stop doing this? I've searched its settings high-and-low, but to no avail. I've searched the System Preferences high-and-low, but to no avail. There must be something I'm missing.
    Help me, Apple Forums, you're my only hope!
    any Macintosh   Mac OS X (10.4.2)  

    Hi John,
    the next info is on using Image Capture to download the images. In the preferences though, you can choose to have nothing open when the camera is connected.
    Using Image Capture to download images and video clips:
    Open up Image Capture which is found in the Applications folder.
    When it is opened, go to Image Capture/Preferences
    Under the General button choose
    Camera: When a camera is connected, open Image Capture.
    The next time you connect your camera Image Capture will open.
    In the window that opens you will see an Options button. Click on that button to set your options.
    To find out more about Image Capture (it can do a lot more) Click on Help in the menu bar when Image Capture is open.
    iPhoto: How to Change the "Open Automatically" Preference
    If you find you can't change any of Image Captures preferences or can't access any drop down menus or they are greyed out, check to make sure Image Capture is loose in the Applications folder and not within a sub folder.
    Lori

  • How Can I make a slide button1 autoslide another slidebutton2 to false if S.B.2 is True??

    Hi all
    How Can I make this Work! Look at my VI example.
    The VI runs, and the I start to switch the Integrating slide to true. and the random data can be seen in the Peak And Volume indicators.
    Then if I swith the Flow/Temp slide to True (Temp) and the Integrating slide is true, I want the it (The integrating slide) to auto switch to false.
    Now If i switch the The integrating slide to true it must remain true!,
    So If I then swith the Flow/Temp Slide back to false( Flow), Nothing happens with the Integrating slide.
    If I then switch the  Flow/Temp Slide to true( Temp), The integrating slide must reset to off again. and so on...
    Sorry for the long explaination.
    In my Attached Vi, I got it work autoswitching to false, but when The F/T slide is set to Temp, the Integrating slide will not switch to true!!
    Can any body see the problem!
    rgards
     ZAMZAM 
    HFZ
    Attachments:
    AutoSwitch.vi ‏62 KB

    The event handler is intended to make the user interface easier and to use fewer CPU cycles polling front panel controls. What you want can be done without it. See the attached file. For one control it is not too much different. If you had 5-10 controls or their interaction was more complex, the event handler would have a greater advantage. Also the event handler can easily monitor numeric or string inputs, enums, and other controls.
    Lynn
    Attachments:
    AutoSwitch.3.vi ‏42 KB

  • How can I make a part of the body of my content full width of the screen with a fluid grid layout in CSS? (In dreamweaver program)

    How can I make a part of the body of my content full width of the screen with a fluid grid layout in CSS? (In dreamweaver program)
    and I know it is being over-ridden by
    .gridContainer {
      width: 88.5%;
      max-width: 1232px;
      padding-left: 0.75%;
      padding-right: 0.75%;
      margin: auto;
      clear: none;
      float: none;

    Abdelqader Alnobani wrote:
    How can I make a part of the body of my content full width of the screen with a fluid grid layout in CSS? (In dreamweaver program)
    and I know it is being over-ridden by
    .gridContainer {
      width: 88.5%;
      max-width: 1232px;
      padding-left: 0.75%;
      padding-right: 0.75%;
      margin: auto;
      clear: none;
      float: none;
    Logically a structure something like below should work BUT whether or not it will upset the FG I don't know as I wouldn't ever use it.
    <div class="gridContainer">
    Top Code Section Goes Here
    </div>
    <!-- close gridContainer -->
    <div id="fullWidth">
    Full width section goes here
    </div>
    <!-- close fullWidth -->
    <div class="gridContainer">
    Bottom Code Section Goes Here
    </div>
    <!-- close gridContainer -->

  • How can I make a window show up in every desktop?

    How can I make a window show up in every desktop so when a user switches views it's still on their screen, using Xcode, Applescript-ObjC?

    hi, try this:
    public static void centerWindow(Window win){
    Dimension screenSizeWithSpeedBar = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension screenSize = new Dimension(screenSizeWithSpeedBar.width,screenSizeWithSpeedBar.height-25);
    Dimension frameSize = win.getSize();
    if (frameSize.height > screenSize.height)
    frameSize.height = screenSize.height;
    if (frameSize.width > screenSize.width)
    frameSize.width = screenSize.width;
    win.setSize(frameSize);
    win.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
    It works with following arguments: JWindow, JFrame and JDialog

  • How can I make a shortcut which will enter my email address in an input widow of a web page?

    how can I make a shortcut which will enter my email address in a website window.

    That is controlled by the web browser you are using. It is called Auto Fill in most of them. I don't use Safari so I'm not sure how that works in that browser.

  • How can I make google my real default search engine?

    Yes, I have set Google as my preferred search engine in Safari Preferences.
    But when I try to do things such as define a word, it uses Bing.
    Frankly, I do not care for Bing.
    How can I make google always be my search engine?
    Thanks

    Here you go Andy.
    I did learn some things while looking at it.
    I need to clean out byTimemachine drive  :-)
    EtreCheck version: 1.9.11 (43) - report generated May 24, 2014 at 3:36:36 PM CDT
    Hardware Information:
              MacBook Pro (17-inch, Early 2011)
              MacBook Pro - model: MacBookPro8,3
              1 2.2 GHz Intel Core i7 CPU: 4 cores
              16 GB RAM
    Video Information:
              Intel HD Graphics 3000 - VRAM: 512 MB
              AMD Radeon HD 6750M - VRAM: 1024 MB
    System Software:
              OS X 10.9.3 (13D65) - Uptime: 0 days 4:36:5
    Disk Information:
              APPLE HDD HTS541075A9E662 disk0 : (750.16 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 651.3 GB (128.86 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
                        BOOTCAMP (disk0s4) /Volumes/BOOTCAMP: 98 GB (53.79 GB free)
              MATSHITADVD-R   UJ-8A8 
              ST1000LM024 HN-M101MBB disk1 : (1 TB)
                        EFI (disk1s1) <not mounted>: 209.7 MB
                        Time Machine (disk1s2) /Volumes/Time Machine: 999.86 GB (258.83 GB free)
    USB Information:
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. Apple Internal Keyboard / Trackpad
              Seagate FreeAgent GoFlex 1.5 TB
                        Photo Drive (disk3s1) /Volumes/Photo Drive: 1.5 TB (1.03 TB free)
              PNY Technologies USB 2.0 FD 32.18 GB
                        USB20FD (disk2s1) /Volumes/USB20FD: 32.18 GB (18.46 GB free)
              Apple Computer, Inc. IR Receiver
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
                        LaCie Rugged mini
    Gatekeeper:
              Mac App Store and identified developers
    Kernel Extensions:
              [kext loaded] com.AmbrosiaSW.AudioSupport (4.1.2 - SDK 10.6) Support
              [kext loaded] com.Cycling74.driver.Soundflower (1.5.3 - SDK 10.6) Support
              [not loaded] com.Ralink.driver.RT2870USBWirelessDriver (4.2.6 - SDK 10.6) Support
              [not loaded] com.elgato.driver.DontMatchAfaTech (1.1) Support
              [not loaded] com.elgato.driver.DontMatchCinergy450 (1.1) Support
              [not loaded] com.elgato.driver.DontMatchCinergyXS (1.1) Support
              [not loaded] com.elgato.driver.DontMatchEmpia (1.1) Support
              [not loaded] com.elgato.driver.DontMatchVoyager (1.1) Support
              [not loaded] com.mtk.driver.mXHCD (1.0.0) Support
              [not loaded] com.quark.driver.Tether (1.1.0d1) Support
              [kext loaded] com.quark.driver.Tether64 (1.1.0d1) Support
              [not loaded] com.realtek.driver.RTL8192SU (1066) Support
              [not loaded] com.realtek.driver.RTL8812AU (1021 - SDK 10.8) Support
              [not loaded] com.rim.driver.BlackBerryUSBDriverInt (0.0.52) Support
              [not loaded] com.rim.driver.BlackBerryUSBDriverVSP (0.0.45) Support
              [not loaded] com.roxio.BluRaySupport (1.1.6) Support
              [not loaded] com.roxio.TDIXController (2.0) Support
              [kext loaded] com.seagate.driver.PowSecDriverCore (5.2.2 - SDK 10.4) Support
              [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.2 - SDK 10.4) Support
              [kext loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.2 - SDK 10.5) Support
              [not loaded] com.seagate.driver.SeagateDriveIcons (5.2.2 - SDK 10.4) Support
              [not loaded] com.silabs.driver.CP210xVCPDriver (3.0.0d1) Support
              [not loaded] com.silabs.driver.CP210xVCPDriver64 (3.0.0d1) Support
              [kext loaded] com.symantec.kext.SymAPComm (12.6f28 - SDK 10.6) Support
              [not loaded] com.symantec.kext.filesecurity (2.6f32) Support
              [kext loaded] com.symantec.kext.fw (5.3f12) Support
              [kext loaded] com.symantec.kext.internetSecurity (5.3f6) Support
              [kext loaded] com.symantec.kext.ips (3.9.1f10) Support
              [kext loaded] com.symantec.kext.pf (5.6f22) Support
              [not loaded] com.wdc.driver.1394HP (1.0.5) Support
              [not loaded] com.wdc.driver.USBHP (1.0.1) Support
    Startup Items:
              WiFiUtilityStartUp: Path: /System/Library/StartupItems/WiFiUtilityStartUp
              ProTec6: Path: /Library/StartupItems/ProTec6
              ProTec6b: Path: /Library/StartupItems/ProTec6b
    Problem System Launch Agents:
              [loaded] com.paragon.NTFS.notify.plist Support
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist Support
              [loaded] com.ambrosiasw.ambrosiaaudiosupporthelper.daemon.plist Support
              [running] com.backblaze.bzserv.plist Support
              [loaded] com.bombich.ccc.plist Support
              [running] com.fitbit.galileod.plist Support
              [loaded] com.genieoinnovation.macextension.client.plist Support
              [loaded] com.google.keystone.daemon.plist Support
              [loaded] com.macpaw.CleanMyMac2.Agent.plist Support
              [running] com.micromat.TechToolProDaemon.plist Support
              [loaded] com.microsoft.office.licensing.helper.plist Support
              [loaded] com.oracle.java.Helper-Tool.plist Support
              [loaded] com.oracle.java.JavaUpdateHelper.plist Support
              [running] com.symantec.deepsight-extractor.plist Support
              [loaded] com.symantec.errorreporter-periodic.plist Support
              [loaded] com.symantec.liveupdate.daemon.ondemand.plist Support
              [loaded] com.symantec.liveupdate.daemon.plist Support
              [not loaded] com.symantec.nav.migrateqtf.plist Support
              [running] com.symantec.sharedsettings.plist Support
              [running] com.symantec.symdaemon.plist Support
    Launch Agents:
              [not loaded] com.adobe.AAM.Updater-1.0.plist Support
              [running] com.adobe.AdobeCreativeCloud.plist Support
              [running] com.epson.epw.agent.plist Support
              [running] com.genieoinnovation.macextension.plist Support
              [loaded] com.google.keystone.agent.plist Support
              [running] com.micromat.TechToolProAgent.plist Support
              [loaded] com.oracle.java.Java-Updater.plist Support
              [running] com.rim.BBLaunchAgent.plist Support
              [loaded] com.symantec.errorreporter-periodicagent.plist Support
              [loaded] com.symantec.nis.application.plist Support
              [running] com.symantec.uiagent.application.plist Support
              [not loaded] com.trendnet.wutility Support
              [running] Wlan.Software.plist Support
              [failed] WlanAC.plist Support
    User Launch Agents:
              [loaded] com.adobe.AAM.Updater-1.0.plist Support
              [loaded] com.adobe.ARM.[...].plist Support
              [loaded] com.adobe.ARM.[...].plist Support
              [running] com.akamai.single-user-client.plist Support
              [running] com.backblaze.bzbmenu.plist Support
              [loaded] com.genieo.completer.download.plist Support
              [loaded] com.genieo.completer.update.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
              [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
              [running] com.microsoft.LaunchAgent.SyncServicesAgent.plist Support
              [not loaded] ws.agile.1PasswordAgent.plist Support
    User Login Items:
              Garmin Express Service
              WeatherBug Alert
              GoFlex Home Agent
              iTunesHelper
              Dropbox
              Fitbit Connect Menubar Helper
    Internet Plug-ins:
              JavaAppletPlugin: Version: Java 7 Update 55 Check version
              Google Earth Web Plug-in: Version: 6.0 Support
              Default Browser: Version: 537 - SDK 10.9
              Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 Support
              OfficeLiveBrowserPlugin: Version: 12.2.9 Support
              SlingPlayer: Version: (null) - SDK 10.6 Support
              AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 Support
              FlashPlayer-10.6: Version: 13.0.0.214 - SDK 10.6 Support
              AdobePDFViewerNPAPI: Version: 11.0.07 - SDK 10.6 Support
              Silverlight: Version: 5.1.30317.0 - SDK 10.6 Support
              Flash Player: Version: 13.0.0.214 - SDK 10.6 Support
              iPhotoPhotocast: Version: 7.0
              QuickTime Plugin: Version: 7.7.3
              SharePointBrowserPlugin: Version: 14.4.1 - SDK 10.6 Support
              AdobePDFViewer: Version: 11.0.07 - SDK 10.6 Support
              CouponPrinter-FireFox_v2: Version: Version 1.1.7 - SDK 10.5 Support
              GarminGpsControl: Version: 4.0.4.0 Release - SDK 10.6 Support
              EPPEX Plugin: Version: 3.0.5.0 Support
              DirectorShockwave: Version: 12.0.4r144 - SDK 10.6 Support
    Safari Extensions:
              Translate: Version: 1.1
              Video Converter: Version: 3.0.0
              1Password: Version: 4.1.0
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              InstantOn: Version: 7.1.2 - SDK 10.8 Support
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 Support
              Google Earth Web Plug-in: Version: 7.1 Support
    3rd Party Preference Panes:
              Akamai NetSession Preferences  Support
              Backblaze Backup  Support
              EarthDesk  Support
              Flash Player  Support
              Flip4Mac WMV  Support
              Java  Support
              MagicMenu  Support
              MagicPrefs  Support
              Norton\nQuickMenu  Support
              Paragon NTFS for Mac ® OS X  Support
              Perian  Support
              TechTool Protection  Support
    Time Machine:
              Skip System Files: NO
              Mobile backups: OFF
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 606.57 GB Disk used: 486.56 GB
              Destinations:
                        Time Machine [Local] (Last used)
                        Total size: 931.19 GB
                        Total number of backups: 43
                        Oldest backup: 2014-04-26 21:03:29 +0000
                        Last backup: 2014-05-24 20:28:32 +0000
                        Size of backup disk: Too small
                                  Backup size 931.19 GB < (Disk used 486.56 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                  47%          bzfilelist
                   2%          WindowServer
                   0%          Dropbox
                   0%          Creative Cloud
                   0%          fontd
    Top Processes by Memory:
              279 MB          SymDaemon
              246 MB          AdobeAcrobat
              229 MB          mds_stores
              180 MB          com.apple.IconServicesAgent
              147 MB          Microsoft Database Daemon
    Virtual Memory Information:
              10.50 GB          Free RAM
              2.81 GB          Active RAM
              850 MB          Inactive RAM
              1.84 GB          Wired RAM
              1.65 GB          Page-ins
              0 B          Page-outs

  • How can I make a Splitting in Cost center accounting by Cost elements?

    Hi experts:
    I have defined a splitting structure and I would like to split the cost bettew fixed and variables cost.
    To to that I have defined two different assignments and in the selection for each assignment  I have completed the "Field label" with:
    In the first assigment I would like to have only the "fixed cost" and I did the next:
    1. Cost element (I have entered a Group) the cost which is in this cost element group is 4.000.0000 euros
    2.- Activity type (I have entered a Individual value)
    In the second assignment I did the same but with a different Cost element group (the original amount was 6.000.000 euros
    The problem is that when I have executed the transaction to do the split, the system split the 50% of the total cost (10.000.000 euros)  to each assignment.
    How can I make if I want that the system split the cost based only in the "cost element group" which are defined one of them for the "Fixed cost" and the another one for "Variable cost"??
    Are there any method which can split a total Cost for a Cost center based only in the cost amount for a cost element group??
    Thanks a regards!!
    Manuel

    sry. im not from the united states, and I never think to spell when posting on forums
    Your site's customers will think of it, and they will regard such errors as the mark of a sloppy vendor, not a sloppy webmaster.  And I'm not sure what being from the US has to do with anything.
    I want to position the container in the center while having absolute positioning, is that possible?
    I have doubts, I've seen a lot of people saying that u can't center a container with aboslute position.
    Then you should remove those people from your circle of trust.  Of course it's possible.
    Make the container relatively positioned, and centering with an explicit width and auto left/right margins.  The inner absolutely positioned elements will center along with their positioned ancestor.

  • How can I make US letter the default print size in PSE12

    How can I make US letter the default print size in PSE12

    Clips from JVC Everio camcorders have always had this problem with Premiere Elements (all versions). You need to select Interpret Footage.
    See this FAQ from PE version 2, step 3. Like I said it has been this way with all versions:
    http://www.adobeforums.com/webx/.3bc1265c
    You might be able to use this tool to change the header of your MOD files so they are seen as 16:9: http://www.videohelp.com/tools/DVDPatcher
    Or use this program (SDCopy) to download the video's from the cam, it will allow you to copy straight from the cam to your PC and auto renames and corrects the aspect ratio.
    http://zyvid.com/smf/index.php?action=dlattach;topic=280.0;id=153

  • How can i turn off an auto renewing subscription to Netflix ?

    How can i turn off an auto renewing subscription to Netflix ?

    Interesting turn of phrase.   Are you suggesting that Netflix has none standard terms and conditions that could activate penalties if the user casually unsubscribes.
    I am not familiar with their terms - I've never had a subscription with Netflix. Personally, I will always check the terms of any business I do business with and know how to cancel before committing to a contract.
    Edit: I just took the time to browse through their terms which appear rather straight up:
    https://signup.netflix.com/TermsOfUse
    From the OP's post, I also did not assume that their subscription was through an iTunes app as a direct subscription was/is available. I do not know if the terms might differ if going through iTunes (which would make sense if Netflix would be losing money by offering their service through iTunes?).

Maybe you are looking for