15,896,493 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by baliram bhande (Top 76 by date)
baliram bhande
26-Jul-14 4:13am
View
first u tried then ask specific question
baliram bhande
4-Jul-14 3:11am
View
check eclipse file or reinstall eclipse .
baliram bhande
19-May-14 3:05am
View
check the data base column name means classcheck is present or not
baliram bhande
13-May-14 3:04am
View
please paste your code what your tried for more clarification.and able to do help for other people
baliram bhande
13-May-14 2:48am
View
first you make logic and try some code if any difficulties then ask .remove your email id from the question.
baliram bhande
8-May-14 10:23am
View
any one have knows the ontology concepts in this forum
baliram bhande
8-May-14 2:11am
View
Please reply me as possible as i am in trouble
baliram bhande
6-May-14 7:26am
View
first you have tried if any question then ask particular problem
baliram bhande
30-Apr-14 10:31am
View
what you tried please paste your on the basis that we will help you.
baliram bhande
28-Apr-14 11:04am
View
explain what do? and put some code regarding what you have tried for that
baliram bhande
28-Apr-14 10:54am
View
please show your code
baliram bhande
23-Apr-14 11:34am
View
you can check each term according you have check above you are program you will get result.
baliram bhande
18-Apr-14 5:53am
View
please see your code
baliram bhande
18-Apr-14 5:53am
View
what you have tried?? please see your code
baliram bhande
18-Apr-14 3:32am
View
what u have tried??
baliram bhande
15-Apr-14 7:02am
View
if you agree my answer plz accept it...................
baliram bhande
14-Apr-14 3:15am
View
why u give me down vote .if i post multiple ans is it crime???????????????????????????
i ask those people who can give me down votated
baliram bhande
12-Apr-14 6:18am
View
k sir
baliram bhande
25-Mar-14 6:04am
View
Why down voted to me
baliram bhande
25-Mar-14 6:03am
View
accept my ans if help my answer to u
baliram bhande
23-Mar-14 6:10am
View
please show your code what you have tried
baliram bhande
23-Mar-14 5:53am
View
Please edit the post and be clear or ask be specific understand to other person
baliram bhande
22-Mar-14 7:33am
View
it is a float type of data
baliram bhande
19-Mar-14 4:35am
View
in that i want to add button in position row[5] =? how can i do that i am searchin on google but they can show example only hard code button in table please tell me is there any method .i am trying many method but they cant work in that situation
baliram bhande
19-Mar-14 4:31am
View
Deleted
public class View_Company {
// }
public static JFrame frame;
public static final String[] COLUMN_NAMES = { "Company Name", "Email Id",
"Contact Number", "Address", "No of Department",
"No of Employees " };
// the table model and the table:
private DefaultTableModel model = new DefaultTableModel(COLUMN_NAMES, 0);
private JTable table = new JTable(model);
public static JComboBox b, b1, b2;
private JPanel mainPanel = new JPanel(new BorderLayout());
private Random random = new Random();
public View_Company() {
;
JPanel buttonPanel = new JPanel();
JButton addDataButton = new JButton("Show Data");
buttonPanel.add(addDataButton);
addDataButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
try {
addDataActionPerformed();
} catch (SQLException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
}
});
table = new JTable(model) {
private static final long serialVersionUID = 1L;
public Component prepareRenderer(TableCellRenderer renderer,
int row, int column) {
Component c = super.prepareRenderer(renderer, row, column);
if (isRowSelected(row) && isColumnSelected(column)) {
((JComponent) c).setBorder(new LineBorder(Color.red));
}
return c;
}
};
mainPanel.add(new JScrollPane(table), BorderLayout.CENTER);
mainPanel.add(buttonPanel, BorderLayout.PAGE_START);
}
// This code is called when the button is pushed.
DBConnection connect = new DBConnection();
private void addDataActionPerformed() throws SQLException {
// for (int i = 0; i < 1; i++) {
// creates a row array
Object[] row = new Object[COLUMN_NAMES.length];
connect.getConnection();
PreparedStatement stmt = connect.conn.prepareStatement("select c.company_name,c.email_id,c.contact_no,c.address,count(distinct d.dept_id),count(distinct e.emp_id) from payroll.company_details c left join payroll.department d on c.company_id=d.company_id left join payroll.employee_master e on d.dept_id=e.dept_id group by (c.company_name)");
ResultSet res=stmt.executeQuery();
while(res.next())
{
for (int j = 0; j < row.length; j++) {
System.out.println(res.getString(1));
System.out.println(res.getString(2));
System.out.println(res.getString(3));
System.out.println(res.getString(4));
System.out.println(res.getString(5));
row[0] = res.getString(1);
row[1] = res.getString(2);
row[2] = res.getString(3);
row[3] = res.getString(4);
row[4] = res.getString(5);
row[5]=res.getString(6);
// row[5] = "me5";
// System.out.println(res.getString(6));
// System.out.println(res.getString(7));
table.setRowHeight(30);
}
model.addRow(row);
}
// then adds the row to the DefaultTableModel
// }
}
public JComponent getComponent() {
return mainPanel;
}
// start my app in a thread-safe way
public static void main(String[] args) {
java.awt.EventQueue.invokeLater(new Runnable() {
@Override
public void run() {
frame = new JFrame("DefaultTableModelDemo");
frame.getContentPane().add(new View_Company().getComponent());
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(1200, 650);
// frame.pack();
frame.setLocationRelativeTo(null);
frame.setVisible(true);
}
});
}
}
baliram bhande
5-Mar-14 1:58am
View
i can do that but problem is like it can gettext() of only one textField(means only first text field) but i want gettext value for each increasing text Field
baliram bhande
17-Feb-14 2:41am
View
first you clear what you ask or what you have problem
baliram bhande
12-Feb-14 9:53am
View
please show u r code
baliram bhande
11-Feb-14 15:06pm
View
i am using MySQL community in that they give direct facility to insert record directly or editing table data we can add more row and apply the changes that time they can show msg recored insert successfully
baliram bhande
7-Feb-14 2:53am
View
i want to skip some data that are present in lineToremove variable .my main theme is i want to remove some lines from the file and else part of the file can be write as same.in above cod line can be remove what i want but problem is that what else file can not write hole .there may be loss some pages.
baliram bhande
5-Feb-14 8:02am
View
thanks
baliram bhande
5-Feb-14 7:09am
View
is there any method in java to read pdf file line by line .
baliram bhande
5-Feb-14 4:57am
View
ya . i am checked that but problem is that page count is 852 and they can read actual 845 pages .that data can be saved in .csv file
baliram bhande
28-Jan-14 2:53am
View
can any one help me??
baliram bhande
17-Jan-14 2:39am
View
when u set value from the servlet at that time u can use response.setAttribute()
that value u can acess any jsp page by using request.getAttribute();
baliram bhande
16-Jan-14 9:20am
View
by using .getAttribute("value") we can get value from Servlet to any page
baliram bhande
12-Dec-13 6:48am
View
what u have tried?
baliram bhande
12-Dec-13 1:52am
View
what u tried ? first try you if any error or difficulties then ask
baliram bhande
11-Dec-13 7:57am
View
k thanks
baliram bhande
11-Dec-13 6:55am
View
my error is not like that what u said . my problem is mentioned above
. When i get the array out of bound exception i just want to stop further expansion of that pixel which is throwing this exception and let the other pixels continue the loop until they are out of bound. Once each pixel is out of bound i want to stop the execution.
baliram bhande
11-Dec-13 6:50am
View
sorry but u can down vote directly -32 points less .please remove down vote
baliram bhande
11-Dec-13 2:37am
View
what error they give?
baliram bhande
11-Dec-13 0:50am
View
i know very well how debug java program and finding error line no.but i want to handle that exception or want to When i get the array out of bound exception i just want to stop further expansion of that pixel which is throwing this exception and let the other pixels continue the loop until they are out of bound. Once each pixel is out of bound i want to stop the execution.
baliram bhande
11-Dec-13 0:50am
View
i know very well how debug java program and finding error line no.but i want to handle that exception or want to When i get the array out of bound exception i just want to stop further expansion of that pixel which is throwing this exception and let the other pixels continue the loop until they are out of bound. Once each pixel is out of bound i want to stop the execution.
baliram bhande
9-Dec-13 10:53am
View
When i get the array out of bound exception i just want to stop further expansion of that pixel which is throwing this exception and let the other pixels continue the loop until they are out of bound. Once each pixel is out of bound i want to stop the execution.
baliram bhande
7-Dec-13 3:52am
View
you can start coding part if any difficulty occur then ask particular question
baliram bhande
3-Dec-13 1:01am
View
i will agree with you but problem is that road color is same as other part of image (i.e house,building ,other obstacles)ex. road color is black and building color is black or any other small object is black color how we can delete other small object because of that we can extract only road part of that image
baliram bhande
2-Dec-13 10:51am
View
sorry i want say identical .mean if when compare two image in that we can check road is present or not mean road connected or not if connected then show
baliram bhande
2-Dec-13 10:48am
View
Deleted
http://docs.oracle.com/javaee/1.4/api/javax/jms/Session.html read this in detail
baliram bhande
2-Dec-13 3:45am
View
i will agree with you but problem is that road color is same as other part of image (i.e house,building ,other obstacles)ex. road color is black and building color is black or any other small object is black color how we can delete other small object because of that we can extract only road part of that image .
baliram bhande
2-Dec-13 3:28am
View
question is that i have given image in that i want to extract road from that image means we can remove all part from that image (Except road)
baliram bhande
2-Dec-13 3:23am
View
yes sir
baliram bhande
30-Nov-13 5:26am
View
please give me suggestion what i do ?
baliram bhande
28-Nov-13 8:44am
View
i have tried to getting pixel differentiate in image means i am getting white pixel and black pixel separate from the image .but my problem is that
my image is -http://puu.sh/5vLh8.png
in above image can be divide into three different cluster .i want to Extract only roads from that image .in above image when i getting only black pixel at that time road can be extract but other portion can be display. i want extract only roads like
-http://puu.sh/5vLso.jpg if u r wish to see code then no problem i will show my code or put in comment box thanks for asking
baliram bhande
25-Nov-13 2:08am
View
yes.i finding that how we can identify different cluster from image but i not getting .they not give any algorithm about that what i do please suggest me
baliram bhande
23-Nov-13 10:38am
View
ArrayList<integer> list = new ArrayList<integer>();
file = new Scanner(new File("test.txt"));
while(file.hasNext()){
if (file.hasNextInt()) list.add(file.nextInt());
else file.next();
}
Collections.sort(list);
for (Integer i: list) System.out.println(i);
you can try this code i hope u have useful
baliram bhande
21-Nov-13 10:02am
View
thanks
baliram bhande
21-Nov-13 1:20am
View
please suggest me how can i do that.or any open source api present in java.
baliram bhande
21-Nov-13 1:14am
View
i am asking general images .any image only thing is that road is present on that image. not specific to goggle
baliram bhande
20-Nov-13 9:46am
View
any open source API present in java.
baliram bhande
19-Nov-13 6:35am
View
you can create watermark on image
baliram bhande
16-Oct-13 1:47am
View
sorry sir............
baliram bhande
14-Oct-13 6:08am
View
thanks
baliram bhande
11-Oct-13 4:48am
View
i study java little bit but that error is not in java
baliram bhande
10-Oct-13 0:59am
View
yes i used that library
baliram bhande
9-Oct-13 11:37am
View
please solve the problem
baliram bhande
9-Oct-13 11:33am
View
k second time i am remember
baliram bhande
9-Oct-13 11:29am
View
that question is different look carefully different api i occurred two diierent problem in two different question
baliram bhande
9-Oct-13 10:00am
View
error is incresing
baliram bhande
9-Oct-13 9:20am
View
yet getting error
baliram bhande
9-Oct-13 8:55am
View
ya
baliram bhande
9-Oct-13 8:50am
View
in project means in ellipse path
baliram bhande
9-Oct-13 7:42am
View
thanks sir
baliram bhande
9-Oct-13 6:42am
View
i know that but i cant understand what he said please give me any example how can i extract string from image or single character from image or extracting digit from image
baliram bhande
7-Oct-13 9:13am
View
i am working on final year project please tell me which package or which jar i will include in that code .please tell me thanks in advance
baliram bhande
7-Oct-13 6:21am
View
which jar file u have included to solve "BASE64Encoder()"
Show More