VBox grow and resize

All I have an inner VBOX nested inside a VBOX. the inner box is shown and hidden using setVisible(). When I start up the parent vbox still shows a space where the inner box is, and does not shrink. How do I set it so that the inner box is hidden and the parent takes up that space.

So a simple example would be this. Checkbox at the top that controls the button HBox.
package test;
import java.util.Comparator;
public class TestApplication extends Application {
     private TableView<ExchangeDataEvent> exchangesTable = new TableView<ExchangeDataEvent>();
     private ExchangesTestEventList exchangesTestEventList = new ExchangesTestEventList();
     static ObservableList<ExchangeDataEvent> data  = FXCollections.observableArrayList();
     @Override
     public void start(final Stage stage) throws Exception {
          initData();
          final VBox rootPane = new VBox();
          rootPane.setSpacing(10);
          TableColumn<ExchangeDataEvent,String> exchangeFlagCol = new TableColumn<ExchangeDataEvent,String>("");
          exchangeFlagCol.setCellValueFactory(new PropertyValueFactory<ExchangeDataEvent,String>("id"));
          exchangeFlagCol.setPrefWidth(50);
          TableColumn<ExchangeDataEvent,String> exchangeCol = new TableColumn<ExchangeDataEvent,String>("Exchange");
          exchangeCol.setCellValueFactory(new PropertyValueFactory<ExchangeDataEvent,String>("name"));
          exchangeCol.setSortType(SortType.DESCENDING);
          exchangeCol.setPrefWidth(50);
          TableColumn<ExchangeDataEvent,String> descCol = new TableColumn<ExchangeDataEvent,String>("Description");
          descCol.setCellValueFactory(new PropertyValueFactory<ExchangeDataEvent,String>("description"));
          descCol.setPrefWidth(50);
          descCol.setSortType(SortType.DESCENDING);
          this.exchangesTable.setPrefWidth(200);
          this.exchangesTable.setItems(this.exchangesTestEventList);
          this.exchangesTable.getSelectionModel().setSelectionMode(SelectionMode.SINGLE);
          this.exchangesTable.getColumns().addAll(exchangeFlagCol, exchangeCol, descCol);
          //Layout
          final HBox hbox = new HBox();
          hbox.setVisible(false);
          hbox.setManaged(false);
          Button buyButton = new Button("BUY");
          Button sellButton = new Button("SELL");
          hbox.getChildren().addAll(buyButton, sellButton);
          final CheckBox checkBox = new CheckBox("ShowDetails");
          checkBox.addEventHandler(MouseEvent.MOUSE_CLICKED, new EventHandler<Event>() {
               @Override
               public void handle(Event event) {
                    boolean selected = checkBox.isSelected();
                    if(selected) {
                         hbox.setVisible(true);
                         return;
                    hbox.setVisible(false);
          rootPane.getChildren().addAll(checkBox, exchangesTable, hbox);
         Scene scene = new Scene(rootPane, 400, 400, Color.WHITE); 
          stage.setResizable(true);
          stage.setScene(scene);
        stage.show();
     private void initData() {
          for (int i = 0; i < 50; i++) {
               this.exchangesTestEventList.add(new ExchangeDataEvent(+i, "SFE", "SFE EXCHANGE", true));
               this.exchangesTestEventList.add(new ExchangeDataEvent(+i, "LSE", "SLE MARKETS EXCHNAGE", true));
               this.exchangesTestEventList.add(new ExchangeDataEvent(+i, "NYSE", "NEW YORK", true));
               this.exchangesTestEventList.add(new ExchangeDataEvent(+i, "KSE", "KKOREA", true));
               this.exchangesTestEventList.add(new ExchangeDataEvent(+i, "CME", "CME EXCHANGE", true));
               this.exchangesTestEventList.add(new ExchangeDataEvent(+i, "SFE", "SFE EXCHANGE", true));
               this.exchangesTestEventList.add(new ExchangeDataEvent(+i, "LSE", "SLE MARKETS EXCHNAGE", true));
               this.exchangesTestEventList.add(new ExchangeDataEvent(+i, "NYSE", "NEW YORK", true));
               this.exchangesTestEventList.add(new ExchangeDataEvent(+i, "KSE", "KKOREA", true));
               this.exchangesTestEventList.add(new ExchangeDataEvent(+i, "CME", "CME EXCHANGE", true));
               this.exchangesTestEventList.add(new ExchangeDataEvent(+i, "SFE", "SFE EXCHANGE", true));
               this.exchangesTestEventList.add(new ExchangeDataEvent(+i, "LSE", "SLE MARKETS EXCHNAGE", true));
               this.exchangesTestEventList.add(new ExchangeDataEvent(+i, "NYSE", "NEW YORK", true));
               this.exchangesTestEventList.add(new ExchangeDataEvent(+i, "KSE", "KKOREA", true));
     public static void main(String[] args) {
          Application.launch(TestApplication.class, args);
     class ExchangesTestEventList extends ObservableListWrapper<ExchangeDataEvent> {
           * Creates a new instance of {@link ExchangesEventList}.
          public ExchangesTestEventList() {
               super(data);
           * Adds a new data record to the market data list
           * @param event
          public final void addMarketDataEvent(ExchangeDataEvent event) {
               data.add(event);
               this.sort(new MovieComparator());
//               this.sort();
          class MovieComparator implements Comparator<ExchangeDataEvent>{
              @Override
              public int compare(ExchangeDataEvent ex1, ExchangeDataEvent ex2) {
                   if(ex1.getName().equals(ex2.getName())) {
                       return 1;
                  if(!ex1.getName().equals(ex2.getName())) {
                       return 0;
                  return -1;
     public class ExchangeDataEvent extends TreeItem<ExchangeDataEvent> {
          private final String name;
          private final String description;
          private final boolean enabled;
          private final long id;
          public ExchangeDataEvent(long id, String name, String description, boolean enabled) {
               this.id = id;
               this.name = name;
               this.description = description;
               this.enabled = enabled;
               setExpanded(true);
          public long getId() {
               return this.id;
          public String getName() {
               return this.name;
          public String getDescription() {
               return this.description;
          public boolean isEnabled() {
               return this.enabled;
}

Similar Messages

  • Image effect grow and resize

    I know that the heading may not be most suitable but that'a the only thing that I could come up with recently I came across a site with a great image effect u can check it out here
    http://www.whereweget.com/movies-and-videos/13714-billa-dvdrip-video-songs-2009-rsmf.html
    can anyone tell me how to achieve this direct me to a tutorial or give me a code  or anything related thanks in advance.

    Well the link is correct but there seems to be some thing blocking it cause if u visit the page after visiting the home page of the site it comes out fine so if u want u can check out the home page even the home page have few examples try to click few of the images in the posts
    Here is the link to the website:
    http://whereweget.com
    no tried the spry apps but this one's better not only that we can fit the image to its actual size by clicking a link thats at the bottom of few of the images in the right bottom corner well thats for the help

  • Grow and shrink JLabel to the left?

    I'm interested in putting a JLabel on the right hand side of the screen and having it resize (grow and shrink) on an on-going basis to the left. Any pointers on this? Here's some code that places a label on the upper right of the screen and then resizes the label. It grows off the right hand side of the screen...
    import javax.swing.*;
    import java.awt.*;
    public class GrowRight
    public static void main (String args[]) throws InterruptedException
    JLabel label = new JLabel ("this is a test...");
    JFrame frame = new JFrame ("GrowRight");
    frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
    frame.getContentPane().setLayout (new FlowLayout());
    frame.getContentPane().add (label);
    frame.setSize (label.getPreferredSize());
    frame.pack();
    Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
    frame.setLocation (d.width - frame.getSize().width, 0);
    frame.setVisible (true);
    Thread.sleep (50000);
    label.setText ("for the next sixty seconds, this station...");
    frame.setSize (label.getPreferredSize());
    frame.pack();
    Any help would be appreciated! Thanks.

    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class GrowRight
    public static void main (String args[]) throws InterruptedException
    JLabel label = new JLabel ("this is a test...");
    final JFrame frame = new JFrame ("GrowRight");
    frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
    frame.getContentPane().setLayout (new FlowLayout());
    frame.getContentPane().add (label);
    frame.setSize (label.getPreferredSize());
    frame.pack();
    final Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
    frame.setLocation (d.width - frame.getSize().width, 0);
    frame.setVisible (true);
    frame.addComponentListener(new ComponentAdapter(){//<---------------------
      public void componentResized(ComponentEvent ce){
        frame.setLocation (d.width - frame.getSize().width, 0);
    Thread.sleep (5000);
    label.setText ("for the next sixty seconds, this station...");
    frame.setSize (label.getPreferredSize());
    frame.pack();
    }

  • Growing and shrinking text

    hi,
    does anyone know how to make text grow and shrink? i'm using oprea web browser, and when i place my mouse over some buttons text appears and then moving it off the button the text shrink, it does not appear and disappear, but actually grows out and shrinks in from a point. does anyone know how to do this?
    Thank you.

    hi,
    thank you for the response, i know about the listener, question was really regarding how to resize text so that it resizes smoothly, looks like it's growing and shrinking not just one second it's size 10 and then size 1, i want to make it flow from 10 to 1 for example, like opera browser, should i use a thread or is there a better way?
    Thank you.

  • How to remove a plot and resize the plot legend in LV 8.6 as in this link to a LV 7.0 example

    This VI ( ftp://ftp.ni.com/pub/devzone/epd/201150.vi ) works exactly as I want an 8.6 application to - but the property node used in the example is no longer supported.
    I can add/remove plots and resize the plot legend with 8.6 using the "LegNumRows" property however this property does not appear to behave the same way.
    It seems this should be straight forward but I must be missing something.
    Solved!
    Go to Solution.

    Hi again!
    I have implemented a method to shuffle the plots in the legend and was satisfied with one exception- the plot colors. This application allows the user to add or delete plots from the graph, adding a plot is easy as the new plot name gets appended to the next place on the legend and the number of rows grows by one. Deleting a plot is also quite easy but this action brought up a usability issue in that the existing plots that were shuffled on the legend would also shift their colorsaccordingly. To eliminate possible confusion I want to keep the correlation between existing plots and their assigned colors so I tried to use the plot color property to change the plot color programmatically with unexpected results.
    Programmatically changing a color from the "Plot Colors" array does not change the color of that plot if it is set to any of the "Common Plots" wih the exception of "Common Plot 0" - i.e. this doesn't seem to work for Bar Plots which is what I am using.
    I have attached a demo VI to illustrate this behavior - there are detailed free labels on the front panel which describe this in more detail.
    Regards and thank's in advance!
    Attachments:
    Plot color behavior.vi ‏27 KB

  • Multiple Panes and Resizing

    Folks - I have 9 plots on a front panel window. I want to allow the user to be able to pull any corner of the window and have the plots resize proportionally.  I have created 2 horizontal panes and 6 vertical panes in order to have 9 containers, one for each plot.   I have checked 'fit control to pane' for all 9 plots.Only the right-most column and bottom-most row resize, and not proportionally.  Just wanted to know if there is something I am missing that would make this doable.
    Thanks,
    Don
    Solved!
    Go to Solution.
    Attachments:
    AEStats_vs_time_plots.vi ‏18 KB

    Hello Don,
    I've been playing around with a few things.  I have not found a simple way to accomplish what you described - this is based on the assumption that you want the other panes to "move out of the way" as you expand one of the charts.  Getting one of the charts to expand proportionally is just a matter of holding down the shift key while you drag out one of the chart's corners.  Unfortunately, the chart will either grow and cover-up the other charts (which will hurt performance), or the pane will not grow with the expanding chart.
    I suspect something may be done with XControls, but the amount of effort required may significantly outweigh the benefit. 
    I will spend a little more time poking around to see what some other options may be for you.  How critical is it that all of the charts remain visible at all times?
    Best regards. 
    Matthew H.
    Applications Engineer
    National Instruments

  • What is the best way to move and resize layers?

    When I click on a layer to move and resize it in Elements 8 in Windows 7, it disappears.  After I go to Edit/Undo, it reappears.  What should I do?

    I have PSEv.8 and Windows 7, and the Editor works like a charm for me.
    Try the following:
    Open picture 1, duplicate the background layer.
    Open picture 2, make a selection of something in the picture with one of the selection tools, and then go to Edit>copy. This puts the selection on the clipboard.
    Go back to to picture 1, go to Edit>paste, and the selection will be on its own layer
    Use the move tool to position and resize the selection.
    The middle layer can be dragged to the top. Here, this process will obscure visibility of Layer 1, but you can drag the layer structure back, of course.
    http://www.pixentral.com/show.php?picture=1D3wrzjD5r24U8LfdTA1sdUb0zJOY0
    I opened a picture of the house on the lake, copied/pasted the "Slick Rock Divide" sign as per above. The layer structure is represented in the print screen.
    You should note that it is best if the resolution of the picture files is the same, or close to it.

  • Photoshop CC: Have a template that I moved image into.  Image is too small.  How do I resize the image while in the template?  Or must I go to original image file and resize there again and again until I get the right fit?

    I have a template that I am able to plug different pictures into at different times.  The problem is that when I plug an image into that template, I find that the image is either too big or too small.  Is there a way to plug the image into the template and resize the image (and not the template itself) OR will I have to go to the file with the original image and resize it there and then try to plug it in to the template to see if it fits------and if it does not fit, go back to the original file with the image and resize it again and see if that fits---and so on and so on...........?  I have tried the" image size" option but it's hit or miss------mostly miss!
    Thanks!

    Read up on Smart Objects. It looks like you have no idea as to how to create and use them.
    Jut create a Smart Object from the layer containing whatever it image it is that you are "plugging into your template".  But you do need to learn the application at its most basic levels.
    Photoshop is a professional level application that makes no apologies for its very long and steep learning curve.  You cannot learn Photoshop in a forum, one question at a time.
    Or is it possible that you don't even have Photoshop proper but the stripped-down Photoshop Elements?"
    If the latter is the case, you're in the wrong forum.  This is not the Elements forum.
    Here's the link to the forum you would want if you're working in Elements.:
    https://forums.adobe.com/community/photoshop_elements/content
    If you do have Photoshop proper, please provide the exact version number of that application and of your OS.
    (edited for clarification)

  • Help needed in Drag and Drop and  resizing of image icons

    Hi all,
    I'm doing a project on Drag and Drop and resizing of image icons.
    There is one DragContainer in which i have loaded the image icons and i want to drop these image icons on to the DropContainer.
    After Dropping these icons on to the DropContainer i need to resize them.
    I have used the Rectangle object in resizing.
    The problem now i'm facing is when i drag, drop and resize an image icon and when i try to drag, drop a second image icon the first image icon gets erased.
    can any one help me in fixing this error.
    if u want i can provide the source code.
    thanks in advance
    murali

    the major restrictions in its implemented only in
    jdk1.1.Why!

  • Upload and Resize Image not inserting filename in database

    I have a form that I created using the insert record form wizard. One of the fields is a file field and my form enctype is set to multipart/form-data. I then used the upload and resize image behavior and set the parameters. When testing the form the file uploads to the correct directory but no entry is made into the database for that particular field. The other fields are entered into the database just fine. If it helps, here is the code generated before the  tag:
    <br />
    <br /><?php require_once('../../Connections/test.php'); ?>
    <br /><?php<br />// Load the common classes<br />require_once('../../includes/common/KT_common.php');<br /><br />// Load the tNG classes<br />require_once('../../includes/tng/tNG.inc.php');<br /><br />// Make a transaction dispatcher instance<br />$tNGs = new tNG_dispatcher("../../");<br /><br />// Make unified connection variable<br />$conn_test = new KT_connection($test, $database_test);<br /><br />// Start trigger<br />$formValidation = new tNG_FormValidation();<br />$tNGs->prepareValidation($formValidation);<br />// End trigger<br /><br />//start Trigger_ImageUpload trigger<br />//remove this line if you want to edit the code by hand <br />function Trigger_ImageUpload(&$tNG) {<br />  $uploadObj = new tNG_ImageUpload($tNG);<br />  $uploadObj->setFormFieldName("picture");<br />  $uploadObj->setDbFieldName("picture");<br />  $uploadObj->setFolder("../images/");<br />  $uploadObj->setResize("true", 120, 0);<br />  $uploadObj->setMaxSize(1500);<br />  $uploadObj->setAllowedExtensions("gif, jpg, jpe, jpeg, png, bmp");<br />  $uploadObj->setRename("auto");<br />  return $uploadObj->Execute();<br />}<br />//end Trigger_ImageUpload trigger<br /><br />// Make an insert transaction instance<br />$ins_team = new tNG_insert($conn_test);<br />$tNGs->addTransaction($ins_team);<br />// Register triggers<br />$ins_team->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");<br />$ins_team->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation);<br />$ins_team->registerTrigger("END", "Trigger_Default_Redirect", 99, "../team.php");<br />$ins_team->registerTrigger("AFTER", "Trigger_ImageUpload", 97);<br />// Add columns<br />$ins_team->setTable("team");<br />$ins_team->addColumn("id", "NUMERIC_TYPE", "POST", "id");<br />$ins_team->addColumn("sort", "NUMERIC_TYPE", "POST", "sort");<br />$ins_team->addColumn("name", "STRING_TYPE", "POST", "name");<br />$ins_team->addColumn("title", "STRING_TYPE", "POST", "title");<br />$ins_team->addColumn("description", "STRING_TYPE", "POST", "description");<br />$ins_team->addColumn("picture", "FILE_TYPE", "FILES", "picture");<br />$ins_team->setPrimaryKey("id", "NUMERIC_TYPE");<br /><br />// Execute all the registered transactions<br />$tNGs->executeTransactions();<br /><br />// Get the transaction recordset<br />$rsteam = $tNGs->getRecordset("team");<br />$row_rsteam = mysql_fetch_assoc($rsteam);<br />$totalRows_rsteam = mysql_num_rows($rsteam);<br />?>

    If the reason is about memory, warning message should be happened when upload the image, because "show thumbnail" means resize at second time, how come you failed to resize the picture that system let it upload succeed at the first time by the same resize process?
    upload procedure
    a.jpg: 2722x1814, 1.2mb
    upload condition: fixed width 330px, 1.5mb
    "upload and resize" a.jpg -> file upload -> "resize engine" -> passed (but not work and no warning message)
    "show thumbnail" a.jpg -> "resize engine" -> failed (not enough memory)
    it doesn't make sense.
    and you miss an important key point, I upload the same picture myself, and resize work, so I said it happened at random, and that's why I am so worried.

  • Use of Java Swing +Applescript to move and resize Mac OS X windows using

    Here is an interesting use of Java on Mac OS X and Applescript to
    enable moving and resizing of windows using mouse and keyboard:
    [MoveResize tool|http://code.google.com/p/sandipchitalesmacosxstuff/#Move_and_resize_windows_on_Mac_OS_X]
    How it works:
    The implementation uses Applescript to get the front most window and
    it's bounds. It sends the bounds rectangle to a server implemented in
    Java over a socket connection. The Java server takes the screen shot
    of the full Desktop and uses it as the Image label (a JLabel with
    ImageIcon) as the content pane of an undecorated JFrame which has the
    same bounds as the Desktop. A JPanel with semitransparent background
    and a dark rounded rectangular border is given the same bounds that
    were received over the socket. This JPanel is added to the
    PALETTE_LAYER of the JFrame's layered pane - which makes it appear
    floating in front of the front window. A Mouse and a Key listener
    added to the JPanel allow moving and resizing of the JPanel. When the
    user types the ENTER key the JFrame is hidden and the new bounds of
    the JPanel are sent back to the Applescript over the socket connection
    which moves and resizes the front most window.
    Enjoy!
    Sandip
    Edited by: chitale on May 14, 2009 4:12 AM

    Copy the /Home/Documents/ folder to the NAS drive. That drive needs to support AFP or you may run into filename problems and/or other file related problems due to filesystem differences.
    Once the folder has been moved to the NAS select the folder on the NAS and CTRL- or RIGHT-click. Select Make Alias from the drop down menu. You should now have an alias named "Documents alias." On the Mac put the /Home/Documents/ folder in the Trash but don't delete it. Copy the alias file from the NAS to the /Home/ folder. Rename it to simply "Documents." Double-click on it to be sure it opens the folder on the NAS. If so you can empty the Trash. You're done.

  • How do I allow the user to select and resize the CNiGraph while executing?

    I am writing an application with Measurement Studio and Visual C++ that will allow the user to create graphs on the fly. I need to give them the capability to select a graph and resize it in a manner consistent with most other Windows programs (i.e. resize handles). I have tried various implementations of the CRectTracker class and can get it to work for Microsoft controls, but I can not get it to work with the CNiGraph (the only one I have tried so far). The code runs but I never get the selection box or handles around the control. Is there a way to do this and is there an example anywhere that I can go from? Any help would be appreciated.

    Never mind. I have now found the way to do this.

  • Grow and Shrink the gallery's "mainImage"

    Grow and Shrink the gallery's "mainImage"
    I may pursue another option with the
    Class on trigger
    In this sample, a CSS class is set on the trigger to alert the user that something happens on the element. This is set as an option in the constructor.
    <script type="text/javascript">
    var highlight_tooltip = new Spry.Widget.Tooltip('highlighttrigger', '#classonme', {hideDelay:500, hoverClass:"enlarge"})
    </script>
    We have the main image in the photo gallery at full size.
    This is the image placeholder called "main image".
    Currently it is looks like this:
    <img id="mainImage" alt="main image" src=""/>
    I assume we add a mark-up similar to the icon grow effects code.
    So I will take a stab it now;
    <div id="Photograph" spry:region="dsPhotograph" onclick="HandlePhotograhClick('{ds_RowID}');" onmouseover="GrowPhotograph(this.getElementsByTagName('img')[0], '{@thumbwidth}', '{@Photographheight}');" onmouseout="ShrinkPhotograph(this.getElementsByTagName('img')[0]);"> <img src="galleries/{dsGalleries::@base}{dsGallery::Photograph/@base}{@Photographpath}" alt="Photograph for {@Photographpath}" width="Not Sure" height="Not Sure" id="tn{ds_RowID}" style="left: 0px; right: 0px;" onmouseover="this.style.cursor='pointer'" /> </div>
          <p class="ClearAll"></p>
    //need to look at ClearAll
        </div>
    //Now Add stuff the gallery.js
    // Show the image of the current selected row inside the dsPhotos data set.
    function ShowCurrentImage()
         var curRow = dsPhotos.getCurrentRow();
         SetMainImage("galleries/" + dsGalleries.getCurrentRow()["@base"] + "images/" + curRow["@path"], curRow["@width"], curRow["@height"], "tn" + curRow["ds_RowID"]);
    //I Need a variable like;
    ["@bigPhoto"]
    //Now I need add a function
    function HandlePhotographClick(id)
         //StopSlideShow();
         //dsPhotos.setCurrentRow(id);
         //ShowCurrentImage();
            //call Photograph grow ???
    // Trigger the animation of the Photograh growing to it's next largest size.
    function GrowPhotograph(img, width, height)
         Spry.Utils.addClassName(img, "inFocus");
         img.style.zIndex = 150;
         var id = img.getAttribute("id");
            //ADD This to the function GrowThumbnail in Gallery.js
    //after//
         //var twidth = Math.floor(width * .75);
         //var theight = Math.floor(height * .75);
         //var tx = (gThumbWidth - twidth) / 2;
         //var ty = (gThumbHeight - theight) / 2;
         var pwidth = Math.floor(width * 1.75);
         var pheight = Math.floor(height * 1.75);
         var px = (pThumbWidth - pwidth) / 2;//need to check this may not need
         var py = (pThumbHeight - pheight) / 2;//need to check this
         SizeAndPosition(id, tx, ty, twidth, theight, function(b){gBehaviorsArray[id] = null;});
    // Trigger the animation of the Photograph shrinking.
    function ShrinkPhotograph(img)
         Spry.Utils.addClassName(img, "inFocus");
         img.style.zIndex = 1;
         var id = img.getAttribute("id");
    //Need to look at this stuff below, any input from anybody would be good....
         SizeAndPosition(id, 0, 0, gThumbWidth, gThumbHeight, function(b){gBehaviorsArray[id] = null; Spry.Utils.removeClassName(img, "inFocus");});
    // Show the image of the current selected row inside the dsPhotos data set.
    function ShowCurrentImage()
         var curRow = dsPhotos.getCurrentRow();
         SetMainImage("galleries/" + dsGalleries.getCurrentRow()["@base"] + "images/" + curRow["@path"], curRow["@width"], curRow["@height"], "tn" + curRow["ds_RowID"]);
    Message was edited by: W_Bell

    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class GrowRight
    public static void main (String args[]) throws InterruptedException
    JLabel label = new JLabel ("this is a test...");
    final JFrame frame = new JFrame ("GrowRight");
    frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
    frame.getContentPane().setLayout (new FlowLayout());
    frame.getContentPane().add (label);
    frame.setSize (label.getPreferredSize());
    frame.pack();
    final Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
    frame.setLocation (d.width - frame.getSize().width, 0);
    frame.setVisible (true);
    frame.addComponentListener(new ComponentAdapter(){//<---------------------
      public void componentResized(ComponentEvent ce){
        frame.setLocation (d.width - frame.getSize().width, 0);
    Thread.sleep (5000);
    label.setText ("for the next sixty seconds, this station...");
    frame.setSize (label.getPreferredSize());
    frame.pack();
    }

  • SpamAssassin's AWL database growing and growing

    I know that this is a known problem, but maybe someone has found a solution in the meantime that did not came to my attention:
    I'm using the auto whitelist feature of SpamAssassin. Unfortunately I'm forced to erase the entire database from time to time, since there seems to be no auto maintenance - it grows and grows (reaches quickly 20 MB+).
    Is there a way to search the AWL list for e-mail addresses used only one or two times and remove exactly these ?

    I know that this is a known problem, but maybe someone has found a solution in the meantime that did not came to my attention:
    I'm using the auto whitelist feature of SpamAssassin. Unfortunately I'm forced to erase the entire database from time to time, since there seems to be no auto maintenance - it grows and grows (reaches quickly 20 MB+).
    Is there a way to search the AWL list for e-mail addresses used only one or two times and remove exactly these ?

  • Firefox "X" close and "_" minimize and Resize become unusable

    After running for a few minutes and visiting several web sites, in Firefox ver 3.6.13 the "X" close and "_" minimize and Resize buttons on the top right of the browser window become locked and unresponsive. this has just started recently. I've tried an overlay re-install with no effect. Any fix ideas would be appreciated.

    This happens to me too. It used to happen once in a while, probably due to hibernating and leaving firefox open for long periods or with too many tabs. Restarting the browser solves the problem.
    But after updating to 3.6.13 and some extensions/addons, it happens almost every time. The minimize, resize, close buttons do not work. I can still switch between the tabs I have open and make new tabs, but the title bar keeps the title of the last tab I was on when it froze. When smaller frames are open, such as download box or save as box, those freezes and can't be close either.
    If I minimize through "show desktop," the window doesn't open up again.

Maybe you are looking for

  • RSPC Variant does not exist - Could not find or load print parameters

    We are on BI 7.0 (support pack SAPKW70017).  We recently freshed test system from production.   After the refresh, we have problems opening all the process chains.   1. When I go to RSPC to open a process chain, I get many messages like this: Variant

  • Warning message on Sun Enterprise E3500

    Hi, Does anyone knows what the error below means? Feb 27 09:03:06 oracle unix: WARNING: /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2 1000004cf6850f6,0 (ssd11):^M^M Feb 27 09:03:06 oracle unix:    Error for Command: write(10)               Error Level:

  • Can I transfer photos on apple tv back to computer?

    I had an external hard drive failure recently and lost iphoto library. All photos can still be viewed on my apple tv, however. Is there a way I can transfer the photos back into my photo library?

  • My itouch only stays at 10% battery, why wont it charge anymore?

    I plugged my itouch in and left it for hours only to come back and find it has only charged to 10% of its battery. I tried plugging it into the ihome, my laptop, and my dads computer and its not charging. Will I have to buy a new battery?

  • T61 sound buttons (mute/up/d​own) not working at the moment...

    6465 63U machine, and since yesterday (7 July 09) these buttons have not worked. I did change some of the settings in msconfig area per the HP tech and now cannot use these buttons. Can anyone provide some insight as to which services must be enabled