How do I keep a Repeat Region after selection?

I have a Link/Menu button where the user chooses a city.  That populates a table with all the courses for that city.  Then the user can select any course to show information about that course I have the link set like this, charlottenccourses.php?course=<?php echo $row_getAll['course'];?>.  That is working fine, but when they select it, the table with the courses for the city disappears. So they have to select it again and hit go to see the courses again.  How can I make that stay to the same city with all the courses until they choose another one?  Thanks!

What I have is all on the same page.  Let me explain.  I have a list/menu
that displays all the cities.  Once that is selected, I have a "GO" button
and that creates the table list of all the course in a repeat region.  And
the rest of the page is a record set for which course is selected so it
previews information for the course selected.  The link is this:
charlottenccourses.php?course=<?php echo $row_getAll['course']; ?>
Once that is selected all the information for that course appears.  The
problem is, the original list of courses from the selected city now
disappears.  So the user has to go back and select the city, "GO" button if
they want to preview another course. I want to figure out a way to keep that
list of courses there even when the course is selected.
Is there a way to do that will the current structure of the page?

Similar Messages

  • How do I keep URLs from printing after Events?

    Version 3.0.8 (1287) - How do I keep URLs from printing after Events?

    Open the Pages preferences > uncheck Automatic detect email and web addresses

  • How to make server behaviors repeat region vertical?

    I have done many "Server Behavior, Repeat Region" showing vertical list without any other setup, now I’m doing a new one and is showing horizontal which doesn't make any sense. Does anybody know why and how to fix this “bad behavior”?

    This is very simple page no external or internal css is for internal use only to retrieve data base information. I currently have to more from different sites working fine without any third party app or any extra coding effort.  here are codes.
    Thank you guys for your prompt response.
    <?php require_once('Connections/customers.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $maxRows_Recordset1 = 10;
    $pageNum_Recordset1 = 0;
    if (isset($_GET['pageNum_Recordset1'])) {
      $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
    $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
    mysql_select_db($database_customers, $customers);
    $query_Recordset1 = "SELECT * FROM customers";
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $customers) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    if (isset($_GET['totalRows_Recordset1'])) {
      $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
    } else {
      $all_Recordset1 = mysql_query($query_Recordset1);
      $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
    $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>Untitled Document</title>
    </head>
    <body>
    <table width="158%" border="1">
      <tr>
      <th scope="col">ID</th>
        <th scope="col">Name</th>
        <th scope="col">Last Name</th>
        <th scope="col">Address</th>
        <th scope="col">City</th>
        <th scope="col">State</th>
        <th scope="col">Zip Code</th>
        <th scope="col">E-mail</th>
        <th scope="col">Phone</th>
        <th scope="col">Username</th>
        <th scope="col">Password</th>
        <th scope="col">Role</th>
      </tr>
      <tr>
        <?php do { ?>
          <td align="left"><?php echo $row_Recordset1['id']; ?></td>
          <td align="left"><?php echo $row_Recordset1['name']; ?></td>
          <td align="left"><?php echo $row_Recordset1['lname']; ?></td>
          <td align="left"><?php echo $row_Recordset1['address']; ?></td>
          <td align="left"><?php echo $row_Recordset1['city']; ?></td>
          <td align="left"><?php echo $row_Recordset1['state']; ?></td>
          <td align="left"><?php echo $row_Recordset1['zip']; ?></td>
          <td align="left"><?php echo $row_Recordset1['email']; ?></td>
          <td align="left"><?php echo $row_Recordset1['phone']; ?></td>
          <td align="left"><?php echo $row_Recordset1['username']; ?></td>
          <td align="left"><?php echo $row_Recordset1['password']; ?></td>
          <td align="left"><?php echo $row_Recordset1['role']; ?></td>
          <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
      </tr>
    </table>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>

  • How do you keep your ipod apps after updating to the 4.0 upgrade?

    I first backed up my iPod touch to keep all of my apps. Then I updated it to 4.0, when I got finished it didn't have any of my apps except the original ones from the iTouch. So I went to click restore from back up and it said that the 4.0 update would go away if I restored from backup. So how do I keep my apps and the update? I have bought some of the apps and do not think it would be fair to re buy them.

    No, a backup won't do anything, you need to check your sync settings and then re-sync.
    1- Connect your Touch to iTunes
    2- Verify that your App sync preferences are set correctly
    3- Verify that all your other sync preferences (Music, Video, Podcast) are set correctly
    4- Click Apply if you made any changes, or click Sync to initiate a sync w/o any changes.
    Assuming the missing Apps are in your iTunes, they should be added to your Touch after you re-sync.

  • How to hand-code a repeat region? (ASP/VBScript)  WorldPay workaround.

    Hi,
    So far I've been using the standard Dreamweaver Repeat Region
    behaviour to
    add a database repeat region to my page. However, the code
    this produces
    doesn't work with WorldPay's callback script and I need to
    know if it's
    possible to hand code a repeat region. My repeat region data
    includes
    images etc so, as well as creating/displaying the repeat
    region, I also need
    to know how to incorporate some basic HTML.
    Would appreciate any advice or links to a tutorial.
    Thanks
    nath.

    Hi Joe,
    I have database content on my WorldPay callback page, which
    is fed by a form
    variable sent back from WorldPay. I can therefore call up
    order details, in
    my database, by ID.
    Anyway, I have two recordsets displaying correctly on my
    callback page;
    Order Summary and Order Items. Because a customer may
    purchase more than
    one item, I need to show all records in the Order Items table
    that match the
    order ID. I therefore need a repeat region for the Order
    Items recordset to
    show all products, so I've inserted the standard DW repeat
    region:
    <%
    Dim Repeat1__numRows
    Dim Repeat1__index
    Repeat1__numRows = -1
    Repeat1__index = 0
    rsItems_numRows = rsItems_numRows + Repeat1__numRows
    %>
    ...(above the head tag) and....
    <%
    While ((Repeat1__numRows <> 0) AND (NOT rsItems.EOF))
    %>
    ...Recordset Data...
    <%
    Repeat1__index=Repeat1__index+1
    Repeat1__numRows=Repeat1__numRows-1
    rsItems.MoveNext()
    Wend
    %>
    ...within my page where I want the repeat region to be.
    If I DON'T include this code, both recordsets display data,
    however the
    Order Items recordset only shows 1 item (obviously, because
    there is no
    repeat region). When I add the repeat region code, as above,
    WorldPay
    fails.
    WorldPay support can't actually tell you what's wrong, nor do
    you receive an
    error line or anything, however I know it's the repeat region
    because both
    recordsets display correctly WITHOUT the repeat region code.
    Any way around this? I really need this to work because
    otherwise I'm going
    to have to force a re-direct and an auto-submission of a form
    value
    (nasty!), in order to be able to display the customers order
    summary, and
    order items, on one page.
    Hope you can help. Thanks Joe.
    Regards
    Nath.
    "Joe Makowiec" <[email protected]> wrote in
    message
    news:[email protected]...
    > On 02 Jul 2007 in macromedia.dreamweaver.appdev,
    tradmusic.com wrote:
    >
    >> So far I've been using the standard Dreamweaver
    Repeat Region
    >> behaviour to add a database repeat region to my
    page. However, the
    >> code this produces doesn't work with WorldPay's
    callback script and
    >> I need to know if it's possible to hand code a
    repeat region. My
    >> repeat region data includes images etc so, as well
    as
    >> creating/displaying the repeat region, I also need
    to know how to
    >> incorporate some basic HTML.
    >
    > Before you go re-inventing the wheel, what doesn't work?
    >
    > --
    > Joe Makowiec
    >
    http://makowiec.net/
    > Email:
    http://makowiec.net/contact.php

  • How to Put Date in a Textbox after Select

    Hi, DWMX. How do i put todays date into a text box after
    selecting an item from a ListBox. ie I want to change the staus in
    the Listbox and have the StatusChangedOn Text box filled
    automatically so it gets saved on submit.. I guess it's a bit of
    java which i don;t know any of. I am using VBScript for the server
    code. Thanks. Dave(UK)

    Dave
    If this is being a saved to a database simple set the default
    value of the
    database field to record the server time when the entry is
    made. In Access
    this is Date(), in msSQL it is getDate()
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "Dave(UK)" <[email protected]> wrote in
    message
    news:e5v91r$olj$[email protected]..
    > Hi, DWMX. How do i put todays date into a text box after
    selecting an
    > item
    > from a ListBox. ie I want to change the staus in the
    Listbox and have the
    > StatusChangedOn Text box filled automatically so it gets
    saved on submit..
    > I
    > guess it's a bit of java which i don;t know any of. I am
    using VBScript
    > for
    > the server code. Thanks. Dave(UK)
    >

  • Set focus to a report region after select value (user) report region

    Hello,
    On my page I have 4 report SQL Query report regions (among themselves). After selecting (user) of a value (report region number 3 with column link), the result shown in report region number 4. However, the focus is on report region number 1. The user sees the results do need to scroll down to see the answer(in report region number 4).
    Does anyone have a solution for me with an example. Thanks.

    Hi Varad,
    sorry for the delayed response.
    Please check the page:- 9999 of App:-964
    I have made 2 simple reports with a button in each region.
    SUCCESS MESSAGE of first one:- first process run by first report
    SUCESSS MESSAGE of second one:- Saved Data..process run for second report
    when first process is run by clicking the <b>SUBMIT</b> button in the first region, we will see the same first region back. But, when we click the <b>SAVE</b> button of second region, page submits and we will see the first region and user should scroll down to see the second region.
    so, I am trying to see if I can have user see the same region back[second region,when SAVE button clicked, in this case] if he has done any operations on second region. My actual page has around 6 regions where scrolling down might be pain full for a end user.
    Have created this page in a hurry .. My actual pages and processes are doing some use full job, the page I have given here is only for our testing purpose. please do not mind.
    Thanks a lot for helping me..
    Chaitu..
    Edited by: Chaitu_Apex on Apr 14, 2010 9:51 AM

  • How can I get a list view after selecting "see all"?

    I just updated to iTunes 12.  I've looked on the net for this but couldn't find anything on it.
    Previously when I searched for something in the iTunes store I'd pick a certain category of media (podcasts, for example).  It would give me the first few results and then I could select "see all."  Then get a list view and sort it.
    Now when I click on "see all" I get an album cover view.  NOT a list view.  And I have no way to sort the results.  I usually sort by time.
    What's odd is when I'm still on the initial page you get after making a search I *can* sort the results.  But only the first 10.
    Basically, I need a way to sort all of my search results by time.  Either after selecting "see all" or having iTunes show many more than 10 results.
    This was possible (and the default, I think) in previous versions.  I've looked through every menu and I don't see a way to turn this functionality back on.
    Thanks.

    Hi,
    There is no such PowerShell command can achiev this. Maybe you can use a script to get the user name with folder redirection enabled. However, I am not familiar with writing script, and it would be better for you to ask in script forum below for professional
    assistance:
    http://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How can I keep my text format after pasting a text with a different format?

    No matter when and where I start to write some text (whether it is a SImpleText, E-Mails, or anyother application's doc), if I have to cut and paste a text from a different source that is formatted differently than my original text (ie. the one I am already using ), once I have pasted the differently formatted text in my doc, the typeset changes while it continues to type with the same formatt used in the text I just pasted.
    How can I continue typing with the same text formatt used before pasting the new text, after pasting the new text, without having to change size, font style etc. Is there a short cut?
    What I have been doing to avoid this problem is: I usually type my entire text content (whether it is an E-Mail, or other doc) then, once I am done typing, I paste the text that was cut from a differently formatted document, so that my text remains with the same formatt in its integrity, while the pasted text stands out differently, but it is a bit complex doing that , because I not only have to remember to paste the other text when I am done typing (I run the risk of forgetting to paste the text I need to insert--which has happened already) or I keep struggling with my formatt change after the pasting of the new text, so my document text starts looking like the same text as the one which was just pasted.
    Thanks for your time reading this!

    KerrBr wrote:
    How can I continue typing with the same text formatt used before pasting the new text, after pasting the new text, without having to change size, font style etc. Is there a short cut?
    (1) First, let's make sure we're talking about the same thing. By "SImpleText, E-Mails" you mean TextEdit and Mail, right?
    (2) Some apps (TextEdit, Mail) use the text engine provided by Mac OS X. By and large, these apps will behave in a similar manner. Others (eg, MS Word) use their own text engine, and their behaviour can be quite different. For such an app you need to consult its manual.
    (3) In TextEdit, if you want the pasted text to adopt the current style, then use kurt188's tip.
    (4) However, if you may want the pasted text to retain its own attributes, while you continue to type in the previous style. I don't know of any shortcut or command that will achieve this. However, you can try to work around it.
    (4.1) TextEdit has the Copy Style (⌘⌥C) and Paste Style (⌘⌥V) commands. If you haven't yet used it, ⌘⌥V will insert the default style. So type, paste, ⌘⌥V, then continue typing. If you have used, it will insert whatever style was copied. You can, type, ⌘V, click somewhere before the pasted text, ⌘⌥C, click after the pasted text, ⌘⌥V, and continue typing.
    (4.2) Alternatively, type your text. Then type one more character, eg, "x". Then ←, ⌘V, ⇧→, and start typing. The new text should adopt "x"'s format. (This should work in Mail, too. I don't know, because IMHO e-mail should always be plain text.)

  • How can I keep AppleScript repeat resetting Safari in the background?

    I want to have an AppleScript which resets Safari every 10 seconds. Now I got a problem with repeating the script. After the script resets Safari it closes the app. I want to keep Safari open while the script is operating in the background.
    That was my try:
    =================
    tell application "Safari" to launch
              tell application "Safari" to activate
              tell application "Safari" to open location "http://www.apple.com"
    repeat
              tell application "Safari" to close every window
              try
                        tell application "Safari" to quit
              on error errmsg
                        display dialog "Safari App beenden gescheitert" with icon caution
              end try
              try
                        do shell script "rm -f ~/Library/Safari/history.plist"
              on error errmsg
                        display dialog "history.plist löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -f ~/Library/Safari/HistoryIndex.sk"
              on error errmsg
                        display dialog "HistoryIndex.sk löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -f ~/Library/Caches/com.apple.Safari/Cache.db"
              on error errmsg
                        display dialog "Cache.db löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -rf ~/Library/Caches/Metadata/Safari/History"
              on error errmsg
                        display dialog "History löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -f ~/Library/Cookies/Cookies.plist"
              on error errmsg
                        display dialog "Cookies.plist löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -f ~/Library/Safari/LastSession.plist"
              on error errmsg
                        display dialog "LastSession.plist löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -f ~/Library/Safari/TopSites.plist"
              on error errmsg
                        display dialog "TopSites.plist löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -rf ~/Library/Caches/com.Apple.Safari/*"
              on error errmsg
                        display dialog "Safari Cache löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -f ~/Library/Caches/Adobe/Flash Player/AssetCache"
              on error errmsg
                        display dialog "Flash Player AssetCache löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -rf ~/Library/Preferences/Macromedia/Flash*/macromedia.com/support/flashplayer/sys/ #*"
              on error errmsg
                        display dialog "Flash Player macromedia.com löschen gescheitert" with icon caution
              end try
              try
                        do shell script "rm -rf ~/Library/Preferences/Macromedia/Flash*/#SharedObjects/*"
              on error errmsg
                        display dialog "Flash Player #SharedObjects löschen gescheitert" with icon caution
              end try
      delay 10
    end repeat
    =================
    PS: The dialogues are in German… But that shouldn't be a problem

    You can use the applescript Script Menu to run scripts in Photoshop (or any application).
    If you don't have it installed, run the AppleScript Utility.app (find it in the Applescript folder in your applications folder) and make sure the 'Show Script Menu in menu bar' is checked.
    Edit: I thought you'd be able to use this with an action by inserting a menu item, but apparently it doesn't recognize the appescript menu.

  • How do I keep Hide / Show Region open

    Hi,
    I have a page with one region based on a hide/show template. The current behaviour on a page submit is that the region always hides.
    I'd like it so that if the user opens the region that it will remain open after the page refreshes.
    Thanks,
    Brian

    This is a hack so I wouldn't count on it, but it worked for me (in variation, I needed a bit different thing). And, remind you, it only holds one of them open for a page (my logic is, that when they are hidden no more than one should be open at once).
    1) the page should have an item that holds the information - I'll call it OPEN_REGION. I am knowingly ignoring the usual Pn_ naming convention so all pages with Hide / Show regions could have their own OPEN_REGION but the name could still be uniquely referenced in javascript. It should be a hidden variable in the topmost region in the template (which must not be one of those enhanced HIde/Show regions).
    2) make a new javascript function to set the item and submit page. Be careful to make sure you use valid variables or javascript errors display when no OPEN_REGION item is on the page (for example).
    function myHideShow ( region )
    if (document.getElementById('OPEN_REGION'))
    if ( document.getElementById('OPEN_REGION').value != region )
    document.getElementById('OPEN_REGION').value = region;
    }else{
    document.getElementById('OPEN_REGION').value = '';
    doSubmit();
    2) edit the region template. Set it to call your own function.
    Where it sais:
    href="javascript:hideShow('region#REGION_SEQUENCE_ID#','shIMG#REGION_SEQUENCE_ID#','#IMAGE_PREFIX#jtfuhide.gif','#IMAGE_PREFIX#jtfushow.gif');"
    make it (set the page item to the region sequence number):
    href="javascript:myHideShow('#REGION_SEQUENCE_ID#');"
    3) edit your page template, in the footer add the opening of the region. Be careful to make sure you use valid variables or javascript errors display when no OPEN_REGION item is on the page (for example).
    <script>
    if (document.getElementById('OPEN_REGION'))
    if (document.getElementById('OPEN_REGION').value != '')
    theRegion = document.getElementById('OPEN_REGION').value;
    hideShow('region'+theRegion, 'shIMG'+theRegion, '#IMAGE_PREFIX#jtfuhide.gif', '#IMAGE_PREFIX#jtfushow.gif');
    </script>
    That should do it, but be aware, that I am not in Oracle team, just a simple programmer trying to find my own solutions and Javascript has helped me here sometimes.
    For example, try to use #TITLE# substitution string in BODY part of the Page Template...

  • How can you keep the wifi connected after logoff

    I have a brand new MBP with 10.8.4.  I would like to login to my AD account but because the wireless is disconnected, I get the red light and the "Network accounts are unavailable".  The machine binded to AD just fine....
    Thanks for any help.

    I have no idea how to keep it connected, but you should have no problems logging back in to the network.  The upside to haveing the WIFI shut down when you are logged out is that nobody can remotely connect to your system over WIFI.  A wired ethernet connection remains active.
    The red light is more informative that indicating you have a problem.  I have the same symptoms with my work network and have no problems.  The network accounts problem is for those that are setup to have no local login and require a network connection for authentication.  Is this what you have?

  • How do I keep file menu open after CheckBox has been selected?

    The following represents a written code for a menu with checkboxes. I would like the menu to stay open after a check box has been selected. Does anyone have a suggested modification for this to occur?
    Thanks,
    JR
    public class NewJFrame extends javax.swing.JFrame {
    /** Creates new form NewJFrame */
    public NewJFrame() {
    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() {
    jMenuBar1 = new javax.swing.JMenuBar();
    jMenu1 = new javax.swing.JMenu();
    jCheckBoxMenuItem1 = new javax.swing.JCheckBoxMenuItem();
    jCheckBoxMenuItem2 = new javax.swing.JCheckBoxMenuItem();
    jCheckBoxMenuItem3 = new javax.swing.JCheckBoxMenuItem();
    jMenu2 = new javax.swing.JMenu();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jMenu1.setText("File");
    jCheckBoxMenuItem1.setSelected(true);
    jCheckBoxMenuItem1.setText("jCheckBoxMenuItem1");
    jMenu1.add(jCheckBoxMenuItem1);
    jCheckBoxMenuItem2.setSelected(true);
    jCheckBoxMenuItem2.setText("jCheckBoxMenuItem2");
    jMenu1.add(jCheckBoxMenuItem2);
    jCheckBoxMenuItem3.setSelected(true);
    jCheckBoxMenuItem3.setText("jCheckBoxMenuItem3");
    jMenu1.add(jCheckBoxMenuItem3);
    jMenuBar1.add(jMenu1);
    jMenu2.setText("Edit");
    jMenuBar1.add(jMenu2);
    setJMenuBar(jMenuBar1);
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGap(0, 400, Short.MAX_VALUE)
    layout.setVerticalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGap(0, 279, Short.MAX_VALUE)
    pack();
    }// </editor-fold>
    * @param args the command line arguments
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new NewJFrame().setVisible(true);
    // Variables declaration - do not modify
    private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem1;
    private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem2;
    private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem3;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenuBar jMenuBar1;
    // End of variables declaration
    }

    Sorry Jack.
    Here is the code so that it appears more readable whenever it gets moved.
    public class NewJFrame extends javax.swing.JFrame {
        /** Creates new form NewJFrame */
        public NewJFrame() {
            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() {
            jMenuBar1 = new javax.swing.JMenuBar();
            jMenu1 = new javax.swing.JMenu();
            jCheckBoxMenuItem1 = new javax.swing.JCheckBoxMenuItem();
            jCheckBoxMenuItem2 = new javax.swing.JCheckBoxMenuItem();
            jCheckBoxMenuItem3 = new javax.swing.JCheckBoxMenuItem();
            jMenu2 = new javax.swing.JMenu();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jMenu1.setText("File");
            jCheckBoxMenuItem1.setSelected(true);
            jCheckBoxMenuItem1.setText("jCheckBoxMenuItem1");
            jMenu1.add(jCheckBoxMenuItem1);
            jCheckBoxMenuItem2.setSelected(true);
            jCheckBoxMenuItem2.setText("jCheckBoxMenuItem2");
            jMenu1.add(jCheckBoxMenuItem2);
            jCheckBoxMenuItem3.setSelected(true);
            jCheckBoxMenuItem3.setText("jCheckBoxMenuItem3");
            jMenu1.add(jCheckBoxMenuItem3);
            jMenuBar1.add(jMenu1);
            jMenu2.setText("Edit");
            jMenuBar1.add(jMenu2);
            setJMenuBar(jMenuBar1);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 400, Short.MAX_VALUE)
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 279, Short.MAX_VALUE)
            pack();
        }// </editor-fold>
        * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new NewJFrame().setVisible(true);
        // Variables declaration - do not modify
        private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem1;
        private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem2;
        private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem3;
        private javax.swing.JMenu jMenu1;
        private javax.swing.JMenu jMenu2;
        private javax.swing.JMenuBar jMenuBar1;
        // End of variables declaration
    }

  • How do I keep Finder Tabs open after a restart?

    After opening several Tabs in Finder, I find they have closed after I´ve shut down & then (Later), restart my Mac Mini.
    The Safari tabs stay open.
    Cant find anything in `Finder Preferences´ or in `System Preferences´.
    Anyone know???

    Thanks Carolyn,
    will try that!
    Please don´t´think me a complete fool, but wheredo I enter the search under `Go´?
    I need to look for & Delete:
    ~/Library/Saved Application State/com.apple.finder.savedState
    And:
    Your finder app may be configured NOT to restore the windows. Try this:
    defaults write com.apple.finder NSQuitAlwaysKeepsWindows -bool true
    I´m afraid I dont know the commands to get to where I need to do the above!
    Can you help me one last time please?
    Thanks in advance for your time.
    AMI.

  • How can I keep Guided Access going after battery is drained?

    I sometimes put my son's iPod into Guided Access mode so he can listen to music, but not play games (i.e. at bedtime). He discovered that he can defeat Guided Access by draining the battery completely. He has an iPod Touch MD057LL/A (iOS 6.1.6).
    Has anyone else encountered this weakness in the Guided Access feature? Does anyone know how to fix it?
    Thanks.

    The good news. Congrats, you have a smart kid. The bad news. That's a loophole he exploited. There is no fix currently. In fact, he can just disable it by holding the home and sleep/wake buttons until he sees the Apple logo to do a reboot. It's only a matter of time before he figures that one out and doesn't have to wait for the battery to drain.

Maybe you are looking for