For all the reflection gurus out there

I need to be able to access protected classes/interfaces and protected methods from another package. I know this completely undermines the entire idea of java�s protection keywords, but I don�t have any other choice. I also understand that this will possibly lock me into a specific VM version and implementation that I can use for my application because it is not part of the java API spec. Having said that I still need it to work. My real goal here is to create my own modal window behavior because Sun�s is not robust enough for our needs.
I need the following code to work:
FILE1
package protect;
public class Helper {
    public static Object getEventDispatchThreadInstance() {
        return new EventDispatchThread();
interface Conditional {
    public void evaluate();
class EventDispatchThread extends Thread {
    void pumpEvents(Conditional condition) {
        condition.evaluate();
}FILE2
package my;
import protect.Helper;
import java.lang.reflect.*;
public class MyClass {
    public MyClass() {
        try {
            Class evDispatchThread = Class.forName("protect.EventDispatchThread");
            Class conditional = Class.forName("protect.Conditional");
            Object[] conditionalInstance = {new Object() {
                public boolean evaluate() {
                    System.out.println("Please work");
                    return false;
            Method method = evDispatchThread.getDeclaredMethod("pumpEvents", new Class[] { conditional });
            method.setAccessible(true);
            method.invoke(Helper.getEventDispatchThreadInstance(),
                conditionalInstance);  // This throws an IllegalArgumentException :(    
        } catch (Exception ex) {System.out.println(ex);}
    public static void main(String[] args) {
        MyClass instance = new MyClass();
}The method.invoke call doesn�t work. I think the problem is because the conditionalInstance is not an instance of protect.Conditional. If protect.Conditional was not protected I would be able to do a cast, but I can�t because the compiler complains about it. How can I create an interface that is protected by using reflection? I also need to have my implementation of the evaluate method be executed when it is called in the pumpEvents call of the EventDispatchThread object.
If you want a better idea of what I am trying to do in my application you can check out these threads:
Project Swing->Help with the event dispatch thread
Project Swing->Modality..what is it good for (absolutely nooothing)
Thanks
Lance

I didn�t say it was the smartest thing to do, but it is either this or rewrite swing or our application to use a different GUI interface. I would rather be able to get this to work. Hey if it isn�t possible it isn�t possible.
By the way DrClap you might want to find a different language then. You can access several methods that are protected by using reflection. The problems with my code are that it seems like you can�t use reflection to make protected interfaces, you can�t extend protected classes/interfaces, and you can�t cast correctly with these protected objects. The method.setAccessible(true); actually works. Check out the java.lange.reflect.AccessibleObject in the api.
Lance

Similar Messages

  • 2 questions for all the iTunes PROS out there

    I currently have the latest itunes software. I have recently formatted my pc, and need to add all my songs back into the itunes library. I have over 7000 songs all in the general folder
    "Music". I do to File->Add folder to library->Then select that folder. It works for a bit scanning though files asks me to convert some, then it just crashes..... It would take me soooo long to do this folder by folder, does any1 know what is going on?
    Since i have formatted my pc, when i plug my ipod in it says that it has been synced up to another itunes would i like to delete it all, any way around this? Or maybe can i somehow sync my ipod to my itunes, thus fixing the problem in my first question?
    Thx soo much for any help
    Myles

    "Since i have formatted my pc, when i plug my ipod in it says that it has been synced up to another itunes would i like to delete it all, any way around this?"
    When your iPod is set to update automatically you just need take care when connecting back to your computer and an empty iTunes. When you get the message that your iPod is linked to a different library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all songs from your iPod. Your iPod should appear in the iTunes source list from where you can change the update setting to manual and continue to use your iPod without the risk of accidentally erasing it. Check the "manually manage music and videos" box in Summary then press the Apply button: Managing content manually on iPod
    You can also use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer on Windows with iTunes 7 installed hold down the Control and Alt keys (or Shift + Ctrl keys in older versions). This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 20 to 30 seconds depending on your computer: iTunes 7 Keyboard Shortcuts for Windows
    "Or maybe can i somehow sync my ipod to my itunes, thus fixing the problem in my first question?"
    If you have any iTMS purchases the transfer of purchased content from the iPod to authorised computers has been introduced with iTunes 7. A paragraph on it has been added to this article: Transfer iTunes Store purchases using iPod
    The transfer of non iTMS content such as songs imported from CD is designed by default to be one way from iTunes to iPod. However there is a manual method of accessing the iPod's hard drive and copying songs back to iTunes on Windows. The procedure is a bit involved but if you're interested it's posted in this thread: MacMuse - iPod to iTunes
    If you prefer something more automated then there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. This is just a selection, you'll find that they have varying degrees of functionality and some will transfer movies, videos and photos as well. Have a look at the web pages and documentation, they are generally quite straightforward. You can also read reviews of some of them here: Wired News - Rescue Your Stranded Tunes
    YamiPod Mac and Windows Versions
    iGadget Windows Only
    iPod Access Mac and Windows Versions
    PodUtil Mac and Windows Versions
    iPodCopy Mac and Windows Versions
    PodPlayer Windows Only
    CopyPod Windows Only
    Whichever of these retrieval methods you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync again.

  • Multi-master replication questions for iPlanet 5.0, gurus out there?

    hi:
    I'm using iPlanet Dir Server 5.0 and I note that many gurus out there has
    been able
    to get this to work, that's good, but I have yet to. I have several
    questions, maybe
    someone can spend a few minutes and save me hours...
    I have a suffix called dc=calient,dc=net. I followed the suggestions in
    the
    iPlanet install guide and created 2 directory servers
    a) suffix o=NetscapeRoot, at some arbitrary port, 4601
    b) suffix dc=calient,dc=net, at the usual port 389.
    All my searches/create/delete work fine. However, when I try to replicate
    with multi-master between 2 machines, I keep getting into problems.
    Here's one set of questions...
    Q1: do people out there really split their tree from the o=NetscapeRoot
    tree?
    Q2: The admin guide says the the unit of replication is a database, and
    that each replication can only have 1 suffix. Is this true? Can
    a replicated db have more than 1 suffix?
    Q3: If I also want to replicate the o=NetscapeRoot tree, I have to set
    up yet 2 more replication agreements. Isn't this more work? If
    I just lump the 2 suffixes together, wouldn't it be easier? But would
    it work?
    Q4: I followed the instructions to enable replicas on the masters.
    But then I tried to create this cn=Replication Manager, cn=config
    object.
    But what is the object class of this entry? An iPlanet user has uid
    as its RDN... I tried a person object class, and I added a password.
    But then I keep getting error code 32, object not found in the error
    log. What gives? such as
    WARNING: 'get_entry' can't find entry 'cn=replication
    manager,cn=config', err 32
    Q5: Also, are there any access control issues with this cn=Replication
    Manager,
    cn=config object? By this I mean, I cannot seem to see this object
    using
    ldapsearch, I can only see cn=SNMP, cn=config. Also, do I have
    to give all access via aci to my suffix dc=calient,dc=net? Also,
    given the fact that my o=NetscapeRoot tree is at a different port (say
    4601),
    not 389, could this be an issue?
    Q6: when replication fails, should the Dir Server still come up? Mine does
    not anymore
    which is strange. I keep getting things like this in my log file
    [08/Nov/2001:21:49:13 -0800] NSMMReplicationPlugin - Could not send consumer
    mufasa.chromisys.com:389 the bind request
    [08/Nov/2001:21:49:13 -0800] NSMMReplicationPlugin - Failed to connect to
    replication consumer mufasa.chromisys.com:389
    But why shouldn't the dir server itself come up even if replication
    fails?
    steve

    Hi Steve,
    First, please read the 'Deployment Guide'. I think that is easier to
    understand when you want to setup multi-master replication. The
    'Administrator's Guide' gives you step-by-step instructions, but it may
    not help you to understand how to design your directory services.
    Stephen Tsun wrote:
    I have a suffix called dc=calient,dc=net. I followed the suggestions in
    the
    iPlanet install guide and created 2 directory servers
    a) suffix o=NetscapeRoot, at some arbitrary port, 4601
    b) suffix dc=calient,dc=net, at the usual port 389.
    All my searches/create/delete work fine. However, when I try to replicate
    with multi-master between 2 machines, I keep getting into problems.I don't understand something: which backend do you want to replicate?
    The one holding 'o=NetscapeRoot' or the one holding 'dc=calient,dc=net'?
    Do you want to setup replication between these two instances of the
    directory server (i.e. between port 4601 and 389 in your example)?
    Q1: do people out there really split their tree from the o=NetscapeRoot
    tree?If you have multiple directory servers installed in your environment, it
    is probably worth dedicating (at least) one directory server for the
    o=netscaperoot tree.
    Q2: The admin guide says the the unit of replication is a database, and
    that each replication can only have 1 suffix. Is this true? Can
    a replicated db have more than 1 suffix?Well, it is normal, since in iDS 5.x you have 1 suffix per database.
    You can, however, replicate multiple databases.
    Q3: If I also want to replicate the o=NetscapeRoot tree, I have to set
    up yet 2 more replication agreements. Isn't this more work? If
    I just lump the 2 suffixes together, wouldn't it be easier? But would
    it work?You can't lump the 2 suffixes together, because each backend has 1
    suffix associated with.
    Q4: I followed the instructions to enable replicas on the masters.
    But then I tried to create this cn=Replication Manager, cn=config
    object.
    But what is the object class of this entry?Usually, it is organizationalperson or inetorgperson. In most of the
    cases you want an objectclass which can have userPassword attribute.
    An iPlanet user has uid
    as its RDN... I tried a person object class, and I added a password.
    But then I keep getting error code 32, object not found in the error
    log. What gives? such asYou must have misconfigured something. Or perhaps, it is not
    cn=replication manager, cn=config, but 'uid=replication manager,cn=config'
    Q5: Also, are there any access control issues with this cn=Replication
    Manager,
    cn=config object? By this I mean, I cannot seem to see this object
    using
    ldapsearch, I can only see cn=SNMP, cn=config.The configuration tree is protected by ACIs, so you can not see them
    using anonymous BINDs. Try binding as 'directory manager' and you will
    find your entry.
    Also, do I have
    to give all access via aci to my suffix dc=calient,dc=net?For what purpose? For replication, it is enough to set user DN in the
    replication agreement and this user can update the replicated backend.
    Q6: when replication fails, should the Dir Server still come up?Yes.
    Bertold

  • Challenge for all you great programmers out there...i need help!

    Okay, my name is Tom. I am attending a small private
    college where the computer program is very small. There are
    no Java professors or any professors with any experience.
    The library has only 3 beginner books on Java as well. So,
    for my extremely ambitious Internal Internship Project I
    need some help. I have taken a beginner course and am very
    apt to learning, so this shouldn't be over my head. Now to
    the project:
    GUI
    I have envisioned a utility automation program. Basically,
    There is 1 main pane in the GUI. I have already designed it
    but am open to suggestions. It consists of the important
    parts: The utilty buttons (on the left), the textArea (in
    the middle), and checkboxes (on the right). When opening
    the program, the textArea will simply display instructions
    on how to use the program. There will be as many buttons as
    utilities there are (for now i am experimenting with
    defrag), and the checkboxes will be aligned with the
    utility buttons but to the right of the textArea.
    Function
    When each utility button is clicked, a description of the
    utility comes up in the textArea. If you decide to use it
    then check the appropriate checkbox to the right of the
    textArea. Once you choose all the utilities that you want
    to do, then you hit the start button.
    Execution
    This will automate all of the programs so you can leave and
    come back.
    Things needed
    I need to know how to import text files to the textArea,
    how to program the textAreas to come up, and one final
    thing for now. I will have to somehow set the parameters to
    those applications automatically (Ex: "what drive to
    defrag"). So, my first thought would be create a popup
    window that asks for all of the parameters needed for each
    utility, define those values as variables, and then when
    the utilities ask for them in the automation feed them the
    variables.
    I have put about 25 hours into making the GUI, and
    designing the structure. I need a ton of help if I want to
    get this done. I am using Netbeans for convenience but I'm
    not sure i know how to insert custom code.
    Any help the ANYONE can give me would be extremely
    appreciated.
    Thanks to all, and have a great day.
    Tom

    Here is my code for my GUI
    * JFMainMenu.java
    * Created on February 10, 2008, 10:16 PM
    package internshipproject;
    * @author admin
    public class JFMainMenu extends javax.swing.JFrame {
    /** Creates new form JFMainMenu */
    public JFMainMenu() {
    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.
    // <editor-fold defaultstate="collapsed" desc="Generated Code">
    private void initComponents() {
    jPanel1 = new javax.swing.JPanel();
    JBTomPic = new javax.swing.JButton();
    jScrollPane1 = new javax.swing.JScrollPane();
    jTextPane1 = new javax.swing.JTextPane();
    jScrollPane2 = new javax.swing.JScrollPane();
    jTextPane2 = new javax.swing.JTextPane();
    jScrollPane3 = new javax.swing.JScrollPane();
    JTPHeader = new javax.swing.JTextPane();
    jSeparator1 = new javax.swing.JSeparator();
    jLabel1 = new javax.swing.JLabel();
    jLabel2 = new javax.swing.JLabel();
    jLabel3 = new javax.swing.JLabel();
    jButton1 = new javax.swing.JButton();
    jButton2 = new javax.swing.JButton();
    jButton3 = new javax.swing.JButton();
    jCheckBox1 = new javax.swing.JCheckBox();
    jCheckBox2 = new javax.swing.JCheckBox();
    jCheckBox3 = new javax.swing.JCheckBox();
    jButton4 = new javax.swing.JButton();
    jButton5 = new javax.swing.JButton();
    jTextField1 = new javax.swing.JTextField();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    setResizable(false);
    jPanel1.setBackground(new java.awt.Color(0, 0, 0));
    JBTomPic.setBackground(new java.awt.Color(0, 0, 0));
    JBTomPic.setIcon(new javax.swing.ImageIcon("C:\\Documents and Settings\\All Users\\Documents\\My Pictures\\Sample Pictures\\TomBorder.jpg")); // NOI18N
    JBTomPic.setActionCommand("AboutMe\n");
    JBTomPic.setBorderPainted(false);
    JBTomPic.setContentAreaFilled(false);
    JBTomPic.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    JBTomPicActionPerformed(evt);
    jTextPane1.setBackground(new java.awt.Color(0, 0, 0));
    jTextPane1.setBorder(null);
    jTextPane1.setEditable(false);
    jTextPane1.setFont(new java.awt.Font("Comic Sans MS", 3, 40));
    jTextPane1.setForeground(new java.awt.Color(255, 255, 255));
    jTextPane1.setText(" Just start it up, then go to lunch!");
    jTextPane1.setCaretColor(new java.awt.Color(0, 51, 51));
    jScrollPane1.setViewportView(jTextPane1);
    jTextPane2.setBackground(new java.awt.Color(0, 0, 0));
    jTextPane2.setBorder(null);
    jTextPane2.setEditable(false);
    jTextPane2.setFont(new java.awt.Font("Comic Sans MS", 3, 26));
    jTextPane2.setForeground(new java.awt.Color(255, 255, 255));
    jTextPane2.setText(" An amazing program that automates your computer maintainance applications!");
    jScrollPane2.setViewportView(jTextPane2);
    JTPHeader.setBackground(new java.awt.Color(0, 0, 0));
    JTPHeader.setBorder(null);
    JTPHeader.setEditable(false);
    JTPHeader.setFont(new java.awt.Font("Comic Sans MS", 3, 20));
    JTPHeader.setForeground(new java.awt.Color(255, 255, 255));
    JTPHeader.setText(" Welcome to Tom's PC Fix");
    jScrollPane3.setViewportView(JTPHeader);
    jLabel1.setBackground(new java.awt.Color(51, 51, 0));
    jLabel1.setFont(new java.awt.Font("Tahoma", 1, 20));
    jLabel1.setForeground(new java.awt.Color(255, 255, 255));
    jLabel1.setText("Choose Your maintainance:");
    jLabel2.setBackground(new java.awt.Color(51, 51, 0));
    jLabel2.setFont(new java.awt.Font("Tahoma", 1, 20));
    jLabel2.setForeground(new java.awt.Color(255, 255, 255));
    jLabel2.setText("Check to add to automation:");
    jLabel3.setBackground(new java.awt.Color(51, 51, 0));
    jLabel3.setFont(new java.awt.Font("Tahoma", 1, 20));
    jLabel3.setForeground(new java.awt.Color(255, 255, 255));
    jLabel3.setText("Description:");
    jButton1.setBackground(new java.awt.Color(255, 255, 255));
    jButton1.setFont(new java.awt.Font("Comic Sans MS", 1, 15));
    jButton1.setForeground(new java.awt.Color(51, 0, 51));
    jButton1.setText("Spybot");
    jButton1.setBorderPainted(false);
    jButton1.setFocusPainted(false);
    jButton1.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jButton1ActionPerformed(evt);
    jButton2.setBackground(new java.awt.Color(255, 255, 255));
    jButton2.setFont(new java.awt.Font("Comic Sans MS", 1, 15));
    jButton2.setForeground(new java.awt.Color(51, 0, 51));
    jButton2.setText("Disk Cleanup");
    jButton2.setBorderPainted(false);
    jButton2.setFocusPainted(false);
    jButton3.setBackground(new java.awt.Color(255, 255, 255));
    jButton3.setFont(new java.awt.Font("Comic Sans MS", 1, 15));
    jButton3.setForeground(new java.awt.Color(51, 0, 51));
    jButton3.setText("Deframentation");
    jButton3.setBorderPainted(false);
    jButton3.setFocusPainted(false);
    jCheckBox1.setBackground(new java.awt.Color(255, 255, 255));
    jCheckBox1.setFont(new java.awt.Font("Comic Sans MS", 1, 12));
    jCheckBox2.setBackground(new java.awt.Color(255, 255, 255));
    jCheckBox2.setFont(new java.awt.Font("Comic Sans MS", 1, 12));
    jCheckBox3.setBackground(new java.awt.Color(255, 255, 255));
    jCheckBox3.setFont(new java.awt.Font("Comic Sans MS", 1, 12));
    jButton4.setBackground(new java.awt.Color(255, 255, 255));
    jButton4.setFont(new java.awt.Font("Comic Sans MS", 1, 20));
    jButton4.setText("Start");
    jButton5.setBackground(new java.awt.Color(255, 255, 255));
    jButton5.setFont(new java.awt.Font("Comic Sans MS", 1, 15));
    jButton5.setText("Exit");
    jTextField1.setEditable(false);
    jTextField1.setText("fcghjdcfhgj");
    jTextField1.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jTextField1ActionPerformed(evt);
    org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
    jPanel1.setLayout(jPanel1Layout);
    jPanel1Layout.setHorizontalGroup(
    jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jPanel1Layout.createSequentialGroup()
    .add(jScrollPane2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 323, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
    .add(JBTomPic, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 186, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
    .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 320, Short.MAX_VALUE))
    .add(jScrollPane3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 841, Short.MAX_VALUE)
    .add(org.jdesktop.layout.GroupLayout.TRAILING, jSeparator1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 841, Short.MAX_VALUE)
    .add(jPanel1Layout.createSequentialGroup()
    .addContainerGap()
    .add(jLabel1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 277, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .add(71, 71, 71)
    .add(jLabel3)
    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 66, Short.MAX_VALUE)
    .add(jLabel2)
    .addContainerGap())
    .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1Layout.createSequentialGroup()
    .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jPanel1Layout.createSequentialGroup()
    .add(30, 30, 30)
    .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
    .add(jButton3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    .add(jButton2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    .add(jButton1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    .add(133, 133, 133)
    .add(jTextField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 339, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
    .add(jPanel1Layout.createSequentialGroup()
    .add(349, 349, 349)
    .add(jButton4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 143, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, 113, Short.MAX_VALUE)
    .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
    .add(jCheckBox1)
    .add(jCheckBox3)
    .add(jCheckBox2))
    .add(jButton5))
    .add(21, 21, 21))
    jPanel1Layout.setVerticalGroup(
    jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1Layout.createSequentialGroup()
    .add(jScrollPane3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .add(7, 7, 7)
    .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jScrollPane2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 183, Short.MAX_VALUE)
    .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING, false)
    .add(jScrollPane1)
    .add(JBTomPic, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 183, Short.MAX_VALUE)))
    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
    .add(jSeparator1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 10, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .add(18, 18, 18)
    .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
    .add(jLabel1)
    .add(jLabel2)
    .add(jLabel3))
    .add(86, 86, 86)
    .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jPanel1Layout.createSequentialGroup()
    .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jButton1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 44, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .add(jCheckBox1))
    .add(62, 62, 62)
    .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jCheckBox2)
    .add(jButton2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 44, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
    .add(67, 67, 67)
    .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jCheckBox3)
    .add(jButton3, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 44, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
    .add(jTextField1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 318, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
    .add(53, 53, 53)
    .add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
    .add(jButton4, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 41, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .add(jButton5, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 36, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
    .add(58, 58, 58))
    org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    layout.setVerticalGroup(
    layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
    .add(jPanel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    pack();
    }// </editor-fold>
    private void JBTomPicActionPerformed(java.awt.event.ActionEvent evt) {                                        
    // TODO add your handling code here:
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                        
    // TODO add your handling code here:
    private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {                                           
    // TODO add your handling code here:
    * @param args the command line arguments
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new JFMainMenu().setVisible(true);
    // Variables declaration - do not modify
    private javax.swing.JButton JBTomPic;
    private javax.swing.JTextPane JTPHeader;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JButton jButton5;
    private javax.swing.JCheckBox jCheckBox1;
    private javax.swing.JCheckBox jCheckBox2;
    private javax.swing.JCheckBox jCheckBox3;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextPane jTextPane1;
    private javax.swing.JTextPane jTextPane2;
    // End of variables declaration
    }

  • For all those Opera users out there

    The internet just got a little better.
    opera-adblock (Just ads)
    http://aur.archlinux.org/packages.php?ID=18895
    opera-adblock-complete (Ads, Stats, and Tracking)
    http://aur.archlinux.org/packages.php?ID=18896
    Last edited by georgia_tech_swagger (2008-08-04 21:19:28)

    Just tried it out, works well
    Thanks!

  • I am having problems with the month of October.  When I have the full month view, the synced items from google calendars won't show.  But they do for all the other months.

    I am having problems with the month of October.  When I have the full month view, the synced items from google calendars won't show.  But they do for all the other months.  There is definitely a glitch somewhere because if I am on day view and try to click on day 15 of October, it will not let me.  It totally is acting weird.

    Free fonts, fonts from a reliable foundry?
    Have you tried removing them temporarily?
    Do you still have problems if you create a new Windows user account and log in with that? How about if you start in Safe Mode?
    And I would run a memory checker and see Troubleshoot font problems | Windows

  • Is there a possibility to send from the Admin console the invitations to endusers in different languages? Somehow all the invitations go out in German but for my colleages in Spain and in the UK it makes it difficult to understand what they have to do wit

    Is there a possibility to send from the Admin console the invitations to endusers in different languages? Somehow all the invitations go out in German but for my colleages in Spain and in the UK it makes it difficult to understand what they have to do with this invitation. It doesn't help when I change the language in the admin console....Thanks for your help

    Hey Eric,
    Thanks for taking the time. Unfortunately no that does not solve it. Same as swipe it will get me there and it will show separate programs spaced out. The issue I am having is that all my open word files are bunched up in a pile on top of each other. I can see the edges of each one but I want them to be separated from each other enough that I can visually identify what file is what.
    Again, thanks for trying, it is appreciated.

  • I use an external hard drive for my Lightroom library and I notice that all the images shown on there are DNG. On my MAC hard drive I have images shown as NEF. I desperately need to free up space on my hard drive, can I safely delete these NEFs?

    I use an external hard drive for my Lightroom library and I notice that all the images shown on there are DNG. On my MAC hard drive I have images shown as NEF. I desperately need to free up space on my hard drive, can I safely delete these NEFs?

    dj_paige wrote:
    however, I do point out that obtaining an additional hard drive and not throwing anything away seems a preferable solution to me.
    heidie22, dj_paige has a very good point there. I would not through away the NEF files; I would archive them to a external drive.
    By the way, I am assuming that converting RAW files to DNG is a decision you have made and not an accident.

  • I'm new to Mac's and I find the display's just slightly too small. I'd like to increase the size for all my program. Is there a single setting that I can change?

    I'm new to Mac's and I find the display's just slightly too small. I'd like to increase the size of my display for all my programs. Is there a single setting that I can change as a default setting?

    You can drop the resolution a little, but it makes everything blurry.
    OS X isn't as friendly like Windows is to give some UI adjustment, one of many major complaints about the platform that has gone unheeded for years now.
    As a lifelong Mac user who's eyes are going due to age, I'm really liking Windows 7 more and more every day.
    If you use Firefox, NoSquint and Theme Font & Size Changer add-ons, with a nice persona that makes better contrast, tweak the FF toolbars, you can at least make your web surfing tolerable on Mac's.
    Also you can set a Control key in System Preferences > Universal Access plus a scroll wheel mouse, if you need to zoom in/out certain areas of OS X, however for a pernament UI scale solution there is none that's practical, unless you have a large room, a projector and a smooth wall.
    A larger monitor won't work up close neither, however dropping the resolution and sitting back a bit might sharpen the images a bit.
    The UI really needs to be adjustable and it's not.

  • I would like to take a iTunes play list and put it on a USB drive for my car radio to stay in my car. Is there a way to do this through iTunes so you have all the song info and there's no number in front of the name of the song? Is there a program?

    I would like to take a iTunes play list and put it on a USB drive for my car radio to stay in my car. Is there a way to do this through iTunes so you have all the song info and there's no number in front of the name of the song? Is there a program?

    iTunes only syncs to Apple devices.
    Assuming the media is not DRM protected, any of the media can be dragged and dropped from iTunes onto other drives (external, flash, etc) as the user chooses.

  • Laptop has been repaired and for some reason itunes library has been wiped. Ipad still has all the music on, is there a way i can repopulate itunes?

    My laptop has been repaired and for some reason my library on itunes has been wiped. Didn't pay attention and synced my iphone so have lost all the tunes off that now too. Ipad still has all the music on, is there an easy and free way to repopulate itunes from the music on the ipad?

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • With all the games coming out for iMacs what Gaming Pad or Jotstick works with the Imac

    With all the games coming out for iMacs what Gaming Pad or Jotstick works with the Imac

    Now the bad news. In my "Print to Video" pop up, if
    I select "Color Bars" , "Black", or any other option
    and take out my bars and tone and slug from the
    timeline, the print to video does not print anything
    to tape except for a nice nothing blue. I don't
    even get my actual timeline video printed to tape.
    Jerry,
    You are a genius! Man do I feel silly. So just for the benefit of others who might read this post, I did exactly as you said, and of course when I restarted FCP, I had to identify my Firewire NTSC setting for the drive. This time, instead of leaving my tapedrive offline, I left it on and immediately saw on my drive monitor the video coming off of my timeline.
    Every thing works perfect. I now have a clean timeline with just the content I'm working on and don't have to worry about bars, slugs, post black. Just a few checkboxes and I'm ready to send my tapes off. Really nice feature.
    Thanks!
    iMac   Mac OS X (10.4.6)   2GB DDR2, 500GB Disk, 20" LCD

  • How to update the condition price in the sales order for all the items

    Hi,
    How to update the condition price for all the itmes in the sales order to carry out the new price automatically through a stand alone program, for all the orders in the billing due list table?
    Thanks,
    Balaram

    Hi,
    There is a change in the requirement.
    Scenario:
    I have created a sales order with some 4 condition types, in that 2 condition types are of class A & B and the other two is of class C. Here I need to update the condition price of class A & B only and the remaining condition types should not get update even though there is an updated price is available.
    For the above scenario, I need to write a standalone program. Do we have any function modules to update the price of the single condition in the sales order? Please tell me how we can update the sales order at item condition level.
    Thanks.
    Balaram

  • I turned iCloud back up off for all the games on my iPad, now i want to turn it back on but, now they have all disapeared from my apps in iCloud, how do i turn the back up on those specific apps back on?

    i turned iCloud back up off for all the games on my iPad, now i want to turn it back on but, now they have all disappeared from my apps in iCloud, how do i turn the back up on those specific apps back on?
    I'm trying to get them to transfer to another iPad for my kid.

    atoo2 wrote:
    I just did the IOS8 update on my Ipad retina which had 300  photos it asked me to do an iCloud back up which i did but it deleted all my previous photos and now i only have recent photos how do i get back all my old photos? It said befor that my icloud was out of storage but i didnt know it didnt have my old photos, they arnt back up on itunes either is there any way I can get them back?
    Please see the bold.  If you're out of icloud storage, then you won't be able to backup to icloud unless you purchase more storage, but yet you said you backup to icloud.
    If you really did backup to icloud no data would be loss - sounds to me that it didn't backup since you had no more free icloud storage space.
    iCloud: iCloud storage and backup overview

  • In iTunes under my device, under the apps tab, Why are all the options shaded out?  I cannot make any changes, select any apps or do anything with the apps.  I was able to load a few apps and sync but cannot sync anymore to my phone.

    In iTunes under my device, under the apps tab, Why are all the options shaded out?  I cannot make any changes, select any apps or do anything with the apps.  I was able to load a few apps and sync but cannot sync anymore to my phone.

    Hi,
    ( I search for iChat questions when I have finished in the iChat Forum)
    So the menu bar reads iChat, File,  Edit,  View, Buddies, Video, Window and Help
    There is no Buddy List open.
    There is no other window for iChat open.
    In the iChat Menu you only have access to Status.
    Is an item ticked in the list ?
    Is this a green (Available item) or  Red ( an Away one) ?
    Can you access the Accounts option ?  (Sitll in the iChat Menu)
    Is anything in here ticked ?
    In the Window menu any Logged in account should appear in the list  (Between the Next Chat and File Transfer items)
    It would be useful to know which version of iChat this is.
    If no account is ticked (iChat Menu > Accounts) or not showing in the Window Menu, plus you cannot determine the Status and you cannot access the Preferences then you need to access your Home Folder/Library/Preferences
    As the Library in the Home Holder is Invisible in Lion you will need the Finder's Go Menu > Go to Folder option  (you can use it in earlier OS versions if you want)
    Type in:-
    ~/Library/Preferences
    Find the file called com.apple.ichat.plist
    Drag it to the Trash and Restart iChat.
    This will lose all the settings in iChat that you have changed from Defaults but there is no way around this.
    9:23 PM      Saturday; August 27, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

Maybe you are looking for

  • How do I buy a ringback tone that isn't a "top ringback tone?"

    I found a RBT that I like, it's Marvin Sapp's "The Best in Me- Can I get a witness." It's not the version that is under the "top rbt's" and I can't find a purchase or add to cart button..well, a "buy" button- only if I want it with the ringtone, and

  • Cisco CSC SSM to Active directory integration issue

    Hi, I have configured ASA CSC SSM module for AD integration for user based access control. The domain controller Agent has been installed in AD server. But the Agent is not able to communicate to CSC module. There are errors getting generated in AD a

  • Execute query in background and write it's content in transparent table

    Hi, Is there an easy way to execute one query in background and write it's content in transparent table? Thanks,

  • EA1: Error Export in Excel Format

    Trying to export the data in a grid and want to file it to an Excel format getting error both ways to clipboard and to file as well : java.lang.NumberFormatException      at java.math.BigDecimal.<init>(BigDecimal.java:368)      at java.math.BigDecima

  • How to populate Special Stock Indicator in IW31/IW32

    Hi SAP experts, I want to populate the <b>Special Stock Indicator</b> under <b>Components Tab</b> automatically when user presses ENTER in T.Code <b>IW31/IW32</b> based on some condition. Thanks in Advance. Help will be rewarded. Gaurav