M dist/build.xml

M dist/netbeans/build.xml
M dist/netbeans/nbproject/project.properties

- prepare for alpha 6 release

M webclient/src_moz/AjaxListener.cpp
M webclient/src_moz/AjaxListener.h
M webclient/src_moz/EmbedProgress.cpp
M webclient/src_moz/EmbedProgress.h

- the AjaxListener no longer keeps the jobject EventRegistrationImpl as
  an ivar.  Instead, it lazily uses an accessor on EmbedProgress

M webclient/test/manual/src/classes/org/mozilla/webclient/test/TestBrowser.java

- Take a url from commandline.


git-svn-id: svn://10.0.0.236/trunk@221608 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2007-03-09 14:17:04 +00:00
parent 7d3d6ee651
commit 38237424b7
8 changed files with 45 additions and 27 deletions

View File

@@ -114,7 +114,8 @@ public class TestBrowser extends JPanel {
Container contentPane = frame.getContentPane();
contentPane.setLayout(new GridLayout(1, 1));
contentPane.add(new TestBrowser());
TestBrowser testBrowser = null;
contentPane.add(testBrowser = new TestBrowser());
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
@@ -124,6 +125,9 @@ public class TestBrowser extends JPanel {
frame.pack();
frame.setVisible(true);
if (1 == args.length) {
testBrowser.loadURL(args[0]);
}
}
private void jbInit() throws Exception {
@@ -410,13 +414,7 @@ public class TestBrowser extends JPanel {
statusBar.lblStatus.setText(statusMessage);
}
/**
* Check the current input URL string in the address text field, load it,
* and update the status info and toolbar info.
*/
void loadURL() {
String inputValue = jAddressTextField.getText();
void loadURL(String inputValue) {
if (inputValue == null) {
JOptionPane.showMessageDialog(this, "The given URL is NULL:",
"Warning", JOptionPane.WARNING_MESSAGE);
@@ -466,6 +464,14 @@ public class TestBrowser extends JPanel {
}
}
}
/**
* Check the current input URL string in the address text field, load it,
* and update the status info and toolbar info.
*/
void loadURL() {
String inputValue = jAddressTextField.getText();
loadURL(inputValue);
}
void jGoButton_actionPerformed(ActionEvent e) {
loadURL();