i`m having a little issue about adding this code
//Make tabbed panes look like tabbed panes should
System.setProperty("Quaqua.tabLayoutPolicy","scroll");
//Move the menu bar to Mac OS X position
System.setProperty("apple.laf.useScreenMenuBar", "true");
// set the Quaqua Look and Feel in the UIManager
try {
UIManager.setLookAndFeel("ch.randelshofer.quaqua.QuaquaLookAndFeel");
// set UI manager properties here that affect Quaqua
} catch (Exception e) {
System.out.println("Appropriate error message");
// take an appropriate action here
}
into this one
/*
* JPanel.java
*
* Created on March 22, 2009, 1:00 PM
*/
package com.pagesofinterest.quaqua_maven_netbeans;
/**
*
* @author Rama
*/
public class JPanel extends javax.swing.JPanel {
/** Creates new form JPanel */
public JPanel() {
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() {
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
this.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, 300, Short.MAX_VALUE)
);
}// </editor-fold>
// Variables declaration - do not modify
// End of variables declaration
}
I`m using netbeans and when i modify the code,it display a red exclamation which say that cannot find symbol
HELP ME PLEASE,ITS A KIND REQUEST
This post has been edited by veronica 2707: 23 March 2009 - 12:12 AM

Start a new topic
Add Reply




MultiQuote


| 


